diff --git a/.gitignore b/.gitignore index 593ad30ea..b6a32a3ce 100644 --- a/.gitignore +++ b/.gitignore @@ -330,4 +330,4 @@ ASALocalRun/ .mfractor/ # HexaGen generated files -imgui/**/Generated/**/* \ No newline at end of file +#imgui/**/Generated/**/* \ No newline at end of file diff --git a/imgui/Dalamud.ImGui/Generated/Constants/Constants.000.cs b/imgui/Dalamud.ImGui/Generated/Constants/Constants.000.cs new file mode 100644 index 000000000..41740859a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Constants/Constants.000.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + public const int IMGUI_USE_WCHAR32 = 1; + + public const int IMGUI_ENABLE_FREETYPE = 1; + + public const int IMGUI_HAS_DOCK = 1; + + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Delegates/Delegates.000.cs b/imgui/Dalamud.ImGui/Generated/Delegates/Delegates.000.cs new file mode 100644 index 000000000..39ef5dfc1 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Delegates/Delegates.000.cs @@ -0,0 +1,707 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void UserCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] ImDrawList* parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] ImDrawCmd* cmd); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void UserCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] nint parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] nint cmd); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate byte FontBuilderBuild([NativeName(NativeNameType.Param, "atlas")] [NativeName(NativeNameType.Type, "ImFontAtlas*")] ImFontAtlas* atlas); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate byte FontBuilderBuild([NativeName(NativeNameType.Param, "atlas")] [NativeName(NativeNameType.Type, "ImFontAtlas*")] nint atlas); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate byte* GetClipboardTextFn([NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate nint GetClipboardTextFn([NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void SetClipboardTextFn([NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData, [NativeName(NativeNameType.Param, "text")] [NativeName(NativeNameType.Type, "const char*")] byte* text); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void SetClipboardTextFn([NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData, [NativeName(NativeNameType.Param, "text")] [NativeName(NativeNameType.Type, "const char*")] nint text); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void SetPlatformImeDataFn([NativeName(NativeNameType.Param, "viewport")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* viewport, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiPlatformImeData*")] ImGuiPlatformImeData* data); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void SetPlatformImeDataFn([NativeName(NativeNameType.Param, "viewport")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint viewport, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiPlatformImeData*")] nint data); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformShowWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformShowWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowPos([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "pos")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 pos); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowPos([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "pos")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 pos); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate Vector2* PlatformGetWindowPos(Vector2* pos, ImGuiViewport* viewport); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate Vector2* PlatformGetWindowPos(Vector2* pos, ImGuiViewport* viewport); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate Vector2* PlatformGetWindowSize(Vector2* size, ImGuiViewport* viewport); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate Vector2* PlatformGetWindowSize(Vector2* size, ImGuiViewport* viewport); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate byte PlatformGetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate byte PlatformGetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate byte PlatformGetWindowMinimized([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate byte PlatformGetWindowMinimized([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowTitle([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "str")] [NativeName(NativeNameType.Type, "const char*")] byte* str); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowTitle([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "str")] [NativeName(NativeNameType.Type, "const char*")] nint str); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowAlpha([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "alpha")] [NativeName(NativeNameType.Type, "float")] float alpha); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSetWindowAlpha([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "alpha")] [NativeName(NativeNameType.Type, "float")] float alpha); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformUpdateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformUpdateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate float PlatformGetWindowDpiScale([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate float PlatformGetWindowDpiScale([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformOnChangedViewport([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void PlatformOnChangedViewport([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PlatformCreateVkSurface([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "vk_inst")] [NativeName(NativeNameType.Type, "ImU64")] ulong vkInst, [NativeName(NativeNameType.Param, "vk_allocators")] [NativeName(NativeNameType.Type, "const void*")] void* vkAllocators, [NativeName(NativeNameType.Param, "out_vk_surface")] [NativeName(NativeNameType.Type, "ImU64*")] ulong* outVkSurface); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int PlatformCreateVkSurface([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "vk_inst")] [NativeName(NativeNameType.Type, "ImU64")] ulong vkInst, [NativeName(NativeNameType.Param, "vk_allocators")] [NativeName(NativeNameType.Type, "const void*")] nint vkAllocators, [NativeName(NativeNameType.Param, "out_vk_surface")] [NativeName(NativeNameType.Type, "ImU64*")] nint outVkSurface); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void RendererSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void SizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] ImGuiSizeCallbackData* data); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void SizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] nint data); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ClearAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ClearAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ReadInitFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ReadInitFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* ReadOpenFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler, [NativeName(NativeNameType.Param, "name")] [NativeName(NativeNameType.Type, "const char*")] byte* name); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate nint ReadOpenFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler, [NativeName(NativeNameType.Param, "name")] [NativeName(NativeNameType.Type, "const char*")] nint name); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ReadLineFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler, [NativeName(NativeNameType.Param, "entry")] [NativeName(NativeNameType.Type, "void*")] void* entry, [NativeName(NativeNameType.Param, "line")] [NativeName(NativeNameType.Type, "const char*")] byte* line); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ReadLineFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler, [NativeName(NativeNameType.Param, "entry")] [NativeName(NativeNameType.Type, "void*")] nint entry, [NativeName(NativeNameType.Param, "line")] [NativeName(NativeNameType.Type, "const char*")] nint line); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ApplyAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ApplyAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void WriteAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler, [NativeName(NativeNameType.Param, "out_buf")] [NativeName(NativeNameType.Type, "ImGuiTextBuffer*")] ImGuiTextBuffer* outBuf); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void WriteAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler, [NativeName(NativeNameType.Param, "out_buf")] [NativeName(NativeNameType.Type, "ImGuiTextBuffer*")] nint outBuf); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void Callback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] ImGuiContextHook* hook); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void Callback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] nint hook); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImDrawCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] ImDrawList* parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] ImDrawCmd* cmd); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImDrawCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] nint parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] nint cmd); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiSizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] ImGuiSizeCallbackData* data); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiSizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] nint data); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiContextHookCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] ImGuiContextHook* hook); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiContextHookCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] nint hook); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int ImGuiInputTextCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiInputTextCallbackData*")] ImGuiInputTextCallbackData* data); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int ImGuiInputTextCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiInputTextCallbackData*")] nint data); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate nint ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiMemFreeFunc([NativeName(NativeNameType.Param, "ptr")] [NativeName(NativeNameType.Type, "void*")] void* ptr, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiMemFreeFunc([NativeName(NativeNameType.Param, "ptr")] [NativeName(NativeNameType.Type, "void*")] nint ptr, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiErrorLogCallback([NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData, [NativeName(NativeNameType.Param, "fmt")] [NativeName(NativeNameType.Type, "const char*")] byte* fmt); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImGuiErrorLogCallback([NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData, [NativeName(NativeNameType.Param, "fmt")] [NativeName(NativeNameType.Type, "const char*")] nint fmt); + + #endif + +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImDrawFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImDrawFlags.cs new file mode 100644 index 000000000..a6b366b73 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImDrawFlags.cs @@ -0,0 +1,92 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImDrawFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)
+ ///
+ Closed = unchecked(1), + + /// + /// AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01.
+ ///
+ RoundCornersTopLeft = unchecked(16), + + /// + /// AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02.
+ ///
+ RoundCornersTopRight = unchecked(32), + + /// + /// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04.
+ ///
+ RoundCornersBottomLeft = unchecked(64), + + /// + /// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08.
+ ///
+ RoundCornersBottomRight = unchecked(128), + + /// + /// AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!
+ ///
+ RoundCornersNone = unchecked(256), + + /// + /// To be documented. + /// + RoundCornersTop = unchecked(48), + + /// + /// To be documented. + /// + RoundCornersBottom = unchecked(192), + + /// + /// To be documented. + /// + RoundCornersLeft = unchecked(80), + + /// + /// To be documented. + /// + RoundCornersRight = unchecked(160), + + /// + /// To be documented. + /// + RoundCornersAll = unchecked(240), + + /// + /// Default to ALL corners if none of the _RoundCornersXX flags are specified.
+ ///
+ RoundCornersDefault = RoundCornersAll, + + /// + /// To be documented. + /// + RoundCornersMask = unchecked(496), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImDrawListFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImDrawListFlags.cs new file mode 100644 index 000000000..49d64f184 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImDrawListFlags.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImDrawListFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Enable anti-aliased linesborders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles)
+ ///
+ AntiAliasedLines = unchecked(1), + + /// + /// Enable anti-aliased linesborders using textures when possible. Require backend to render with bilinear filtering (NOT pointnearest filtering).
+ ///
+ AntiAliasedLinesUseTex = unchecked(2), + + /// + /// Enable anti-aliased edge around filled shapes (rounded rectangles, circles).
+ ///
+ AntiAliasedFill = unchecked(4), + + /// + /// Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
+ ///
+ AllowVtxOffset = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImFontAtlasFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImFontAtlasFlags.cs new file mode 100644 index 000000000..252ec720d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImFontAtlasFlags.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImFontAtlasFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Don't round the height to next power of two
+ ///
+ NoPowerOfTwoHeight = unchecked(1), + + /// + /// Don't build software mouse cursors into the atlas (save a little texture memory)
+ ///
+ NoMouseCursors = unchecked(2), + + /// + /// Don't build thick line textures into the atlas (save a little texture memory, allow support for pointnearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPUGPU).
+ ///
+ NoBakedLines = unchecked(4), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiActivateFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiActivateFlags.cs new file mode 100644 index 000000000..378443321 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiActivateFlags.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiActivateFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Favor activation that requires keyboard text input (e.g. for SliderDrag). Default for Enter key.
+ ///
+ PreferInput = unchecked(1), + + /// + /// Favor activation for tweaking with arrows or gamepad (e.g. for SliderDrag). Default for Space key and if keyboard is not used.
+ ///
+ PreferTweak = unchecked(2), + + /// + /// Request widget to preserve state if it can (e.g. InputText will try to preserve cursorselection)
+ ///
+ TryToPreserveState = unchecked(4), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiAxis.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiAxis.cs new file mode 100644 index 000000000..445564e38 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiAxis.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiAxis : int + { + /// + /// To be documented. + /// + None = unchecked(-1), + + /// + /// To be documented. + /// + X = unchecked(0), + + /// + /// To be documented. + /// + Y = unchecked(1), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiBackendFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiBackendFlags.cs new file mode 100644 index 000000000..e6a66945e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiBackendFlags.cs @@ -0,0 +1,62 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiBackendFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Backend Platform supports gamepad and currently has one connected.
+ ///
+ HasGamepad = unchecked(1), + + /// + /// Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape.
+ ///
+ HasMouseCursors = unchecked(2), + + /// + /// Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if io.ConfigNavMoveSetMousePos is set).
+ ///
+ HasSetMousePos = unchecked(4), + + /// + /// Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices.
+ ///
+ RendererHasVtxOffset = unchecked(8), + + /// + /// Backend Platform supports multiple viewports.
+ ///
+ PlatformHasViewports = unchecked(1024), + + /// + /// Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under.
+ ///
+ HasMouseHoveredViewport = unchecked(2048), + + /// + /// Backend Renderer supports multiple viewports.
+ ///
+ RendererHasViewports = unchecked(4096), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiButtonFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiButtonFlags.cs new file mode 100644 index 000000000..74a2a0572 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiButtonFlags.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiButtonFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// React on left mouse button (default)
+ ///
+ MouseButtonLeft = unchecked(1), + + /// + /// React on right mouse button
+ ///
+ MouseButtonRight = unchecked(2), + + /// + /// React on center mouse button
+ ///
+ MouseButtonMiddle = unchecked(4), + + /// + /// [Internal]
+ ///
+ MouseButtonMask = unchecked(7), + + /// + /// To be documented. + /// + MouseButtonDefault = MouseButtonLeft, + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs new file mode 100644 index 000000000..3c0ee2934 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs @@ -0,0 +1,107 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiButtonFlagsPrivate : int + { + /// + /// return true on click (mouse down event)
+ ///
+ PressedOnClick = unchecked(16), + + /// + /// [Default] return true on click + release on same item <-- this is what the majority of Button are using
+ ///
+ PressedOnClickRelease = unchecked(32), + + /// + /// return true on click + release even if the release event is not done while hovering the item
+ ///
+ PressedOnClickReleaseAnywhere = unchecked(64), + + /// + /// return true on release (default requires click+release)
+ ///
+ PressedOnRelease = unchecked(128), + + /// + /// return true on double-click (default requires click+release)
+ ///
+ PressedOnDoubleClick = unchecked(256), + + /// + /// return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)
+ ///
+ PressedOnDragDropHold = unchecked(512), + + /// + /// To be documented. + /// + Repeat = unchecked(1024), + + /// + /// allow interactions even if a child window is overlapping
+ ///
+ FlattenChildren = unchecked(2048), + + /// + /// To be documented. + /// + AllowItemOverlap = unchecked(4096), + + /// + /// To be documented. + /// + DontClosePopups = unchecked(8192), + + /// + /// vertically align button to match text baseline - ButtonEx() only FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine
+ ///
+ AlignTextBaseLine = unchecked(32768), + + /// + /// To be documented. + /// + NoKeyModifiers = unchecked(65536), + + /// + /// don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)
+ ///
+ NoHoldingActiveId = unchecked(131072), + + /// + /// don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.ItemFlags)
+ ///
+ NoNavFocus = unchecked(262144), + + /// + /// don't report as hovered when nav focus is on this item
+ ///
+ NoHoveredOnFocus = unchecked(524288), + + /// + /// To be documented. + /// + PressedOnMask = unchecked(1008), + + /// + /// To be documented. + /// + PressedOnDefault = PressedOnClickRelease, + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiCol.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiCol.cs new file mode 100644 index 000000000..79b66bd31 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiCol.cs @@ -0,0 +1,302 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiCol : int + { + /// + /// To be documented. + /// + Text = unchecked(0), + + /// + /// To be documented. + /// + TextDisabled = unchecked(1), + + /// + /// Background of normal windows
+ ///
+ WindowBg = unchecked(2), + + /// + /// Background of child windows
+ ///
+ ChildBg = unchecked(3), + + /// + /// Background of popups, menus, tooltips windows
+ ///
+ PopupBg = unchecked(4), + + /// + /// To be documented. + /// + Border = unchecked(5), + + /// + /// To be documented. + /// + BorderShadow = unchecked(6), + + /// + /// Background of checkbox, radio button, plot, slider, text input
+ ///
+ FrameBg = unchecked(7), + + /// + /// To be documented. + /// + FrameBgHovered = unchecked(8), + + /// + /// To be documented. + /// + FrameBgActive = unchecked(9), + + /// + /// Title bar
+ ///
+ TitleBg = unchecked(10), + + /// + /// Title bar when focused
+ ///
+ TitleBgActive = unchecked(11), + + /// + /// Title bar when collapsed
+ ///
+ TitleBgCollapsed = unchecked(12), + + /// + /// To be documented. + /// + MenuBarBg = unchecked(13), + + /// + /// To be documented. + /// + ScrollbarBg = unchecked(14), + + /// + /// To be documented. + /// + ScrollbarGrab = unchecked(15), + + /// + /// To be documented. + /// + ScrollbarGrabHovered = unchecked(16), + + /// + /// To be documented. + /// + ScrollbarGrabActive = unchecked(17), + + /// + /// Checkbox tick and RadioButton circle
+ ///
+ CheckMark = unchecked(18), + + /// + /// To be documented. + /// + SliderGrab = unchecked(19), + + /// + /// To be documented. + /// + SliderGrabActive = unchecked(20), + + /// + /// To be documented. + /// + Button = unchecked(21), + + /// + /// To be documented. + /// + ButtonHovered = unchecked(22), + + /// + /// To be documented. + /// + ButtonActive = unchecked(23), + + /// + /// Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem
+ ///
+ Header = unchecked(24), + + /// + /// To be documented. + /// + HeaderHovered = unchecked(25), + + /// + /// To be documented. + /// + HeaderActive = unchecked(26), + + /// + /// To be documented. + /// + Separator = unchecked(27), + + /// + /// To be documented. + /// + SeparatorHovered = unchecked(28), + + /// + /// To be documented. + /// + SeparatorActive = unchecked(29), + + /// + /// Resize grip in lower-right and lower-left corners of windows.
+ ///
+ ResizeGrip = unchecked(30), + + /// + /// To be documented. + /// + ResizeGripHovered = unchecked(31), + + /// + /// To be documented. + /// + ResizeGripActive = unchecked(32), + + /// + /// Tab background, when tab-bar is focused & tab is unselected
+ ///
+ Tab = unchecked(33), + + /// + /// Tab background, when hovered
+ ///
+ TabHovered = unchecked(34), + + /// + /// To be documented. + /// + TabActive = unchecked(35), + + /// + /// To be documented. + /// + TabUnfocused = unchecked(36), + + /// + /// To be documented. + /// + TabUnfocusedActive = unchecked(37), + + /// + /// Preview overlay color when about to docking something
+ ///
+ DockingPreview = unchecked(38), + + /// + /// Background color for empty node (e.g. CentralNode with no window docked into it)
+ ///
+ DockingEmptyBg = unchecked(39), + + /// + /// To be documented. + /// + PlotLines = unchecked(40), + + /// + /// To be documented. + /// + PlotLinesHovered = unchecked(41), + + /// + /// To be documented. + /// + PlotHistogram = unchecked(42), + + /// + /// To be documented. + /// + PlotHistogramHovered = unchecked(43), + + /// + /// Table header background
+ ///
+ TableHeaderBg = unchecked(44), + + /// + /// Table outer and header borders (prefer using Alpha=1.0 here)
+ ///
+ TableBorderStrong = unchecked(45), + + /// + /// Table inner borders (prefer using Alpha=1.0 here)
+ ///
+ TableBorderLight = unchecked(46), + + /// + /// Table row background (even rows)
+ ///
+ TableRowBg = unchecked(47), + + /// + /// Table row background (odd rows)
+ ///
+ TableRowBgAlt = unchecked(48), + + /// + /// To be documented. + /// + TextSelectedBg = unchecked(49), + + /// + /// Rectangle highlighting a drop target
+ ///
+ DragDropTarget = unchecked(50), + + /// + /// To be documented. + /// + NavHighlight = unchecked(51), + + /// + /// Highlight window when using CTRL+TAB
+ ///
+ NavWindowingHighlight = unchecked(52), + + /// + /// Darkencolorize entire screen behind the CTRL+TAB window list, when active
+ ///
+ NavWindowingDimBg = unchecked(53), + + /// + /// Darkencolorize entire screen behind a modal window, when one is active
+ ///
+ ModalWindowDimBg = unchecked(54), + + /// + /// To be documented. + /// + Count = unchecked(55), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiColorEditFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiColorEditFlags.cs new file mode 100644 index 000000000..1ba39dae6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiColorEditFlags.cs @@ -0,0 +1,172 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiColorEditFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).
+ ///
+ NoAlpha = unchecked(2), + + /// + /// ColorEdit: disable picker when clicking on color square.
+ ///
+ NoPicker = unchecked(4), + + /// + /// ColorEdit: disable toggling options menu when right-clicking on inputssmall preview.
+ ///
+ NoOptions = unchecked(8), + + /// + /// ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs)
+ ///
+ NoSmallPreview = unchecked(16), + + /// + /// ColorEdit, ColorPicker: disable inputs sliderstext widgets (e.g. to show only the small preview color square).
+ ///
+ NoInputs = unchecked(32), + + /// + /// ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.
+ ///
+ NoTooltip = unchecked(64), + + /// + /// ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).
+ ///
+ NoLabel = unchecked(128), + + /// + /// ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead.
+ ///
+ NoSidePreview = unchecked(256), + + /// + /// ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.
+ ///
+ NoDragDrop = unchecked(512), + + /// + /// ColorButton: disable border (which is enforced by default)
+ ///
+ NoBorder = unchecked(1024), + + /// + /// ColorEdit, ColorPicker: show vertical alpha bargradient in picker.
+ ///
+ AlphaBar = unchecked(65536), + + /// + /// To be documented. + /// + AlphaPreview = unchecked(131072), + + /// + /// ColorEdit, ColorPicker, ColorButton: display half opaque half transparent preview.
+ ///
+ AlphaPreviewHalf = unchecked(262144), + + /// + /// (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).
+ ///
+ Hdr = unchecked(524288), + + /// + /// [Display] ColorEdit: override _display_ type among RGBHSVHex. ColorPicker: select any combination using one or more of RGBHSVHex.
+ ///
+ DisplayRgb = unchecked(1048576), + + /// + /// [Display] "
+ ///
+ DisplayHsv = unchecked(2097152), + + /// + /// [Display] "
+ ///
+ DisplayHex = unchecked(4194304), + + /// + /// [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.
+ ///
+ Uint8 = unchecked(8388608), + + /// + /// [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.
+ ///
+ Float = unchecked(16777216), + + /// + /// [Picker] ColorPicker: bar for Hue, rectangle for SatValue.
+ ///
+ PickerHueBar = unchecked(33554432), + + /// + /// [Picker] ColorPicker: wheel for Hue, triangle for SatValue.
+ ///
+ PickerHueWheel = unchecked(67108864), + + /// + /// [Input] ColorEdit, ColorPicker: input and output data in RGB format.
+ ///
+ InputRgb = unchecked(134217728), + + /// + /// [Input] ColorEdit, ColorPicker: input and output data in HSV format.
+ ///
+ InputHsv = unchecked(268435456), + + /// + /// To be documented. + /// + OptionsDefault = unchecked(177209344), + + /// + /// To be documented. + /// + DefaultOptions = unchecked(177209344), + + /// + /// To be documented. + /// + DisplayMask = unchecked(7340032), + + /// + /// To be documented. + /// + DataTypeMask = unchecked(25165824), + + /// + /// To be documented. + /// + PickerMask = unchecked(100663296), + + /// + /// To be documented. + /// + InputMask = unchecked(402653184), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiComboFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiComboFlags.cs new file mode 100644 index 000000000..4258c3edc --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiComboFlags.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiComboFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Align the popup toward the left by default
+ ///
+ PopupAlignLeft = unchecked(1), + + /// + /// Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()
+ ///
+ HeightSmall = unchecked(2), + + /// + /// Max ~8 items visible (default)
+ ///
+ HeightRegular = unchecked(4), + + /// + /// Max ~20 items visible
+ ///
+ HeightLarge = unchecked(8), + + /// + /// As many fitting items as possible
+ ///
+ HeightLargest = unchecked(16), + + /// + /// Display on the preview box without the square arrow button
+ ///
+ NoArrowButton = unchecked(32), + + /// + /// Display only a square arrow button
+ ///
+ NoPreview = unchecked(64), + + /// + /// To be documented. + /// + HeightMask = unchecked(30), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs new file mode 100644 index 000000000..1bcab62c7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiComboFlagsPrivate : int + { + /// + /// enable BeginComboPreview()
+ ///
+ CustomPreview = unchecked(1048576), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiCond.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiCond.cs new file mode 100644 index 000000000..ed29c3add --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiCond.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiCond : int + { + /// + /// No condition (always set the variable), same as _Always
+ ///
+ None = unchecked(0), + + /// + /// No condition (always set the variable), same as _None
+ ///
+ Always = unchecked(1), + + /// + /// Set the variable once per runtime session (only the first call will succeed)
+ ///
+ Once = unchecked(2), + + /// + /// Set the variable if the objectwindow has no persistently saved data (no entry in .ini file)
+ ///
+ FirstUseEver = unchecked(4), + + /// + /// Set the variable if the objectwindow is appearing after being hiddeninactive (or the first time)
+ ///
+ Appearing = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiConfigFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiConfigFlags.cs new file mode 100644 index 000000000..e434c8110 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiConfigFlags.cs @@ -0,0 +1,92 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiConfigFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + spaceenter to activate.
+ ///
+ NavEnableKeyboard = unchecked(1), + + /// + /// Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad.
+ ///
+ NavEnableGamepad = unchecked(2), + + /// + /// To be documented. + /// + NavEnableSetMousePos = unchecked(4), + + /// + /// To be documented. + /// + NavNoCaptureKeyboard = unchecked(8), + + /// + /// Instruct dear imgui to disable mouse inputs and interactions.
+ ///
+ NoMouse = unchecked(16), + + /// + /// Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead.
+ ///
+ NoMouseCursorChange = unchecked(32), + + /// + /// To be documented. + /// + NoKerning = unchecked(128), + + /// + /// Docking enable flags.
+ ///
+ DockingEnable = unchecked(64), + + /// + /// Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends)
+ ///
+ ViewportsEnable = unchecked(1024), + + /// + /// [BETA: Don't use] FIXME-DPI: Reposition and resize imgui windows when the DpiScale of a viewport changed (mostly useful for the main viewport hosting other window). Note that resizing the main window itself is up to your application.
+ ///
+ DpiEnableScaleViewports = unchecked(16384), + + /// + /// [BETA: Don't use] FIXME-DPI: Request bitmap-scaled fonts to match DpiScale. This is a very low-quality workaround. The correct way to handle DPI is _currently_ to replace the atlas andor fonts in the Platform_OnChangedViewport callback, but this is all early work in progress.
+ ///
+ DpiEnableScaleFonts = unchecked(32768), + + /// + /// Application is SRGB-aware.
+ ///
+ IsSrgb = unchecked(1048576), + + /// + /// Application is using a touch screen instead of a mouse.
+ ///
+ IsTouchScreen = unchecked(2097152), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiContextHookType.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiContextHookType.cs new file mode 100644 index 000000000..0ca5d3e79 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiContextHookType.cs @@ -0,0 +1,62 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiContextHookType : int + { + /// + /// To be documented. + /// + NewFramePre = unchecked(0), + + /// + /// To be documented. + /// + NewFramePost = unchecked(1), + + /// + /// To be documented. + /// + EndFramePre = unchecked(2), + + /// + /// To be documented. + /// + EndFramePost = unchecked(3), + + /// + /// To be documented. + /// + RenderPre = unchecked(4), + + /// + /// To be documented. + /// + RenderPost = unchecked(5), + + /// + /// To be documented. + /// + Shutdown = unchecked(6), + + /// + /// To be documented. + /// + PendingRemoval = unchecked(7), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataAuthority.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataAuthority.cs new file mode 100644 index 000000000..fb09b1d8a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataAuthority.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDataAuthority : int + { + /// + /// To be documented. + /// + Auto = unchecked(0), + + /// + /// To be documented. + /// + DockNode = unchecked(1), + + /// + /// To be documented. + /// + Window = unchecked(2), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataType.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataType.cs new file mode 100644 index 000000000..03d17a208 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataType.cs @@ -0,0 +1,77 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDataType : int + { + /// + /// signed char char (with sensible compilers)
+ ///
+ S8 = unchecked(0), + + /// + /// unsigned char
+ ///
+ U8 = unchecked(1), + + /// + /// short
+ ///
+ S16 = unchecked(2), + + /// + /// unsigned short
+ ///
+ U16 = unchecked(3), + + /// + /// int
+ ///
+ S32 = unchecked(4), + + /// + /// unsigned int
+ ///
+ U32 = unchecked(5), + + /// + /// long long __int64
+ ///
+ S64 = unchecked(6), + + /// + /// unsigned long long unsigned __int64
+ ///
+ U64 = unchecked(7), + + /// + /// float
+ ///
+ Float = unchecked(8), + + /// + /// double
+ ///
+ Double = unchecked(9), + + /// + /// To be documented. + /// + Count = unchecked(10), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataTypePrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataTypePrivate.cs new file mode 100644 index 000000000..4b129b69d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDataTypePrivate.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDataTypePrivate : int + { + /// + /// To be documented. + /// + String = unchecked(11), + + /// + /// To be documented. + /// + Pointer = unchecked(12), + + /// + /// To be documented. + /// + Id = unchecked(13), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs new file mode 100644 index 000000000..ba19e8eec --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDebugLogFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + EventActiveId = unchecked(1), + + /// + /// To be documented. + /// + EventFocus = unchecked(2), + + /// + /// To be documented. + /// + EventPopup = unchecked(4), + + /// + /// To be documented. + /// + EventNav = unchecked(8), + + /// + /// To be documented. + /// + EventIo = unchecked(16), + + /// + /// To be documented. + /// + EventDocking = unchecked(32), + + /// + /// To be documented. + /// + EventViewport = unchecked(64), + + /// + /// To be documented. + /// + EventMask = unchecked(127), + + /// + /// Also send output to TTY
+ ///
+ OutputToTty = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDir.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDir.cs new file mode 100644 index 000000000..2a6bde5d0 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDir.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDir : int + { + /// + /// To be documented. + /// + None = unchecked(-1), + + /// + /// To be documented. + /// + Left = unchecked(0), + + /// + /// To be documented. + /// + Right = unchecked(1), + + /// + /// To be documented. + /// + Up = unchecked(2), + + /// + /// To be documented. + /// + Down = unchecked(3), + + /// + /// To be documented. + /// + Count = unchecked(4), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs new file mode 100644 index 000000000..1d60a2ead --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDockNodeFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked.
+ ///
+ KeepAliveOnly = unchecked(1), + + /// + /// To be documented. + /// + NoDockingInCentralNode = unchecked(4), + + /// + /// Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details.
+ ///
+ PassthruCentralNode = unchecked(8), + + /// + /// To be documented. + /// + NoSplit = unchecked(16), + + /// + /// Saved Disable resizing node using the splitterseparators. Useful with programmatically setup dockspaces.
+ ///
+ NoResize = unchecked(32), + + /// + /// Tab bar will automatically hide when there is a single window in the dock node.
+ ///
+ AutoHideTabBar = unchecked(64), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs new file mode 100644 index 000000000..7dcbdc631 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs @@ -0,0 +1,115 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDockNodeFlagsPrivate : int + { + /// + /// Saved A dockspace is a node that occupy space within an existing user window. Otherwise the node is floating and create its own window.
+ ///
+ Space = unchecked(1024), + + /// + /// Saved The central node has 2 main properties: stay visible when empty, only use "remaining" spaces from its neighbor.
+ ///
+ CentralNode = unchecked(2048), + + /// + /// Saved Tab bar is completely unavailable. No triangle in the corner to enable it back.
+ ///
+ NoTabBar = unchecked(4096), + + /// + /// Saved Tab bar is hidden, with a triangle in the corner to show it again (NB: actual tab-bar instance may be destroyed as this is only used for single-window tab bar)
+ ///
+ HiddenTabBar = unchecked(8192), + + /// + /// Saved Disable windowdocking menu (that one that appears instead of the collapse button)
+ ///
+ NoWindowMenuButton = unchecked(16384), + + /// + /// Saved Disable close button
+ ///
+ NoCloseButton = unchecked(32768), + + /// + /// To be documented. + /// + NoDocking = unchecked(65536), + + /// + /// To be documented. + /// + NoDockingSplitMe = unchecked(131072), + + /// + /// Disable this node from splitting other windowsnodes.
+ ///
+ NoDockingSplitOther = unchecked(262144), + + /// + /// Disable other windowsnodes from being docked over this node.
+ ///
+ NoDockingOverMe = unchecked(524288), + + /// + /// Disable this node from being docked over another window or non-empty node.
+ ///
+ NoDockingOverOther = unchecked(1048576), + + /// + /// Disable this node from being docked over an empty node (e.g. DockSpace with no other windows)
+ ///
+ NoDockingOverEmpty = unchecked(2097152), + + /// + /// + NoResizeX = unchecked(4194304), + + /// + /// + NoResizeY = unchecked(8388608), + + /// + /// To be documented. + /// + SharedFlagsInheritMask = unchecked(-1), + + /// + /// To be documented. + /// + NoResizeFlagsMask = unchecked(12582944), + + /// + /// To be documented. + /// + LocalFlagsMask = unchecked(12713072), + + /// + /// To be documented. + /// + LocalFlagsTransferMask = unchecked(12712048), + + /// + /// To be documented. + /// + SavedFlagsMask = unchecked(12712992), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeState.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeState.cs new file mode 100644 index 000000000..dddb81bcc --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDockNodeState.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDockNodeState : int + { + /// + /// To be documented. + /// + Unknown = unchecked(0), + + /// + /// To be documented. + /// + HostWindowHiddenBecauseSingleWindow = unchecked(1), + + /// + /// To be documented. + /// + HostWindowHiddenBecauseWindowsAreResizing = unchecked(2), + + /// + /// To be documented. + /// + HostWindowVisible = unchecked(3), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDragDropFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDragDropFlags.cs new file mode 100644 index 000000000..a821138f2 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiDragDropFlags.cs @@ -0,0 +1,77 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiDragDropFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior.
+ ///
+ SourceNoPreviewTooltip = unchecked(1), + + /// + /// By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item.
+ ///
+ SourceNoDisableHover = unchecked(2), + + /// + /// Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.
+ ///
+ SourceNoHoldToOpenOthers = unchecked(4), + + /// + /// Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit.
+ ///
+ SourceAllowNullId = unchecked(8), + + /// + /// External source (from outside of dear imgui), won't attempt to read current itemwindow info. Will always return true. Only one Extern source can be active simultaneously.
+ ///
+ SourceExtern = unchecked(16), + + /// + /// To be documented. + /// + SourceAutoExpirePayload = unchecked(32), + + /// + /// AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered.
+ ///
+ AcceptBeforeDelivery = unchecked(1024), + + /// + /// Do not draw the default highlight rectangle when hovering over target.
+ ///
+ AcceptNoDrawDefaultRect = unchecked(2048), + + /// + /// Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.
+ ///
+ AcceptNoPreviewTooltip = unchecked(4096), + + /// + /// For peeking ahead and inspecting the payload before delivery.
+ ///
+ AcceptPeekOnly = unchecked(3072), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiFocusedFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiFocusedFlags.cs new file mode 100644 index 000000000..44d539283 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiFocusedFlags.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiFocusedFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Return true if any children of the window is focused
+ ///
+ ChildWindows = unchecked(1), + + /// + /// Test from root window (top most parent of the current hierarchy)
+ ///
+ RootWindow = unchecked(2), + + /// + /// Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ!
+ ///
+ AnyWindow = unchecked(4), + + /// + /// Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
+ ///
+ NoPopupHierarchy = unchecked(8), + + /// + /// Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
+ ///
+ DockHierarchy = unchecked(16), + + /// + /// To be documented. + /// + RootAndChildWindows = unchecked(3), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiHoveredFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiHoveredFlags.cs new file mode 100644 index 000000000..abc6407d6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiHoveredFlags.cs @@ -0,0 +1,87 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiHoveredFlags : int + { + /// + /// Return true if directly over the itemwindow, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.
+ ///
+ None = unchecked(0), + + /// + /// IsWindowHovered() only: Return true if any children of the window is hovered
+ ///
+ ChildWindows = unchecked(1), + + /// + /// IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
+ ///
+ RootWindow = unchecked(2), + + /// + /// IsWindowHovered() only: Return true if any window is hovered
+ ///
+ AnyWindow = unchecked(4), + + /// + /// Return true even if a popup window is normally blocking access to this itemwindow
+ ///
+ AllowWhenBlockedByPopup = unchecked(8), + + /// + /// Return true even if an active item is blocking access to this itemwindow. Useful for Drag and Drop patterns.
+ ///
+ AllowWhenBlockedByActiveItem = unchecked(32), + + /// + /// To be documented. + /// + AllowWhenOverlapped = unchecked(64), + + /// + /// IsItemHovered() only: Return true even if the item is disabled
+ ///
+ AllowWhenDisabled = unchecked(128), + + /// + /// IsItemHovered() only: Disable using keyboardgamepad navigation state when active, always query mouse
+ ///
+ NoNavOverride = unchecked(256), + + /// + /// To be documented. + /// + RectOnly = unchecked(104), + + /// + /// To be documented. + /// + RootAndChildWindows = unchecked(3), + + /// + /// IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
+ ///
+ NoPopupHierarchy = unchecked(512), + + /// + /// IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
+ ///
+ DockHierarchy = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputEventType.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputEventType.cs new file mode 100644 index 000000000..9bd6f16b4 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputEventType.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiInputEventType : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + MousePos = unchecked(1), + + /// + /// To be documented. + /// + MouseWheel = unchecked(2), + + /// + /// To be documented. + /// + MouseButton = unchecked(3), + + /// + /// To be documented. + /// + MouseViewport = unchecked(4), + + /// + /// To be documented. + /// + Key = unchecked(5), + + /// + /// To be documented. + /// + Text = unchecked(6), + + /// + /// To be documented. + /// + Focus = unchecked(7), + + /// + /// To be documented. + /// + Count = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputSource.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputSource.cs new file mode 100644 index 000000000..0ce2f5a63 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputSource.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiInputSource : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.
+ ///
+ Mouse = unchecked(1), + + /// + /// To be documented. + /// + Keyboard = unchecked(2), + + /// + /// To be documented. + /// + Gamepad = unchecked(3), + + /// + /// To be documented. + /// + Clipboard = unchecked(4), + + /// + /// To be documented. + /// + Nav = unchecked(5), + + /// + /// To be documented. + /// + Count = unchecked(6), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputTextFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputTextFlags.cs new file mode 100644 index 000000000..bf8578e82 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputTextFlags.cs @@ -0,0 +1,127 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiInputTextFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Allow 0123456789.+-*
+ ///
+ CharsDecimal = unchecked(1), + + /// + /// Allow 0123456789ABCDEFabcdef
+ ///
+ CharsHexadecimal = unchecked(2), + + /// + /// Turn a..z into A..Z
+ ///
+ CharsUppercase = unchecked(4), + + /// + /// Filter out spaces, tabs
+ ///
+ CharsNoBlank = unchecked(8), + + /// + /// Select entire text when first taking mouse focus
+ ///
+ AutoSelectAll = unchecked(16), + + /// + /// Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using IsItemDeactivatedAfterEdit() instead!
+ ///
+ EnterReturnsTrue = unchecked(32), + + /// + /// Callback on pressing TAB (for completion handling)
+ ///
+ CallbackCompletion = unchecked(64), + + /// + /// Callback on pressing UpDown arrows (for history handling)
+ ///
+ CallbackHistory = unchecked(128), + + /// + /// Callback on each iteration. User code may query cursor position, modify text buffer.
+ ///
+ CallbackAlways = unchecked(256), + + /// + /// Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.
+ ///
+ CallbackCharFilter = unchecked(512), + + /// + /// Pressing TAB input a '\t' character into the text field
+ ///
+ AllowTabInput = unchecked(1024), + + /// + /// In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter).
+ ///
+ CtrlEnterForNewLine = unchecked(2048), + + /// + /// Disable following the cursor horizontally
+ ///
+ NoHorizontalScroll = unchecked(4096), + + /// + /// Overwrite mode
+ ///
+ AlwaysOverwrite = unchecked(8192), + + /// + /// Read-only mode
+ ///
+ ReadOnly = unchecked(16384), + + /// + /// Password mode, display all characters as '*', disable copy
+ ///
+ Password = unchecked(32768), + + /// + /// Disable undoredo. Note that input text owns the text data while active, if you want to provide your own undoredo stack you need e.g. to call ClearActiveID().
+ ///
+ NoUndoRedo = unchecked(65536), + + /// + /// Allow 0123456789.+-*eE (Scientific notation input)
+ ///
+ CharsScientific = unchecked(131072), + + /// + /// Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misccppimgui_stdlib.h for an example of using this)
+ ///
+ CallbackResize = unchecked(262144), + + /// + /// Callback on any edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.
+ ///
+ CallbackEdit = unchecked(524288), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs new file mode 100644 index 000000000..d4f6045fe --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiInputTextFlagsPrivate : int + { + /// + /// For internal use by InputTextMultiline()
+ ///
+ Multiline = unchecked(67108864), + + /// + /// To be documented. + /// + NoMarkEdited = unchecked(134217728), + + /// + /// For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.
+ ///
+ MergedItem = unchecked(268435456), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiItemFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiItemFlags.cs new file mode 100644 index 000000000..6cf35a414 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiItemFlags.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiItemFlags : int + { + /// + /// (Default)
+ ///
+ None = unchecked(0), + + /// + /// false Disable keyboard tabbing. This is a "lighter" version of ImGuiItemFlags_NoNav.
+ ///
+ NoTabStop = unchecked(1), + + /// + /// false Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is being held.
+ ///
+ ButtonRepeat = unchecked(2), + + /// + /// To be documented. + /// + Disabled = unchecked(4), + + /// + /// false Disable any form of focusing (keyboardgamepad directional navigation and SetKeyboardFocusHere() calls).
+ ///
+ NoNav = unchecked(8), + + /// + /// false Disable item being a candidate for default focus (e.g. used by title bar items).
+ ///
+ NoNavDefaultFocus = unchecked(16), + + /// + /// To be documented. + /// + SelectableDontClosePopup = unchecked(32), + + /// + /// To be documented. + /// + MixedValue = unchecked(64), + + /// + /// To be documented. + /// + ReadOnly = unchecked(128), + + /// + /// To be documented. + /// + Inputable = unchecked(256), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs new file mode 100644 index 000000000..4f5d3ae05 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiItemStatusFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Mouse position is within item rectangle (does NOT mean that the window is in correct z-order and can be hovered!, this is only one part of the most-common IsItemHovered test)
+ ///
+ HoveredRect = unchecked(1), + + /// + /// g.LastItemData.DisplayRect is valid
+ ///
+ HasDisplayRect = unchecked(2), + + /// + /// Value exposed by item was edited in the current frame (should match the bool return value of most widgets)
+ ///
+ Edited = unchecked(4), + + /// + /// Set when Selectable(), TreeNode() reports toggling a selection. We can't report "Selected", only state changes, in order to easily handle clipping with less issues.
+ ///
+ ToggledSelection = unchecked(8), + + /// + /// Set when TreeNode() reports toggling their open state.
+ ///
+ ToggledOpen = unchecked(16), + + /// + /// Set if the widgetgroup is able to provide data for the ImGuiItemStatusFlags_Deactivated flag.
+ ///
+ HasDeactivated = unchecked(32), + + /// + /// Only valid if ImGuiItemStatusFlags_HasDeactivated is set.
+ ///
+ Deactivated = unchecked(64), + + /// + /// Override the HoveredWindow test to allow cross-window hover testing.
+ ///
+ HoveredWindow = unchecked(128), + + /// + /// To be documented. + /// + FocusedByTabbing = unchecked(256), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiKey.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiKey.cs new file mode 100644 index 000000000..19e08b98c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiKey.cs @@ -0,0 +1,722 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiKey : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Tab = unchecked(512), + + /// + /// To be documented. + /// + LeftArrow = unchecked(513), + + /// + /// To be documented. + /// + RightArrow = unchecked(514), + + /// + /// To be documented. + /// + UpArrow = unchecked(515), + + /// + /// To be documented. + /// + DownArrow = unchecked(516), + + /// + /// To be documented. + /// + PageUp = unchecked(517), + + /// + /// To be documented. + /// + PageDown = unchecked(518), + + /// + /// To be documented. + /// + Home = unchecked(519), + + /// + /// To be documented. + /// + End = unchecked(520), + + /// + /// To be documented. + /// + Insert = unchecked(521), + + /// + /// To be documented. + /// + Delete = unchecked(522), + + /// + /// To be documented. + /// + Backspace = unchecked(523), + + /// + /// To be documented. + /// + Space = unchecked(524), + + /// + /// To be documented. + /// + Enter = unchecked(525), + + /// + /// To be documented. + /// + Escape = unchecked(526), + + /// + /// To be documented. + /// + LeftCtrl = unchecked(527), + + /// + /// To be documented. + /// + LeftShift = unchecked(528), + + /// + /// To be documented. + /// + LeftAlt = unchecked(529), + + /// + /// To be documented. + /// + LeftSuper = unchecked(530), + + /// + /// To be documented. + /// + RightCtrl = unchecked(531), + + /// + /// To be documented. + /// + RightShift = unchecked(532), + + /// + /// To be documented. + /// + RightAlt = unchecked(533), + + /// + /// To be documented. + /// + RightSuper = unchecked(534), + + /// + /// To be documented. + /// + Menu = unchecked(535), + + /// + /// To be documented. + /// + Key0 = unchecked(536), + + /// + /// To be documented. + /// + Key1 = unchecked(537), + + /// + /// To be documented. + /// + Key2 = unchecked(538), + + /// + /// To be documented. + /// + Key3 = unchecked(539), + + /// + /// To be documented. + /// + Key4 = unchecked(540), + + /// + /// To be documented. + /// + Key5 = unchecked(541), + + /// + /// To be documented. + /// + Key6 = unchecked(542), + + /// + /// To be documented. + /// + Key7 = unchecked(543), + + /// + /// To be documented. + /// + Key8 = unchecked(544), + + /// + /// To be documented. + /// + Key9 = unchecked(545), + + /// + /// To be documented. + /// + A = unchecked(546), + + /// + /// To be documented. + /// + B = unchecked(547), + + /// + /// To be documented. + /// + C = unchecked(548), + + /// + /// To be documented. + /// + D = unchecked(549), + + /// + /// To be documented. + /// + E = unchecked(550), + + /// + /// To be documented. + /// + F = unchecked(551), + + /// + /// To be documented. + /// + G = unchecked(552), + + /// + /// To be documented. + /// + H = unchecked(553), + + /// + /// To be documented. + /// + I = unchecked(554), + + /// + /// To be documented. + /// + J = unchecked(555), + + /// + /// To be documented. + /// + K = unchecked(556), + + /// + /// To be documented. + /// + L = unchecked(557), + + /// + /// To be documented. + /// + M = unchecked(558), + + /// + /// To be documented. + /// + N = unchecked(559), + + /// + /// To be documented. + /// + O = unchecked(560), + + /// + /// To be documented. + /// + P = unchecked(561), + + /// + /// To be documented. + /// + Q = unchecked(562), + + /// + /// To be documented. + /// + R = unchecked(563), + + /// + /// To be documented. + /// + S = unchecked(564), + + /// + /// To be documented. + /// + T = unchecked(565), + + /// + /// To be documented. + /// + U = unchecked(566), + + /// + /// To be documented. + /// + V = unchecked(567), + + /// + /// To be documented. + /// + W = unchecked(568), + + /// + /// To be documented. + /// + X = unchecked(569), + + /// + /// To be documented. + /// + Y = unchecked(570), + + /// + /// To be documented. + /// + Z = unchecked(571), + + /// + /// To be documented. + /// + F1 = unchecked(572), + + /// + /// To be documented. + /// + F2 = unchecked(573), + + /// + /// To be documented. + /// + F3 = unchecked(574), + + /// + /// To be documented. + /// + F4 = unchecked(575), + + /// + /// To be documented. + /// + F5 = unchecked(576), + + /// + /// To be documented. + /// + F6 = unchecked(577), + + /// + /// To be documented. + /// + F7 = unchecked(578), + + /// + /// To be documented. + /// + F8 = unchecked(579), + + /// + /// To be documented. + /// + F9 = unchecked(580), + + /// + /// To be documented. + /// + F10 = unchecked(581), + + /// + /// To be documented. + /// + F11 = unchecked(582), + + /// + /// To be documented. + /// + F12 = unchecked(583), + + /// + /// To be documented. + /// + Apostrophe = unchecked(584), + + /// + /// To be documented. + /// + Comma = unchecked(585), + + /// + /// To be documented. + /// + Minus = unchecked(586), + + /// + /// To be documented. + /// + Period = unchecked(587), + + /// + /// To be documented. + /// + Slash = unchecked(588), + + /// + /// To be documented. + /// + Semicolon = unchecked(589), + + /// + /// To be documented. + /// + Equal = unchecked(590), + + /// + /// To be documented. + /// + LeftBracket = unchecked(591), + + /// + /// To be documented. + /// + Backslash = unchecked(592), + + /// + /// To be documented. + /// + RightBracket = unchecked(593), + + /// + /// To be documented. + /// + GraveAccent = unchecked(594), + + /// + /// To be documented. + /// + CapsLock = unchecked(595), + + /// + /// To be documented. + /// + ScrollLock = unchecked(596), + + /// + /// To be documented. + /// + NumLock = unchecked(597), + + /// + /// To be documented. + /// + PrintScreen = unchecked(598), + + /// + /// To be documented. + /// + Pause = unchecked(599), + + /// + /// To be documented. + /// + Keypad0 = unchecked(600), + + /// + /// To be documented. + /// + Keypad1 = unchecked(601), + + /// + /// To be documented. + /// + Keypad2 = unchecked(602), + + /// + /// To be documented. + /// + Keypad3 = unchecked(603), + + /// + /// To be documented. + /// + Keypad4 = unchecked(604), + + /// + /// To be documented. + /// + Keypad5 = unchecked(605), + + /// + /// To be documented. + /// + Keypad6 = unchecked(606), + + /// + /// To be documented. + /// + Keypad7 = unchecked(607), + + /// + /// To be documented. + /// + Keypad8 = unchecked(608), + + /// + /// To be documented. + /// + Keypad9 = unchecked(609), + + /// + /// To be documented. + /// + KeypadDecimal = unchecked(610), + + /// + /// To be documented. + /// + KeypadDivide = unchecked(611), + + /// + /// To be documented. + /// + KeypadMultiply = unchecked(612), + + /// + /// To be documented. + /// + KeypadSubtract = unchecked(613), + + /// + /// To be documented. + /// + KeypadAdd = unchecked(614), + + /// + /// To be documented. + /// + KeypadEnter = unchecked(615), + + /// + /// To be documented. + /// + KeypadEqual = unchecked(616), + + /// + /// To be documented. + /// + GamepadStart = unchecked(617), + + /// + /// To be documented. + /// + GamepadBack = unchecked(618), + + /// + /// To be documented. + /// + GamepadFaceUp = unchecked(619), + + /// + /// To be documented. + /// + GamepadFaceDown = unchecked(620), + + /// + /// To be documented. + /// + GamepadFaceLeft = unchecked(621), + + /// + /// To be documented. + /// + GamepadFaceRight = unchecked(622), + + /// + /// To be documented. + /// + GamepadDpadUp = unchecked(623), + + /// + /// To be documented. + /// + GamepadDpadDown = unchecked(624), + + /// + /// To be documented. + /// + GamepadDpadLeft = unchecked(625), + + /// + /// To be documented. + /// + GamepadDpadRight = unchecked(626), + + /// + /// To be documented. + /// + GamepadL1 = unchecked(627), + + /// + /// To be documented. + /// + GamepadR1 = unchecked(628), + + /// + /// To be documented. + /// + GamepadL2 = unchecked(629), + + /// + /// To be documented. + /// + GamepadR2 = unchecked(630), + + /// + /// To be documented. + /// + GamepadL3 = unchecked(631), + + /// + /// To be documented. + /// + GamepadR3 = unchecked(632), + + /// + /// To be documented. + /// + GamepadLStickUp = unchecked(633), + + /// + /// To be documented. + /// + GamepadLStickDown = unchecked(634), + + /// + /// To be documented. + /// + GamepadLStickLeft = unchecked(635), + + /// + /// To be documented. + /// + GamepadLStickRight = unchecked(636), + + /// + /// To be documented. + /// + GamepadRStickUp = unchecked(637), + + /// + /// To be documented. + /// + GamepadRStickDown = unchecked(638), + + /// + /// To be documented. + /// + GamepadRStickLeft = unchecked(639), + + /// + /// To be documented. + /// + GamepadRStickRight = unchecked(640), + + /// + /// To be documented. + /// + ModCtrl = unchecked(641), + + /// + /// To be documented. + /// + ModShift = unchecked(642), + + /// + /// To be documented. + /// + ModAlt = unchecked(643), + + /// + /// To be documented. + /// + ModSuper = unchecked(644), + + /// + /// To be documented. + /// + Count = unchecked(645), + + /// + /// To be documented. + /// + NamedKeyBegin = unchecked(512), + + /// + /// To be documented. + /// + NamedKeyEnd = Count, + + /// + /// To be documented. + /// + NamedKeyCount = unchecked(133), + + /// + /// To be documented. + /// + KeysDataSize = Count, + + /// + /// To be documented. + /// + KeysDataOffset = unchecked(0), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiKeyPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiKeyPrivate.cs new file mode 100644 index 000000000..80a76c38a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiKeyPrivate.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiKeyPrivate : int + { + /// + /// To be documented. + /// + LegacyNativeKeyBegin = unchecked(0), + + /// + /// To be documented. + /// + LegacyNativeKeyEnd = unchecked(512), + + /// + /// To be documented. + /// + GamepadBegin = unchecked((int)ImGuiKey.GamepadStart), + + /// + /// To be documented. + /// + GamepadEnd = unchecked(641), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiLayoutType.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiLayoutType.cs new file mode 100644 index 000000000..01076a708 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiLayoutType.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiLayoutType : int + { + /// + /// To be documented. + /// + Horizontal = unchecked(0), + + /// + /// To be documented. + /// + Vertical = unchecked(1), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiLogType.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiLogType.cs new file mode 100644 index 000000000..2b4b55a32 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiLogType.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiLogType : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Tty = unchecked(1), + + /// + /// To be documented. + /// + File = unchecked(2), + + /// + /// To be documented. + /// + Buffer = unchecked(3), + + /// + /// To be documented. + /// + Clipboard = unchecked(4), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiModFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiModFlags.cs new file mode 100644 index 000000000..c7f183079 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiModFlags.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiModFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Ctrl = unchecked(1), + + /// + /// To be documented. + /// + Shift = unchecked(2), + + /// + /// To be documented. + /// + Alt = unchecked(4), + + /// + /// To be documented. + /// + Super = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiMouseButton.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiMouseButton.cs new file mode 100644 index 000000000..75193a596 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiMouseButton.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiMouseButton : int + { + /// + /// To be documented. + /// + Left = unchecked(0), + + /// + /// To be documented. + /// + Right = unchecked(1), + + /// + /// To be documented. + /// + Middle = unchecked(2), + + /// + /// To be documented. + /// + Count = unchecked(5), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiMouseCursor.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiMouseCursor.cs new file mode 100644 index 000000000..307967732 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiMouseCursor.cs @@ -0,0 +1,77 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiMouseCursor : int + { + /// + /// To be documented. + /// + None = unchecked(-1), + + /// + /// To be documented. + /// + Arrow = unchecked(0), + + /// + /// When hovering over InputText, etc.
+ ///
+ TextInput = unchecked(1), + + /// + /// (Unused by Dear ImGui functions)
+ ///
+ ResizeAll = unchecked(2), + + /// + /// When hovering over a horizontal border
+ ///
+ ResizeNs = unchecked(3), + + /// + /// When hovering over a vertical border or a column
+ ///
+ ResizeEw = unchecked(4), + + /// + /// When hovering over the bottom-left corner of a window
+ ///
+ ResizeNesw = unchecked(5), + + /// + /// When hovering over the bottom-right corner of a window
+ ///
+ ResizeNwse = unchecked(6), + + /// + /// (Unused by Dear ImGui functions. Use for e.g. hyperlinks)
+ ///
+ Hand = unchecked(7), + + /// + /// When hovering something with disallowed interaction. Usually a crossed circle.
+ ///
+ NotAllowed = unchecked(8), + + /// + /// To be documented. + /// + Count = unchecked(9), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavDirSourceFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavDirSourceFlags.cs new file mode 100644 index 000000000..e4af0bad5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavDirSourceFlags.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNavDirSourceFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + RawKeyboard = unchecked(1), + + /// + /// To be documented. + /// + Keyboard = unchecked(2), + + /// + /// To be documented. + /// + PadDPad = unchecked(4), + + /// + /// To be documented. + /// + PadLStick = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavHighlightFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavHighlightFlags.cs new file mode 100644 index 000000000..e3a9652e0 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavHighlightFlags.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNavHighlightFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + TypeDefault = unchecked(1), + + /// + /// To be documented. + /// + TypeThin = unchecked(2), + + /// + /// To be documented. + /// + AlwaysDraw = unchecked(4), + + /// + /// To be documented. + /// + NoRounding = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavInput.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavInput.cs new file mode 100644 index 000000000..8d7e68fae --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavInput.cs @@ -0,0 +1,132 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNavInput : int + { + /// + /// To be documented. + /// + Activate = unchecked(0), + + /// + /// To be documented. + /// + Cancel = unchecked(1), + + /// + /// To be documented. + /// + Input = unchecked(2), + + /// + /// To be documented. + /// + Menu = unchecked(3), + + /// + /// To be documented. + /// + DpadLeft = unchecked(4), + + /// + /// To be documented. + /// + DpadRight = unchecked(5), + + /// + /// To be documented. + /// + DpadUp = unchecked(6), + + /// + /// To be documented. + /// + DpadDown = unchecked(7), + + /// + /// To be documented. + /// + LStickLeft = unchecked(8), + + /// + /// To be documented. + /// + LStickRight = unchecked(9), + + /// + /// To be documented. + /// + LStickUp = unchecked(10), + + /// + /// To be documented. + /// + LStickDown = unchecked(11), + + /// + /// To be documented. + /// + FocusPrev = unchecked(12), + + /// + /// To be documented. + /// + FocusNext = unchecked(13), + + /// + /// To be documented. + /// + TweakSlow = unchecked(14), + + /// + /// To be documented. + /// + TweakFast = unchecked(15), + + /// + /// To be documented. + /// + KeyMenu = unchecked(16), + + /// + /// To be documented. + /// + KeyLeft = unchecked(17), + + /// + /// To be documented. + /// + KeyRight = unchecked(18), + + /// + /// To be documented. + /// + KeyUp = unchecked(19), + + /// + /// To be documented. + /// + KeyDown = unchecked(20), + + /// + /// To be documented. + /// + Count = unchecked(21), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavLayer.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavLayer.cs new file mode 100644 index 000000000..ad8caf872 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavLayer.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNavLayer : int + { + /// + /// Main scrolling layer
+ ///
+ Main = unchecked(0), + + /// + /// Menu layer (access with Alt)
+ ///
+ Menu = unchecked(1), + + /// + /// To be documented. + /// + Count = unchecked(2), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs new file mode 100644 index 000000000..3e8273884 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs @@ -0,0 +1,92 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNavMoveFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// On failed request, restart from opposite side
+ ///
+ LoopX = unchecked(1), + + /// + /// To be documented. + /// + LoopY = unchecked(2), + + /// + /// On failed request, request from opposite side one line down (when NavDir==right) or one line up (when NavDir==left)
+ ///
+ WrapX = unchecked(4), + + /// + /// This is not super useful but provided for completeness
+ ///
+ WrapY = unchecked(8), + + /// + /// Allow scoring and considering the current NavId as a move target candidate. This is used when the move source is offset (e.g. pressing PageDown actually needs to send a Up move request, if we are pressing PageDown from the bottom-most item we need to stay in place)
+ ///
+ AllowCurrentNavId = unchecked(16), + + /// + /// Store alternate result in NavMoveResultLocalVisible that only comprise elements that are already fully visible (used by PageUpPageDown)
+ ///
+ AlsoScoreVisibleSet = unchecked(32), + + /// + /// Force scrolling to minmax (used by HomeEnd) FIXME-NAV: Aim to remove or reword, probably unnecessary
+ ///
+ ScrollToEdgeY = unchecked(64), + + /// + /// To be documented. + /// + Forwarded = unchecked(128), + + /// + /// Dummy scoring for debug purpose, don't apply result
+ ///
+ DebugNoResult = unchecked(256), + + /// + /// Requests from focus API can landfocusactivate items even if they are marked with _NoTabStop (see NavProcessItemForTabbingRequest() for details)
+ ///
+ FocusApi = unchecked(512), + + /// + /// To be documented. + /// + Tabbing = unchecked(1024), + + /// + /// Activateselect target item.
+ ///
+ Activate = unchecked(2048), + + /// + /// To be documented. + /// + DontSetNavHighlight = unchecked(4096), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavReadMode.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavReadMode.cs new file mode 100644 index 000000000..987db0f8b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNavReadMode.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNavReadMode : int + { + /// + /// To be documented. + /// + Down = unchecked(0), + + /// + /// To be documented. + /// + Pressed = unchecked(1), + + /// + /// To be documented. + /// + Released = unchecked(2), + + /// + /// To be documented. + /// + Repeat = unchecked(3), + + /// + /// To be documented. + /// + RepeatSlow = unchecked(4), + + /// + /// To be documented. + /// + RepeatFast = unchecked(5), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNextItemDataFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNextItemDataFlags.cs new file mode 100644 index 000000000..436d1ae04 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNextItemDataFlags.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNextItemDataFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + HasWidth = unchecked(1), + + /// + /// To be documented. + /// + HasOpen = unchecked(2), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNextWindowDataFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNextWindowDataFlags.cs new file mode 100644 index 000000000..974ed620e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiNextWindowDataFlags.cs @@ -0,0 +1,82 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiNextWindowDataFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + HasPos = unchecked(1), + + /// + /// To be documented. + /// + HasSize = unchecked(2), + + /// + /// To be documented. + /// + HasContentSize = unchecked(4), + + /// + /// To be documented. + /// + HasCollapsed = unchecked(8), + + /// + /// To be documented. + /// + HasSizeConstraint = unchecked(16), + + /// + /// To be documented. + /// + HasFocus = unchecked(32), + + /// + /// To be documented. + /// + HasBgAlpha = unchecked(64), + + /// + /// To be documented. + /// + HasScroll = unchecked(128), + + /// + /// To be documented. + /// + HasViewport = unchecked(256), + + /// + /// To be documented. + /// + HasDock = unchecked(512), + + /// + /// To be documented. + /// + HasWindowClass = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs new file mode 100644 index 000000000..77bf93cf9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiOldColumnFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Disable column dividers
+ ///
+ NoBorder = unchecked(1), + + /// + /// Disable resizing columns when clicking on the dividers
+ ///
+ NoResize = unchecked(2), + + /// + /// Disable column width preservation when adjusting columns
+ ///
+ NoPreserveWidths = unchecked(4), + + /// + /// Disable forcing columns to fit within window
+ ///
+ NoForceWithinWindow = unchecked(8), + + /// + /// Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.
+ ///
+ GrowParentContentsSize = unchecked(16), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPlotType.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPlotType.cs new file mode 100644 index 000000000..2532cb33b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPlotType.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiPlotType : int + { + /// + /// To be documented. + /// + Lines = unchecked(0), + + /// + /// To be documented. + /// + Histogram = unchecked(1), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPopupFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPopupFlags.cs new file mode 100644 index 000000000..9341216b1 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPopupFlags.cs @@ -0,0 +1,77 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiPopupFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left)
+ ///
+ MouseButtonLeft = unchecked(0), + + /// + /// For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right)
+ ///
+ MouseButtonRight = unchecked(1), + + /// + /// For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle)
+ ///
+ MouseButtonMiddle = unchecked(2), + + /// + /// To be documented. + /// + MouseButtonMask = unchecked(31), + + /// + /// To be documented. + /// + MouseButtonDefault = unchecked(1), + + /// + /// For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack
+ ///
+ NoOpenOverExistingPopup = unchecked(32), + + /// + /// For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space
+ ///
+ NoOpenOverItems = unchecked(64), + + /// + /// For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.
+ ///
+ AnyPopupId = unchecked(128), + + /// + /// For IsPopupOpen(): searchtest at any level of the popup stack (default test in the current level)
+ ///
+ AnyPopupLevel = unchecked(256), + + /// + /// To be documented. + /// + AnyPopup = unchecked(384), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPopupPositionPolicy.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPopupPositionPolicy.cs new file mode 100644 index 000000000..a562cd657 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiPopupPositionPolicy.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiPopupPositionPolicy : int + { + /// + /// To be documented. + /// + Default = unchecked(0), + + /// + /// To be documented. + /// + ComboBox = unchecked(1), + + /// + /// To be documented. + /// + Tooltip = unchecked(2), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiScrollFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiScrollFlags.cs new file mode 100644 index 000000000..14b6fa975 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiScrollFlags.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiScrollFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// If item is not visible: scroll as little as possible on X axis to bring item back into view [default for X axis]
+ ///
+ KeepVisibleEdgeX = unchecked(1), + + /// + /// If item is not visible: scroll as little as possible on Y axis to bring item back into view [default for Y axis for windows that are already visible]
+ ///
+ KeepVisibleEdgeY = unchecked(2), + + /// + /// If item is not visible: scroll to make the item centered on X axis [rarely used]
+ ///
+ KeepVisibleCenterX = unchecked(4), + + /// + /// If item is not visible: scroll to make the item centered on Y axis
+ ///
+ KeepVisibleCenterY = unchecked(8), + + /// + /// Always center the result item on X axis [rarely used]
+ ///
+ AlwaysCenterX = unchecked(16), + + /// + /// Always center the result item on Y axis [default for Y axis for appearing window)
+ ///
+ AlwaysCenterY = unchecked(32), + + /// + /// Disable forwarding scrolling to parent window if required to keep itemrect visible (only scroll window the function was applied to).
+ ///
+ NoScrollParent = unchecked(64), + + /// + /// To be documented. + /// + MaskX = unchecked(21), + + /// + /// To be documented. + /// + MaskY = unchecked(42), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSelectableFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSelectableFlags.cs new file mode 100644 index 000000000..82f727d00 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSelectableFlags.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiSelectableFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + DontClosePopups = unchecked(1), + + /// + /// Frame will span all columns of its container table (text will still fit in current column)
+ ///
+ SpanAllColumns = unchecked(2), + + /// + /// Generate press events on double clicks too
+ ///
+ AllowDoubleClick = unchecked(4), + + /// + /// Cannot be selected, display grayed out text
+ ///
+ Disabled = unchecked(8), + + /// + /// To be documented. + /// + AllowItemOverlap = unchecked(16), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs new file mode 100644 index 000000000..47563b270 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs @@ -0,0 +1,62 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiSelectableFlagsPrivate : int + { + /// + /// To be documented. + /// + NoHoldingActiveId = unchecked(1048576), + + /// + /// (WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API.
+ ///
+ SelectOnNav = unchecked(2097152), + + /// + /// Override button behavior to react on Click (default is Click+Release)
+ ///
+ SelectOnClick = unchecked(4194304), + + /// + /// Override button behavior to react on Release (default is Click+Release)
+ ///
+ SelectOnRelease = unchecked(8388608), + + /// + /// Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus)
+ ///
+ SpanAvailWidth = unchecked(16777216), + + /// + /// To be documented. + /// + DrawHoveredWhenHeld = unchecked(33554432), + + /// + /// Set NavFocus ID on mouse hover (used by MenuItem)
+ ///
+ SetNavIdOnHover = unchecked(67108864), + + /// + /// Disable padding each side with ItemSpacing * 0.5f
+ ///
+ NoPadWithHalfSpacing = unchecked(134217728), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs new file mode 100644 index 000000000..9d729af24 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiSeparatorFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar
+ ///
+ Horizontal = unchecked(1), + + /// + /// To be documented. + /// + Vertical = unchecked(2), + + /// + /// Make separator cover all columns of a legacy Columns() set.
+ ///
+ SpanAllColumns = unchecked(4), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSliderFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSliderFlags.cs new file mode 100644 index 000000000..a0de2075b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSliderFlags.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiSliderFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + AlwaysClamp = unchecked(16), + + /// + /// Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.
+ ///
+ Logarithmic = unchecked(32), + + /// + /// Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits).
+ ///
+ NoRoundToFormat = unchecked(64), + + /// + /// Disable CTRL+Click or Enter key allowing to input text directly into the widget.
+ ///
+ NoInput = unchecked(128), + + /// + /// [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed.
+ ///
+ InvalidMask = unchecked(1879048207), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs new file mode 100644 index 000000000..b3cf882aa --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiSliderFlagsPrivate : int + { + /// + /// Should this slider be orientated vertically?
+ ///
+ Vertical = unchecked(1048576), + + /// + /// Consider using g.NextItemData.ItemFlags |= ImGuiItemFlags_ReadOnly instead.
+ ///
+ ReadOnly = unchecked(2097152), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSortDirection.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSortDirection.cs new file mode 100644 index 000000000..13c321528 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiSortDirection.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiSortDirection : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Ascending = unchecked(1), + + /// + /// To be documented. + /// + Descending = unchecked(2), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiStyleVar.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiStyleVar.cs new file mode 100644 index 000000000..3673ad74b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiStyleVar.cs @@ -0,0 +1,152 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiStyleVar : int + { + /// + /// float Alpha
+ ///
+ Alpha = unchecked(0), + + /// + /// ImVec2 WindowPadding
+ ///
+ WindowPadding = unchecked(1), + + /// + /// float WindowRounding
+ ///
+ WindowRounding = unchecked(2), + + /// + /// float WindowBorderSize
+ ///
+ WindowBorderSize = unchecked(3), + + /// + /// ImVec2 WindowMinSize
+ ///
+ WindowMinSize = unchecked(4), + + /// + /// ImVec2 WindowTitleAlign
+ ///
+ WindowTitleAlign = unchecked(5), + + /// + /// float ChildRounding
+ ///
+ ChildRounding = unchecked(6), + + /// + /// float ChildBorderSize
+ ///
+ ChildBorderSize = unchecked(7), + + /// + /// float PopupRounding
+ ///
+ PopupRounding = unchecked(8), + + /// + /// float PopupBorderSize
+ ///
+ PopupBorderSize = unchecked(9), + + /// + /// ImVec2 FramePadding
+ ///
+ FramePadding = unchecked(10), + + /// + /// float FrameRounding
+ ///
+ FrameRounding = unchecked(11), + + /// + /// float FrameBorderSize
+ ///
+ FrameBorderSize = unchecked(12), + + /// + /// ImVec2 ItemSpacing
+ ///
+ ItemSpacing = unchecked(13), + + /// + /// ImVec2 ItemInnerSpacing
+ ///
+ ItemInnerSpacing = unchecked(14), + + /// + /// float IndentSpacing
+ ///
+ IndentSpacing = unchecked(15), + + /// + /// ImVec2 CellPadding
+ ///
+ CellPadding = unchecked(16), + + /// + /// float ScrollbarSize
+ ///
+ ScrollbarSize = unchecked(17), + + /// + /// float ScrollbarRounding
+ ///
+ ScrollbarRounding = unchecked(18), + + /// + /// float GrabMinSize
+ ///
+ GrabMinSize = unchecked(19), + + /// + /// float GrabRounding
+ ///
+ GrabRounding = unchecked(20), + + /// + /// float TabRounding
+ ///
+ TabRounding = unchecked(21), + + /// + /// ImVec2 ButtonTextAlign
+ ///
+ ButtonTextAlign = unchecked(22), + + /// + /// ImVec2 SelectableTextAlign
+ ///
+ SelectableTextAlign = unchecked(23), + + /// + /// float DisabledAlpha
+ ///
+ DisabledAlpha = unchecked(24), + + /// + /// To be documented. + /// + Count = unchecked(25), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabBarFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabBarFlags.cs new file mode 100644 index 000000000..fa87464b3 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabBarFlags.cs @@ -0,0 +1,77 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTabBarFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Allow manually dragging tabs to re-order them + New tabs are appended at the end of list
+ ///
+ Reorderable = unchecked(1), + + /// + /// Automatically select new tabs when they appear
+ ///
+ AutoSelectNewTabs = unchecked(2), + + /// + /// Disable buttons to open the tab list popup
+ ///
+ ListPopupButton = unchecked(4), + + /// + /// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.
+ ///
+ NoCloseWithMiddleMouseButton = unchecked(8), + + /// + /// Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)
+ ///
+ NoTabListScrollingButtons = unchecked(16), + + /// + /// Disable tooltips when hovering a tab
+ ///
+ NoTooltip = unchecked(32), + + /// + /// Resize tabs when they don't fit
+ ///
+ FittingPolicyResizeDown = unchecked(64), + + /// + /// Add scroll buttons when tabs don't fit
+ ///
+ FittingPolicyScroll = unchecked(128), + + /// + /// To be documented. + /// + FittingPolicyMask = unchecked(192), + + /// + /// To be documented. + /// + FittingPolicyDefault = FittingPolicyResizeDown, + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs new file mode 100644 index 000000000..3fee08ae4 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTabBarFlagsPrivate : int + { + /// + /// Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around]
+ ///
+ DockNode = unchecked(1048576), + + /// + /// To be documented. + /// + IsFocused = unchecked(2097152), + + /// + /// FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs
+ ///
+ SaveSettings = unchecked(4194304), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabItemFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabItemFlags.cs new file mode 100644 index 000000000..da316d3f2 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabItemFlags.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTabItemFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure.
+ ///
+ UnsavedDocument = unchecked(1), + + /// + /// Trigger flag to programmatically make the tab selected when calling BeginTabItem()
+ ///
+ SetSelected = unchecked(2), + + /// + /// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.
+ ///
+ NoCloseWithMiddleMouseButton = unchecked(4), + + /// + /// Don't call PushID()PopID() on BeginTabItem()EndTabItem()
+ ///
+ NoPushId = unchecked(8), + + /// + /// Disable tooltip for the given tab
+ ///
+ NoTooltip = unchecked(16), + + /// + /// Disable reordering this tab or having another tab cross over this tab
+ ///
+ NoReorder = unchecked(32), + + /// + /// Enforce the tab position to the left of the tab bar (after the tab list popup button)
+ ///
+ Leading = unchecked(64), + + /// + /// Enforce the tab position to the right of the tab bar (before the scrolling buttons)
+ ///
+ Trailing = unchecked(128), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs new file mode 100644 index 000000000..a7916a9a3 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs @@ -0,0 +1,47 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTabItemFlagsPrivate : int + { + /// + /// To be documented. + /// + SectionMask = unchecked(192), + + /// + /// Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)
+ ///
+ NoCloseButton = unchecked(1048576), + + /// + /// Used by TabItemButton, change the tab item behavior to mimic a button
+ ///
+ Button = unchecked(2097152), + + /// + /// [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window.
+ ///
+ Unsorted = unchecked(4194304), + + /// + /// To be documented. + /// + Preview = unchecked(8388608), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableBgTarget.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableBgTarget.cs new file mode 100644 index 000000000..7f9b196a7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableBgTarget.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTableBgTarget : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used)
+ ///
+ RowBg0 = unchecked(1), + + /// + /// Set row background color 1 (generally used for selection marking)
+ ///
+ RowBg1 = unchecked(2), + + /// + /// Set cell background color (top-most color)
+ ///
+ CellBg = unchecked(3), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs new file mode 100644 index 000000000..08d20dd2d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs @@ -0,0 +1,157 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTableColumnFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Default as a hiddendisabled column.
+ ///
+ DefaultHide = unchecked(1), + + /// + /// Default as a sorting column.
+ ///
+ DefaultSort = unchecked(2), + + /// + /// Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp).
+ ///
+ WidthStretch = unchecked(4), + + /// + /// Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable).
+ ///
+ WidthFixed = unchecked(8), + + /// + /// Disable manual resizing.
+ ///
+ NoResize = unchecked(16), + + /// + /// Disable manual reordering this column, this will also prevent other columns from crossing over this column.
+ ///
+ NoReorder = unchecked(32), + + /// + /// Disable ability to hidedisable this column.
+ ///
+ NoHide = unchecked(64), + + /// + /// Disable clipping for this column (all NoClip columns will render in a same draw command).
+ ///
+ NoClip = unchecked(128), + + /// + /// Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table).
+ ///
+ NoSort = unchecked(256), + + /// + /// Disable ability to sort in the ascending direction.
+ ///
+ NoSortAscending = unchecked(512), + + /// + /// Disable ability to sort in the descending direction.
+ ///
+ NoSortDescending = unchecked(1024), + + /// + /// Disable header text width contribution to automatic column width.
+ ///
+ NoHeaderWidth = unchecked(2048), + + /// + /// Make the initial sort direction Ascending when first sorting on this column (default).
+ ///
+ PreferSortAscending = unchecked(4096), + + /// + /// Make the initial sort direction Descending when first sorting on this column.
+ ///
+ PreferSortDescending = unchecked(8192), + + /// + /// Use current Indent value when entering cell (default for column 0).
+ ///
+ IndentEnable = unchecked(16384), + + /// + /// Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored.
+ ///
+ IndentDisable = unchecked(32768), + + /// + /// Status: is enabled == not hidden by userapi (referred to as "Hide" in _DefaultHide and _NoHide) flags.
+ ///
+ IsEnabled = unchecked(1048576), + + /// + /// Status: is visible == is enabled AND not clipped by scrolling.
+ ///
+ IsVisible = unchecked(2097152), + + /// + /// Status: is currently part of the sort specs
+ ///
+ IsSorted = unchecked(4194304), + + /// + /// Status: is hovered by mouse
+ ///
+ IsHovered = unchecked(8388608), + + /// + /// Overridingmaster disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)
+ ///
+ Disabled = unchecked(65536), + + /// + /// TableHeadersRow() will submit an empty label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers. You may append into this cell by calling TableSetColumnIndex() right after the TableHeadersRow() call.
+ ///
+ NoHeaderLabel = unchecked(131072), + + /// + /// To be documented. + /// + WidthMask = unchecked(12), + + /// + /// To be documented. + /// + IndentMask = unchecked(49152), + + /// + /// To be documented. + /// + StatusMask = unchecked(15728640), + + /// + /// [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)
+ ///
+ NoDirectResize = unchecked(1073741824), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableFlags.cs new file mode 100644 index 000000000..2a33f18a0 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableFlags.cs @@ -0,0 +1,202 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTableFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Enable resizing columns.
+ ///
+ Resizable = unchecked(1), + + /// + /// Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers)
+ ///
+ Reorderable = unchecked(2), + + /// + /// Enable hidingdisabling columns in context menu.
+ ///
+ Hideable = unchecked(4), + + /// + /// Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate.
+ ///
+ Sortable = unchecked(8), + + /// + /// Disable persisting columns order, width and sort settings in the .ini file.
+ ///
+ NoSavedSettings = unchecked(16), + + /// + /// Right-click on columns bodycontents will display table context menu. By default it is available in TableHeadersRow().
+ ///
+ ContextMenuInBody = unchecked(32), + + /// + /// Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually)
+ ///
+ RowBg = unchecked(64), + + /// + /// Draw horizontal borders between rows.
+ ///
+ BordersInnerH = unchecked(128), + + /// + /// Draw horizontal borders at the top and bottom.
+ ///
+ BordersOuterH = unchecked(256), + + /// + /// Draw vertical borders between columns.
+ ///
+ BordersInnerV = unchecked(512), + + /// + /// Draw vertical borders on the left and right sides.
+ ///
+ BordersOuterV = unchecked(1024), + + /// + /// Draw horizontal borders.
+ ///
+ BordersH = unchecked(384), + + /// + /// Draw vertical borders.
+ ///
+ BordersV = unchecked(1536), + + /// + /// Draw inner borders.
+ ///
+ BordersInner = unchecked(640), + + /// + /// Draw outer borders.
+ ///
+ BordersOuter = unchecked(1280), + + /// + /// Draw all borders.
+ ///
+ Borders = unchecked(1920), + + /// + /// [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style
+ ///
+ NoBordersInBody = unchecked(2048), + + /// + /// [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style
+ ///
+ NoBordersInBodyUntilResize = unchecked(4096), + + /// + /// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width.
+ ///
+ SizingFixedFit = unchecked(8192), + + /// + /// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible.
+ ///
+ SizingFixedSame = unchecked(16384), + + /// + /// Columns default to _WidthStretch with default weights proportional to each columns contents widths.
+ ///
+ SizingStretchProp = unchecked(24576), + + /// + /// Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn().
+ ///
+ SizingStretchSame = unchecked(32768), + + /// + /// Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollXScrollY are disabled and Stretch columns are not used.
+ ///
+ NoHostExtendX = unchecked(65536), + + /// + /// Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollXScrollY are disabled. Data below the limit will be clipped and not visible.
+ ///
+ NoHostExtendY = unchecked(131072), + + /// + /// Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable.
+ ///
+ NoKeepColumnsVisible = unchecked(262144), + + /// + /// Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth.
+ ///
+ PreciseWidths = unchecked(524288), + + /// + /// Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze().
+ ///
+ NoClip = unchecked(1048576), + + /// + /// Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers.
+ ///
+ PadOuterX = unchecked(2097152), + + /// + /// Default if BordersOuterV is off. Disable outermost padding.
+ ///
+ NoPadOuterX = unchecked(4194304), + + /// + /// Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off).
+ ///
+ NoPadInnerX = unchecked(8388608), + + /// + /// Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX.
+ ///
+ ScrollX = unchecked(16777216), + + /// + /// Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size.
+ ///
+ ScrollY = unchecked(33554432), + + /// + /// Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1).
+ ///
+ SortMulti = unchecked(67108864), + + /// + /// Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0).
+ ///
+ SortTristate = unchecked(134217728), + + /// + /// To be documented. + /// + SizingMask = unchecked(57344), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableRowFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableRowFlags.cs new file mode 100644 index 000000000..9325622e5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTableRowFlags.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTableRowFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Identify header row (set default background color + width of its contents accounted differently for auto column width)
+ ///
+ Headers = unchecked(1), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTextFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTextFlags.cs new file mode 100644 index 000000000..41d6d1918 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTextFlags.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTextFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoWidthForLargeClippedText = unchecked(1), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTooltipFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTooltipFlags.cs new file mode 100644 index 000000000..6c45ad173 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTooltipFlags.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTooltipFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + OverridePreviousTooltip = unchecked(1), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs new file mode 100644 index 000000000..531c2c65f --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs @@ -0,0 +1,102 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTreeNodeFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Draw as selected
+ ///
+ Selected = unchecked(1), + + /// + /// Draw frame with background (e.g. for CollapsingHeader)
+ ///
+ Framed = unchecked(2), + + /// + /// To be documented. + /// + AllowItemOverlap = unchecked(4), + + /// + /// Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack
+ ///
+ NoTreePushOnOpen = unchecked(8), + + /// + /// Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes)
+ ///
+ NoAutoOpenOnLog = unchecked(16), + + /// + /// Default node to be open
+ ///
+ DefaultOpen = unchecked(32), + + /// + /// Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
+ ///
+ OpenOnDoubleClick = unchecked(64), + + /// + /// Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
+ ///
+ OpenOnArrow = unchecked(128), + + /// + /// No collapsing, no arrow (use as a convenience for leaf nodes).
+ ///
+ Leaf = unchecked(256), + + /// + /// Display a bullet instead of arrow. IMPORTANT: node can still be marked openclose if you don't set the _Leaf flag!
+ ///
+ Bullet = unchecked(512), + + /// + /// Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node.
+ ///
+ FramePadding = unchecked(1024), + + /// + /// Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line without using AllowOverlap mode.
+ ///
+ SpanAvailWidth = unchecked(2048), + + /// + /// Extend hit box to the left-most and right-most edges (cover the indent area).
+ ///
+ SpanFullWidth = unchecked(4096), + + /// + /// (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)
+ ///
+ NavLeftJumpsBackHere = unchecked(8192), + + /// + /// To be documented. + /// + CollapsingHeader = unchecked(26), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs new file mode 100644 index 000000000..8d775ac9e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiTreeNodeFlagsPrivate : int + { + /// + /// FIXME-WIP: Hard-coded for CollapsingHeader()
+ ///
+ ClipLabelForTrailingButton = unchecked(1048576), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiViewportFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiViewportFlags.cs new file mode 100644 index 000000000..ab5ffec62 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiViewportFlags.cs @@ -0,0 +1,92 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiViewportFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Represent a Platform Window
+ ///
+ IsPlatformWindow = unchecked(1), + + /// + /// Represent a Platform Monitor (unused yet)
+ ///
+ IsPlatformMonitor = unchecked(2), + + /// + /// Platform Window: Is createdmanaged by the user application? (rather than our backend)
+ ///
+ OwnedByApp = unchecked(4), + + /// + /// Platform Window: Disable platform decorations: title bar, borders, etc. (generally set all windows, but if ImGuiConfigFlags_ViewportsDecoration is set we only set this on popupstooltips)
+ ///
+ NoDecoration = unchecked(8), + + /// + /// Platform Window: Disable platform task bar icon (generally set on popupstooltips, or all windows if ImGuiConfigFlags_ViewportsNoTaskBarIcon is set)
+ ///
+ NoTaskBarIcon = unchecked(16), + + /// + /// Platform Window: Don't take focus when created.
+ ///
+ NoFocusOnAppearing = unchecked(32), + + /// + /// Platform Window: Don't take focus when clicked on.
+ ///
+ NoFocusOnClick = unchecked(64), + + /// + /// Platform Window: Make mouse pass through so we can drag this window while peaking behind it.
+ ///
+ NoInputs = unchecked(128), + + /// + /// Platform Window: Renderer doesn't need to clear the framebuffer ahead (because we will fill it entirely).
+ ///
+ NoRendererClear = unchecked(256), + + /// + /// Platform Window: Display on top (for tooltips only).
+ ///
+ TopMost = unchecked(512), + + /// + /// To be documented. + /// + Minimized = unchecked(1024), + + /// + /// Platform Window: Avoid merging this window into another host window. This can only be set via ImGuiWindowClass viewport flags override (because we need to now ahead if we are going to create a viewport in the first place!).
+ ///
+ NoAutoMerge = unchecked(2048), + + /// + /// Viewport can host multiple imgui windows (secondary viewports are associated to a single window). FIXME: In practice there's still probably code making the assumption that this is always and only on the MainViewport. Will fix once we add support for "no main viewport".
+ ///
+ CanHostOtherWindows = unchecked(4096), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiWindowDockStyleCol.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiWindowDockStyleCol.cs new file mode 100644 index 000000000..9eaac1467 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiWindowDockStyleCol.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiWindowDockStyleCol : int + { + /// + /// To be documented. + /// + Text = unchecked(0), + + /// + /// To be documented. + /// + Tab = unchecked(1), + + /// + /// To be documented. + /// + TabHovered = unchecked(2), + + /// + /// To be documented. + /// + TabActive = unchecked(3), + + /// + /// To be documented. + /// + TabUnfocused = unchecked(4), + + /// + /// To be documented. + /// + TabUnfocusedActive = unchecked(5), + + /// + /// To be documented. + /// + Count = unchecked(6), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Enums/ImGuiWindowFlags.cs b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiWindowFlags.cs new file mode 100644 index 000000000..143034e96 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Enums/ImGuiWindowFlags.cs @@ -0,0 +1,182 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuiWindowFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// Disable title-bar
+ ///
+ NoTitleBar = unchecked(1), + + /// + /// Disable user resizing with the lower-right grip
+ ///
+ NoResize = unchecked(2), + + /// + /// Disable user moving the window
+ ///
+ NoMove = unchecked(4), + + /// + /// Disable scrollbars (window can still scroll with mouse or programmatically)
+ ///
+ NoScrollbar = unchecked(8), + + /// + /// Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.
+ ///
+ NoScrollWithMouse = unchecked(16), + + /// + /// Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node).
+ ///
+ NoCollapse = unchecked(32), + + /// + /// Resize every window to its content every frame
+ ///
+ AlwaysAutoResize = unchecked(64), + + /// + /// Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f).
+ ///
+ NoBackground = unchecked(128), + + /// + /// Never loadsave settings in .ini file
+ ///
+ NoSavedSettings = unchecked(256), + + /// + /// Disable catching mouse, hovering test with pass through.
+ ///
+ NoMouseInputs = unchecked(512), + + /// + /// Has a menu-bar
+ ///
+ MenuBar = unchecked(1024), + + /// + /// Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section.
+ ///
+ HorizontalScrollbar = unchecked(2048), + + /// + /// Disable taking focus when transitioning from hidden to visible state
+ ///
+ NoFocusOnAppearing = unchecked(4096), + + /// + /// Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)
+ ///
+ NoBringToFrontOnFocus = unchecked(8192), + + /// + /// Always show vertical scrollbar (even if ContentSize.y < Size.y)
+ ///
+ AlwaysVerticalScrollbar = unchecked(16384), + + /// + /// Always show horizontal scrollbar (even if ContentSize.x < Size.x)
+ ///
+ AlwaysHorizontalScrollbar = unchecked(32768), + + /// + /// To be documented. + /// + AlwaysUseWindowPadding = unchecked(65536), + + /// + /// No keyboardgamepad navigation within the window
+ ///
+ NoNavInputs = unchecked(262144), + + /// + /// No focusing toward this window with keyboardgamepad navigation (e.g. skipped by CTRL+TAB)
+ ///
+ NoNavFocus = unchecked(524288), + + /// + /// Display a dot next to the title. When used in a tabdocking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar.
+ ///
+ UnsavedDocument = unchecked(1048576), + + /// + /// Disable docking of this window
+ ///
+ NoDocking = unchecked(2097152), + + /// + /// To be documented. + /// + NoNav = unchecked(786432), + + /// + /// To be documented. + /// + NoDecoration = unchecked(43), + + /// + /// To be documented. + /// + NoInputs = unchecked(786944), + + /// + /// To be documented. + /// + NavFlattened = unchecked(8388608), + + /// + /// Don't use! For internal use by BeginChild()
+ ///
+ ChildWindow = unchecked(16777216), + + /// + /// Don't use! For internal use by BeginTooltip()
+ ///
+ Tooltip = unchecked(33554432), + + /// + /// Don't use! For internal use by BeginPopup()
+ ///
+ Popup = unchecked(67108864), + + /// + /// Don't use! For internal use by BeginPopupModal()
+ ///
+ Modal = unchecked(134217728), + + /// + /// Don't use! For internal use by BeginMenu()
+ ///
+ ChildMenu = unchecked(268435456), + + /// + /// Don't use! For internal use by Begin()NewFrame()
+ ///
+ DockNodeHost = unchecked(536870912), + } +} diff --git a/imgui/Dalamud.ImGui/Generated/FunctionTable.cs b/imgui/Dalamud.ImGui/Generated/FunctionTable.cs new file mode 100644 index 000000000..b02445385 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/FunctionTable.cs @@ -0,0 +1,1311 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + internal static FunctionTable funcTable; + + /// + /// Initializes the function table, automatically called. Do not call manually, only after . + /// + public static void InitApi(INativeContext context) + { + funcTable = new FunctionTable(context, 1276); + funcTable.Load(0, "ImVec2_ImVec2_Nil"); + funcTable.Load(1, "ImVec2_destroy"); + funcTable.Load(2, "ImVec2_ImVec2_Float"); + funcTable.Load(3, "ImVec4_ImVec4_Nil"); + funcTable.Load(4, "ImVec4_destroy"); + funcTable.Load(5, "ImVec4_ImVec4_Float"); + funcTable.Load(6, "igCreateContext"); + funcTable.Load(7, "igDestroyContext"); + funcTable.Load(8, "igGetCurrentContext"); + funcTable.Load(9, "igSetCurrentContext"); + funcTable.Load(10, "igGetIO"); + funcTable.Load(11, "igGetStyle"); + funcTable.Load(12, "igNewFrame"); + funcTable.Load(13, "igEndFrame"); + funcTable.Load(14, "igRender"); + funcTable.Load(15, "igGetDrawData"); + funcTable.Load(16, "igShowDemoWindow"); + funcTable.Load(17, "igShowMetricsWindow"); + funcTable.Load(18, "igShowDebugLogWindow"); + funcTable.Load(19, "igShowStackToolWindow"); + funcTable.Load(20, "igShowAboutWindow"); + funcTable.Load(21, "igShowStyleEditor"); + funcTable.Load(22, "igShowStyleSelector"); + funcTable.Load(23, "igShowFontSelector"); + funcTable.Load(24, "igShowUserGuide"); + funcTable.Load(25, "igGetVersion"); + funcTable.Load(26, "igStyleColorsDark"); + funcTable.Load(27, "igStyleColorsLight"); + funcTable.Load(28, "igStyleColorsClassic"); + funcTable.Load(29, "igBegin"); + funcTable.Load(30, "igEnd"); + funcTable.Load(31, "igBeginChild_Str"); + funcTable.Load(32, "igBeginChild_ID"); + funcTable.Load(33, "igEndChild"); + funcTable.Load(34, "igIsWindowAppearing"); + funcTable.Load(35, "igIsWindowCollapsed"); + funcTable.Load(36, "igIsWindowFocused"); + funcTable.Load(37, "igIsWindowHovered"); + funcTable.Load(38, "igGetWindowDrawList"); + funcTable.Load(39, "igGetWindowDpiScale"); + funcTable.Load(40, "igGetWindowPos"); + funcTable.Load(41, "igGetWindowSize"); + funcTable.Load(42, "igGetWindowWidth"); + funcTable.Load(43, "igGetWindowHeight"); + funcTable.Load(44, "igGetWindowViewport"); + funcTable.Load(45, "igSetNextWindowPos"); + funcTable.Load(46, "igSetNextWindowSize"); + funcTable.Load(47, "igSetNextWindowSizeConstraints"); + funcTable.Load(48, "igSetNextWindowContentSize"); + funcTable.Load(49, "igSetNextWindowCollapsed"); + funcTable.Load(50, "igSetNextWindowFocus"); + funcTable.Load(51, "igSetNextWindowBgAlpha"); + funcTable.Load(52, "igSetNextWindowViewport"); + funcTable.Load(53, "igSetWindowPos_Vec2"); + funcTable.Load(54, "igSetWindowSize_Vec2"); + funcTable.Load(55, "igSetWindowCollapsed_Bool"); + funcTable.Load(56, "igSetWindowFocus_Nil"); + funcTable.Load(57, "igSetWindowFontScale"); + funcTable.Load(58, "igSetWindowPos_Str"); + funcTable.Load(59, "igSetWindowSize_Str"); + funcTable.Load(60, "igSetWindowCollapsed_Str"); + funcTable.Load(61, "igSetWindowFocus_Str"); + funcTable.Load(62, "igGetContentRegionAvail"); + funcTable.Load(63, "igGetContentRegionMax"); + funcTable.Load(64, "igGetWindowContentRegionMin"); + funcTable.Load(65, "igGetWindowContentRegionMax"); + funcTable.Load(66, "igGetScrollX"); + funcTable.Load(67, "igGetScrollY"); + funcTable.Load(68, "igSetScrollX_Float"); + funcTable.Load(69, "igSetScrollY_Float"); + funcTable.Load(70, "igGetScrollMaxX"); + funcTable.Load(71, "igGetScrollMaxY"); + funcTable.Load(72, "igSetScrollHereX"); + funcTable.Load(73, "igSetScrollHereY"); + funcTable.Load(74, "igSetScrollFromPosX_Float"); + funcTable.Load(75, "igSetScrollFromPosY_Float"); + funcTable.Load(76, "igPushFont"); + funcTable.Load(77, "igPopFont"); + funcTable.Load(78, "igPushStyleColor_U32"); + funcTable.Load(79, "igPushStyleColor_Vec4"); + funcTable.Load(80, "igPopStyleColor"); + funcTable.Load(81, "igPushStyleVar_Float"); + funcTable.Load(82, "igPushStyleVar_Vec2"); + funcTable.Load(83, "igPopStyleVar"); + funcTable.Load(84, "igPushAllowKeyboardFocus"); + funcTable.Load(85, "igPopAllowKeyboardFocus"); + funcTable.Load(86, "igPushButtonRepeat"); + funcTable.Load(87, "igPopButtonRepeat"); + funcTable.Load(88, "igPushItemWidth"); + funcTable.Load(89, "igPopItemWidth"); + funcTable.Load(90, "igSetNextItemWidth"); + funcTable.Load(91, "igCalcItemWidth"); + funcTable.Load(92, "igPushTextWrapPos"); + funcTable.Load(93, "igPopTextWrapPos"); + funcTable.Load(94, "igGetFont"); + funcTable.Load(95, "igGetFontSize"); + funcTable.Load(96, "igGetFontTexUvWhitePixel"); + funcTable.Load(97, "igGetColorU32_Col"); + funcTable.Load(98, "igGetColorU32_Vec4"); + funcTable.Load(99, "igGetColorU32_U32"); + funcTable.Load(100, "igGetStyleColorVec4"); + funcTable.Load(101, "igSeparator"); + funcTable.Load(102, "igSameLine"); + funcTable.Load(103, "igNewLine"); + funcTable.Load(104, "igSpacing"); + funcTable.Load(105, "igDummy"); + funcTable.Load(106, "igIndent"); + funcTable.Load(107, "igUnindent"); + funcTable.Load(108, "igBeginGroup"); + funcTable.Load(109, "igEndGroup"); + funcTable.Load(110, "igGetCursorPos"); + funcTable.Load(111, "igGetCursorPosX"); + funcTable.Load(112, "igGetCursorPosY"); + funcTable.Load(113, "igSetCursorPos"); + funcTable.Load(114, "igSetCursorPosX"); + funcTable.Load(115, "igSetCursorPosY"); + funcTable.Load(116, "igGetCursorStartPos"); + funcTable.Load(117, "igGetCursorScreenPos"); + funcTable.Load(118, "igSetCursorScreenPos"); + funcTable.Load(119, "igAlignTextToFramePadding"); + funcTable.Load(120, "igGetTextLineHeight"); + funcTable.Load(121, "igGetTextLineHeightWithSpacing"); + funcTable.Load(122, "igGetFrameHeight"); + funcTable.Load(123, "igGetFrameHeightWithSpacing"); + funcTable.Load(124, "igPushID_Str"); + funcTable.Load(125, "igPushID_StrStr"); + funcTable.Load(126, "igPushID_Ptr"); + funcTable.Load(127, "igPushID_Int"); + funcTable.Load(128, "igPopID"); + funcTable.Load(129, "igGetID_Str"); + funcTable.Load(130, "igGetID_StrStr"); + funcTable.Load(131, "igGetID_Ptr"); + funcTable.Load(132, "igTextUnformatted"); + funcTable.Load(133, "igText"); + funcTable.Load(134, "igTextV"); + funcTable.Load(135, "igTextColored"); + funcTable.Load(136, "igTextColoredV"); + funcTable.Load(137, "igTextDisabled"); + funcTable.Load(138, "igTextDisabledV"); + funcTable.Load(139, "igTextWrapped"); + funcTable.Load(140, "igTextWrappedV"); + funcTable.Load(141, "igLabelText"); + funcTable.Load(142, "igLabelTextV"); + funcTable.Load(143, "igBulletText"); + funcTable.Load(144, "igBulletTextV"); + funcTable.Load(145, "igButton"); + funcTable.Load(146, "igSmallButton"); + funcTable.Load(147, "igInvisibleButton"); + funcTable.Load(148, "igArrowButton"); + funcTable.Load(149, "igImage"); + funcTable.Load(150, "igImageButton"); + funcTable.Load(151, "igCheckbox"); + funcTable.Load(152, "igCheckboxFlags_IntPtr"); + funcTable.Load(153, "igCheckboxFlags_UintPtr"); + funcTable.Load(154, "igRadioButton_Bool"); + funcTable.Load(155, "igRadioButton_IntPtr"); + funcTable.Load(156, "igProgressBar"); + funcTable.Load(157, "igBullet"); + funcTable.Load(158, "igBeginCombo"); + funcTable.Load(159, "igEndCombo"); + funcTable.Load(160, "igCombo_Str_arr"); + funcTable.Load(161, "igCombo_Str"); + funcTable.Load(162, "igCombo_FnBoolPtr"); + funcTable.Load(163, "igDragFloat"); + funcTable.Load(164, "igDragFloat2"); + funcTable.Load(165, "igDragFloat3"); + funcTable.Load(166, "igDragFloat4"); + funcTable.Load(167, "igDragFloatRange2"); + funcTable.Load(168, "igDragInt"); + funcTable.Load(169, "igDragInt2"); + funcTable.Load(170, "igDragInt3"); + funcTable.Load(171, "igDragInt4"); + funcTable.Load(172, "igDragIntRange2"); + funcTable.Load(173, "igDragScalar"); + funcTable.Load(174, "igDragScalarN"); + funcTable.Load(175, "igSliderFloat"); + funcTable.Load(176, "igSliderFloat2"); + funcTable.Load(177, "igSliderFloat3"); + funcTable.Load(178, "igSliderFloat4"); + funcTable.Load(179, "igSliderAngle"); + funcTable.Load(180, "igSliderInt"); + funcTable.Load(181, "igSliderInt2"); + funcTable.Load(182, "igSliderInt3"); + funcTable.Load(183, "igSliderInt4"); + funcTable.Load(184, "igSliderScalar"); + funcTable.Load(185, "igSliderScalarN"); + funcTable.Load(186, "igVSliderFloat"); + funcTable.Load(187, "igVSliderInt"); + funcTable.Load(188, "igVSliderScalar"); + funcTable.Load(189, "igInputFloat"); + funcTable.Load(190, "igInputFloat2"); + funcTable.Load(191, "igInputFloat3"); + funcTable.Load(192, "igInputFloat4"); + funcTable.Load(193, "igInputInt"); + funcTable.Load(194, "igInputInt2"); + funcTable.Load(195, "igInputInt3"); + funcTable.Load(196, "igInputInt4"); + funcTable.Load(197, "igInputDouble"); + funcTable.Load(198, "igInputScalar"); + funcTable.Load(199, "igInputScalarN"); + funcTable.Load(200, "igColorEdit3"); + funcTable.Load(201, "igColorEdit4"); + funcTable.Load(202, "igColorPicker3"); + funcTable.Load(203, "igColorPicker4"); + funcTable.Load(204, "igColorButton"); + funcTable.Load(205, "igSetColorEditOptions"); + funcTable.Load(206, "igTreeNode_Str"); + funcTable.Load(207, "igTreeNode_StrStr"); + funcTable.Load(208, "igTreeNode_Ptr"); + funcTable.Load(209, "igTreeNodeV_Str"); + funcTable.Load(210, "igTreeNodeV_Ptr"); + funcTable.Load(211, "igTreeNodeEx_Str"); + funcTable.Load(212, "igTreeNodeEx_StrStr"); + funcTable.Load(213, "igTreeNodeEx_Ptr"); + funcTable.Load(214, "igTreeNodeExV_Str"); + funcTable.Load(215, "igTreeNodeExV_Ptr"); + funcTable.Load(216, "igTreePush_Str"); + funcTable.Load(217, "igTreePush_Ptr"); + funcTable.Load(218, "igTreePop"); + funcTable.Load(219, "igGetTreeNodeToLabelSpacing"); + funcTable.Load(220, "igCollapsingHeader_TreeNodeFlags"); + funcTable.Load(221, "igCollapsingHeader_BoolPtr"); + funcTable.Load(222, "igSetNextItemOpen"); + funcTable.Load(223, "igSelectable_Bool"); + funcTable.Load(224, "igSelectable_BoolPtr"); + funcTable.Load(225, "igBeginListBox"); + funcTable.Load(226, "igEndListBox"); + funcTable.Load(227, "igListBox_Str_arr"); + funcTable.Load(228, "igListBox_FnBoolPtr"); + funcTable.Load(229, "igPlotLines_FloatPtr"); + funcTable.Load(230, "igPlotLines_FnFloatPtr"); + funcTable.Load(231, "igPlotHistogram_FloatPtr"); + funcTable.Load(232, "igPlotHistogram_FnFloatPtr"); + funcTable.Load(233, "igValue_Bool"); + funcTable.Load(234, "igValue_Int"); + funcTable.Load(235, "igValue_Uint"); + funcTable.Load(236, "igValue_Float"); + funcTable.Load(237, "igBeginMenuBar"); + funcTable.Load(238, "igEndMenuBar"); + funcTable.Load(239, "igBeginMainMenuBar"); + funcTable.Load(240, "igEndMainMenuBar"); + funcTable.Load(241, "igBeginMenu"); + funcTable.Load(242, "igEndMenu"); + funcTable.Load(243, "igMenuItem_Bool"); + funcTable.Load(244, "igMenuItem_BoolPtr"); + funcTable.Load(245, "igBeginTooltip"); + funcTable.Load(246, "igEndTooltip"); + funcTable.Load(247, "igSetTooltip"); + funcTable.Load(248, "igSetTooltipV"); + funcTable.Load(249, "igBeginPopup"); + funcTable.Load(250, "igBeginPopupModal"); + funcTable.Load(251, "igEndPopup"); + funcTable.Load(252, "igOpenPopup_Str"); + funcTable.Load(253, "igOpenPopup_ID"); + funcTable.Load(254, "igOpenPopupOnItemClick"); + funcTable.Load(255, "igCloseCurrentPopup"); + funcTable.Load(256, "igBeginPopupContextItem"); + funcTable.Load(257, "igBeginPopupContextWindow"); + funcTable.Load(258, "igBeginPopupContextVoid"); + funcTable.Load(259, "igIsPopupOpen_Str"); + funcTable.Load(260, "igBeginTable"); + funcTable.Load(261, "igEndTable"); + funcTable.Load(262, "igTableNextRow"); + funcTable.Load(263, "igTableNextColumn"); + funcTable.Load(264, "igTableSetColumnIndex"); + funcTable.Load(265, "igTableSetupColumn"); + funcTable.Load(266, "igTableSetupScrollFreeze"); + funcTable.Load(267, "igTableHeadersRow"); + funcTable.Load(268, "igTableHeader"); + funcTable.Load(269, "igTableGetSortSpecs"); + funcTable.Load(270, "igTableGetColumnCount"); + funcTable.Load(271, "igTableGetColumnIndex"); + funcTable.Load(272, "igTableGetRowIndex"); + funcTable.Load(273, "igTableGetColumnName_Int"); + funcTable.Load(274, "igTableGetColumnFlags"); + funcTable.Load(275, "igTableSetColumnEnabled"); + funcTable.Load(276, "igTableSetBgColor"); + funcTable.Load(277, "igColumns"); + funcTable.Load(278, "igNextColumn"); + funcTable.Load(279, "igGetColumnIndex"); + funcTable.Load(280, "igGetColumnWidth"); + funcTable.Load(281, "igSetColumnWidth"); + funcTable.Load(282, "igGetColumnOffset"); + funcTable.Load(283, "igSetColumnOffset"); + funcTable.Load(284, "igGetColumnsCount"); + funcTable.Load(285, "igBeginTabBar"); + funcTable.Load(286, "igEndTabBar"); + funcTable.Load(287, "igBeginTabItem"); + funcTable.Load(288, "igEndTabItem"); + funcTable.Load(289, "igTabItemButton"); + funcTable.Load(290, "igSetTabItemClosed"); + funcTable.Load(291, "igDockSpace"); + funcTable.Load(292, "igDockSpaceOverViewport"); + funcTable.Load(293, "igSetNextWindowDockID"); + funcTable.Load(294, "igSetNextWindowClass"); + funcTable.Load(295, "igGetWindowDockID"); + funcTable.Load(296, "igIsWindowDocked"); + funcTable.Load(297, "igLogToTTY"); + funcTable.Load(298, "igLogToFile"); + funcTable.Load(299, "igLogToClipboard"); + funcTable.Load(300, "igLogFinish"); + funcTable.Load(301, "igLogButtons"); + funcTable.Load(302, "igLogTextV"); + funcTable.Load(303, "igBeginDragDropSource"); + funcTable.Load(304, "igSetDragDropPayload"); + funcTable.Load(305, "igEndDragDropSource"); + funcTable.Load(306, "igBeginDragDropTarget"); + funcTable.Load(307, "igAcceptDragDropPayload"); + funcTable.Load(308, "igEndDragDropTarget"); + funcTable.Load(309, "igGetDragDropPayload"); + funcTable.Load(310, "igBeginDisabled"); + funcTable.Load(311, "igEndDisabled"); + funcTable.Load(312, "igPushClipRect"); + funcTable.Load(313, "igPopClipRect"); + funcTable.Load(314, "igSetItemDefaultFocus"); + funcTable.Load(315, "igSetKeyboardFocusHere"); + funcTable.Load(316, "igIsItemHovered"); + funcTable.Load(317, "igIsItemActive"); + funcTable.Load(318, "igIsItemFocused"); + funcTable.Load(319, "igIsItemClicked"); + funcTable.Load(320, "igIsItemVisible"); + funcTable.Load(321, "igIsItemEdited"); + funcTable.Load(322, "igIsItemActivated"); + funcTable.Load(323, "igIsItemDeactivated"); + funcTable.Load(324, "igIsItemDeactivatedAfterEdit"); + funcTable.Load(325, "igIsItemToggledOpen"); + funcTable.Load(326, "igIsAnyItemHovered"); + funcTable.Load(327, "igIsAnyItemActive"); + funcTable.Load(328, "igIsAnyItemFocused"); + funcTable.Load(329, "igGetItemRectMin"); + funcTable.Load(330, "igGetItemRectMax"); + funcTable.Load(331, "igGetItemRectSize"); + funcTable.Load(332, "igSetItemAllowOverlap"); + funcTable.Load(333, "igGetMainViewport"); + funcTable.Load(334, "igGetBackgroundDrawList_Nil"); + funcTable.Load(335, "igGetForegroundDrawList_Nil"); + funcTable.Load(336, "igGetBackgroundDrawList_ViewportPtr"); + funcTable.Load(337, "igGetForegroundDrawList_ViewportPtr"); + funcTable.Load(338, "igIsRectVisible_Nil"); + funcTable.Load(339, "igIsRectVisible_Vec2"); + funcTable.Load(340, "igGetTime"); + funcTable.Load(341, "igGetFrameCount"); + funcTable.Load(342, "igGetDrawListSharedData"); + funcTable.Load(343, "igGetStyleColorName"); + funcTable.Load(344, "igSetStateStorage"); + funcTable.Load(345, "igGetStateStorage"); + funcTable.Load(346, "igBeginChildFrame"); + funcTable.Load(347, "igEndChildFrame"); + funcTable.Load(348, "igCalcTextSize"); + funcTable.Load(349, "igColorConvertU32ToFloat4"); + funcTable.Load(350, "igColorConvertFloat4ToU32"); + funcTable.Load(351, "igColorConvertRGBtoHSV"); + funcTable.Load(352, "igColorConvertHSVtoRGB"); + funcTable.Load(353, "igIsKeyDown"); + funcTable.Load(354, "igIsKeyPressed"); + funcTable.Load(355, "igIsKeyReleased"); + funcTable.Load(356, "igGetKeyPressedAmount"); + funcTable.Load(357, "igGetKeyName"); + funcTable.Load(358, "igSetNextFrameWantCaptureKeyboard"); + funcTable.Load(359, "igIsMouseDown"); + funcTable.Load(360, "igIsMouseClicked"); + funcTable.Load(361, "igIsMouseReleased"); + funcTable.Load(362, "igIsMouseDoubleClicked"); + funcTable.Load(363, "igGetMouseClickedCount"); + funcTable.Load(364, "igIsMouseHoveringRect"); + funcTable.Load(365, "igIsMousePosValid"); + funcTable.Load(366, "igIsAnyMouseDown"); + funcTable.Load(367, "igGetMousePos"); + funcTable.Load(368, "igGetMousePosOnOpeningCurrentPopup"); + funcTable.Load(369, "igIsMouseDragging"); + funcTable.Load(370, "igGetMouseDragDelta"); + funcTable.Load(371, "igResetMouseDragDelta"); + funcTable.Load(372, "igGetMouseCursor"); + funcTable.Load(373, "igSetMouseCursor"); + funcTable.Load(374, "igSetNextFrameWantCaptureMouse"); + funcTable.Load(375, "igGetClipboardText"); + funcTable.Load(376, "igSetClipboardText"); + funcTable.Load(377, "igLoadIniSettingsFromDisk"); + funcTable.Load(378, "igLoadIniSettingsFromMemory"); + funcTable.Load(379, "igSaveIniSettingsToDisk"); + funcTable.Load(380, "igSaveIniSettingsToMemory"); + funcTable.Load(381, "igDebugTextEncoding"); + funcTable.Load(382, "igDebugCheckVersionAndDataLayout"); + funcTable.Load(383, "igSetAllocatorFunctions"); + funcTable.Load(384, "igGetAllocatorFunctions"); + funcTable.Load(385, "igMemAlloc"); + funcTable.Load(386, "igMemFree"); + funcTable.Load(387, "igGetPlatformIO"); + funcTable.Load(388, "igUpdatePlatformWindows"); + funcTable.Load(389, "igRenderPlatformWindowsDefault"); + funcTable.Load(390, "igDestroyPlatformWindows"); + funcTable.Load(391, "igFindViewportByID"); + funcTable.Load(392, "igFindViewportByPlatformHandle"); + funcTable.Load(393, "ImGuiStyle_ImGuiStyle"); + funcTable.Load(394, "ImGuiStyle_destroy"); + funcTable.Load(395, "ImGuiStyle_ScaleAllSizes"); + funcTable.Load(396, "ImGuiIO_AddKeyEvent"); + funcTable.Load(397, "ImGuiIO_AddKeyAnalogEvent"); + funcTable.Load(398, "ImGuiIO_AddMousePosEvent"); + funcTable.Load(399, "ImGuiIO_AddMouseButtonEvent"); + funcTable.Load(400, "ImGuiIO_AddMouseWheelEvent"); + funcTable.Load(401, "ImGuiIO_AddMouseViewportEvent"); + funcTable.Load(402, "ImGuiIO_AddFocusEvent"); + funcTable.Load(403, "ImGuiIO_AddInputCharacter"); + funcTable.Load(404, "ImGuiIO_AddInputCharacterUTF16"); + funcTable.Load(405, "ImGuiIO_AddInputCharactersUTF8"); + funcTable.Load(406, "ImGuiIO_SetKeyEventNativeData"); + funcTable.Load(407, "ImGuiIO_SetAppAcceptingEvents"); + funcTable.Load(408, "ImGuiIO_ClearInputCharacters"); + funcTable.Load(409, "ImGuiIO_ClearInputKeys"); + funcTable.Load(410, "ImGuiIO_ImGuiIO"); + funcTable.Load(411, "ImGuiIO_destroy"); + funcTable.Load(412, "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"); + funcTable.Load(413, "ImGuiInputTextCallbackData_destroy"); + funcTable.Load(414, "ImGuiInputTextCallbackData_DeleteChars"); + funcTable.Load(415, "ImGuiInputTextCallbackData_InsertChars"); + funcTable.Load(416, "ImGuiInputTextCallbackData_SelectAll"); + funcTable.Load(417, "ImGuiInputTextCallbackData_ClearSelection"); + funcTable.Load(418, "ImGuiInputTextCallbackData_HasSelection"); + funcTable.Load(419, "ImGuiWindowClass_ImGuiWindowClass"); + funcTable.Load(420, "ImGuiWindowClass_destroy"); + funcTable.Load(421, "ImGuiPayload_ImGuiPayload"); + funcTable.Load(422, "ImGuiPayload_destroy"); + funcTable.Load(423, "ImGuiPayload_Clear"); + funcTable.Load(424, "ImGuiPayload_IsDataType"); + funcTable.Load(425, "ImGuiPayload_IsPreview"); + funcTable.Load(426, "ImGuiPayload_IsDelivery"); + funcTable.Load(427, "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"); + funcTable.Load(428, "ImGuiTableColumnSortSpecs_destroy"); + funcTable.Load(429, "ImGuiTableSortSpecs_ImGuiTableSortSpecs"); + funcTable.Load(430, "ImGuiTableSortSpecs_destroy"); + funcTable.Load(431, "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"); + funcTable.Load(432, "ImGuiOnceUponAFrame_destroy"); + funcTable.Load(433, "ImGuiTextFilter_ImGuiTextFilter"); + funcTable.Load(434, "ImGuiTextFilter_destroy"); + funcTable.Load(435, "ImGuiTextFilter_Draw"); + funcTable.Load(436, "ImGuiTextFilter_PassFilter"); + funcTable.Load(437, "ImGuiTextFilter_Build"); + funcTable.Load(438, "ImGuiTextFilter_Clear"); + funcTable.Load(439, "ImGuiTextFilter_IsActive"); + funcTable.Load(440, "ImGuiTextRange_ImGuiTextRange_Nil"); + funcTable.Load(441, "ImGuiTextRange_destroy"); + funcTable.Load(442, "ImGuiTextRange_ImGuiTextRange_Str"); + funcTable.Load(443, "ImGuiTextRange_empty"); + funcTable.Load(444, "ImGuiTextRange_split"); + funcTable.Load(445, "ImGuiTextBuffer_ImGuiTextBuffer"); + funcTable.Load(446, "ImGuiTextBuffer_destroy"); + funcTable.Load(447, "ImGuiTextBuffer_begin"); + funcTable.Load(448, "ImGuiTextBuffer_end"); + funcTable.Load(449, "ImGuiTextBuffer_size"); + funcTable.Load(450, "ImGuiTextBuffer_empty"); + funcTable.Load(451, "ImGuiTextBuffer_clear"); + funcTable.Load(452, "ImGuiTextBuffer_reserve"); + funcTable.Load(453, "ImGuiTextBuffer_c_str"); + funcTable.Load(454, "ImGuiTextBuffer_append"); + funcTable.Load(455, "ImGuiTextBuffer_appendfv"); + funcTable.Load(456, "ImGuiStoragePair_ImGuiStoragePair_Int"); + funcTable.Load(457, "ImGuiStoragePair_destroy"); + funcTable.Load(458, "ImGuiStoragePair_ImGuiStoragePair_Float"); + funcTable.Load(459, "ImGuiStoragePair_ImGuiStoragePair_Ptr"); + funcTable.Load(460, "ImGuiStorage_Clear"); + funcTable.Load(461, "ImGuiStorage_GetInt"); + funcTable.Load(462, "ImGuiStorage_SetInt"); + funcTable.Load(463, "ImGuiStorage_GetBool"); + funcTable.Load(464, "ImGuiStorage_SetBool"); + funcTable.Load(465, "ImGuiStorage_GetFloat"); + funcTable.Load(466, "ImGuiStorage_SetFloat"); + funcTable.Load(467, "ImGuiStorage_GetVoidPtr"); + funcTable.Load(468, "ImGuiStorage_SetVoidPtr"); + funcTable.Load(469, "ImGuiStorage_GetIntRef"); + funcTable.Load(470, "ImGuiStorage_GetBoolRef"); + funcTable.Load(471, "ImGuiStorage_GetFloatRef"); + funcTable.Load(472, "ImGuiStorage_GetVoidPtrRef"); + funcTable.Load(473, "ImGuiStorage_SetAllInt"); + funcTable.Load(474, "ImGuiStorage_BuildSortByKey"); + funcTable.Load(475, "ImGuiListClipper_ImGuiListClipper"); + funcTable.Load(476, "ImGuiListClipper_destroy"); + funcTable.Load(477, "ImGuiListClipper_Begin"); + funcTable.Load(478, "ImGuiListClipper_End"); + funcTable.Load(479, "ImGuiListClipper_Step"); + funcTable.Load(480, "ImGuiListClipper_ForceDisplayRangeByIndices"); + funcTable.Load(481, "ImColor_ImColor_Nil"); + funcTable.Load(482, "ImColor_destroy"); + funcTable.Load(483, "ImColor_ImColor_Float"); + funcTable.Load(484, "ImColor_ImColor_Vec4"); + funcTable.Load(485, "ImColor_ImColor_Int"); + funcTable.Load(486, "ImColor_ImColor_U32"); + funcTable.Load(487, "ImColor_SetHSV"); + funcTable.Load(488, "ImColor_HSV"); + funcTable.Load(489, "ImDrawCmd_ImDrawCmd"); + funcTable.Load(490, "ImDrawCmd_destroy"); + funcTable.Load(491, "ImDrawCmd_GetTexID"); + funcTable.Load(492, "ImDrawListSplitter_ImDrawListSplitter"); + funcTable.Load(493, "ImDrawListSplitter_destroy"); + funcTable.Load(494, "ImDrawListSplitter_Clear"); + funcTable.Load(495, "ImDrawListSplitter_ClearFreeMemory"); + funcTable.Load(496, "ImDrawListSplitter_Split"); + funcTable.Load(497, "ImDrawListSplitter_Merge"); + funcTable.Load(498, "ImDrawListSplitter_SetCurrentChannel"); + funcTable.Load(499, "ImDrawList_ImDrawList"); + funcTable.Load(500, "ImDrawList_destroy"); + funcTable.Load(501, "ImDrawList_PushClipRect"); + funcTable.Load(502, "ImDrawList_PushClipRectFullScreen"); + funcTable.Load(503, "ImDrawList_PopClipRect"); + funcTable.Load(504, "ImDrawList_PushTextureID"); + funcTable.Load(505, "ImDrawList_PopTextureID"); + funcTable.Load(506, "ImDrawList_GetClipRectMin"); + funcTable.Load(507, "ImDrawList_GetClipRectMax"); + funcTable.Load(508, "ImDrawList_AddLine"); + funcTable.Load(509, "ImDrawList_AddRect"); + funcTable.Load(510, "ImDrawList_AddRectFilled"); + funcTable.Load(511, "ImDrawList_AddRectFilledMultiColor"); + funcTable.Load(512, "ImDrawList_AddQuad"); + funcTable.Load(513, "ImDrawList_AddQuadFilled"); + funcTable.Load(514, "ImDrawList_AddTriangle"); + funcTable.Load(515, "ImDrawList_AddTriangleFilled"); + funcTable.Load(516, "ImDrawList_AddCircle"); + funcTable.Load(517, "ImDrawList_AddCircleFilled"); + funcTable.Load(518, "ImDrawList_AddNgon"); + funcTable.Load(519, "ImDrawList_AddNgonFilled"); + funcTable.Load(520, "ImDrawList_AddText_Vec2"); + funcTable.Load(521, "ImDrawList_AddText_FontPtr"); + funcTable.Load(522, "ImDrawList_AddPolyline"); + funcTable.Load(523, "ImDrawList_AddConvexPolyFilled"); + funcTable.Load(524, "ImDrawList_AddBezierCubic"); + funcTable.Load(525, "ImDrawList_AddBezierQuadratic"); + funcTable.Load(526, "ImDrawList_AddImage"); + funcTable.Load(527, "ImDrawList_AddImageQuad"); + funcTable.Load(528, "ImDrawList_AddImageRounded"); + funcTable.Load(529, "ImDrawList_PathClear"); + funcTable.Load(530, "ImDrawList_PathLineTo"); + funcTable.Load(531, "ImDrawList_PathLineToMergeDuplicate"); + funcTable.Load(532, "ImDrawList_PathFillConvex"); + funcTable.Load(533, "ImDrawList_PathStroke"); + funcTable.Load(534, "ImDrawList_PathArcTo"); + funcTable.Load(535, "ImDrawList_PathArcToFast"); + funcTable.Load(536, "ImDrawList_PathBezierCubicCurveTo"); + funcTable.Load(537, "ImDrawList_PathBezierQuadraticCurveTo"); + funcTable.Load(538, "ImDrawList_PathRect"); + funcTable.Load(539, "ImDrawList_AddCallback"); + funcTable.Load(540, "ImDrawList_AddDrawCmd"); + funcTable.Load(541, "ImDrawList_CloneOutput"); + funcTable.Load(542, "ImDrawList_ChannelsSplit"); + funcTable.Load(543, "ImDrawList_ChannelsMerge"); + funcTable.Load(544, "ImDrawList_ChannelsSetCurrent"); + funcTable.Load(545, "ImDrawList_PrimReserve"); + funcTable.Load(546, "ImDrawList_PrimUnreserve"); + funcTable.Load(547, "ImDrawList_PrimRect"); + funcTable.Load(548, "ImDrawList_PrimRectUV"); + funcTable.Load(549, "ImDrawList_PrimQuadUV"); + funcTable.Load(550, "ImDrawList_PrimWriteVtx"); + funcTable.Load(551, "ImDrawList_PrimWriteIdx"); + funcTable.Load(552, "ImDrawList_PrimVtx"); + funcTable.Load(553, "ImDrawList__ResetForNewFrame"); + funcTable.Load(554, "ImDrawList__ClearFreeMemory"); + funcTable.Load(555, "ImDrawList__PopUnusedDrawCmd"); + funcTable.Load(556, "ImDrawList__TryMergeDrawCmds"); + funcTable.Load(557, "ImDrawList__OnChangedClipRect"); + funcTable.Load(558, "ImDrawList__OnChangedTextureID"); + funcTable.Load(559, "ImDrawList__OnChangedVtxOffset"); + funcTable.Load(560, "ImDrawList__CalcCircleAutoSegmentCount"); + funcTable.Load(561, "ImDrawList__PathArcToFastEx"); + funcTable.Load(562, "ImDrawList__PathArcToN"); + funcTable.Load(563, "ImDrawData_ImDrawData"); + funcTable.Load(564, "ImDrawData_destroy"); + funcTable.Load(565, "ImDrawData_Clear"); + funcTable.Load(566, "ImDrawData_DeIndexAllBuffers"); + funcTable.Load(567, "ImDrawData_ScaleClipRects"); + funcTable.Load(568, "ImFontConfig_ImFontConfig"); + funcTable.Load(569, "ImFontConfig_destroy"); + funcTable.Load(570, "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"); + funcTable.Load(571, "ImFontGlyphRangesBuilder_destroy"); + funcTable.Load(572, "ImFontGlyphRangesBuilder_Clear"); + funcTable.Load(573, "ImFontGlyphRangesBuilder_GetBit"); + funcTable.Load(574, "ImFontGlyphRangesBuilder_SetBit"); + funcTable.Load(575, "ImFontGlyphRangesBuilder_AddChar"); + funcTable.Load(576, "ImFontGlyphRangesBuilder_AddText"); + funcTable.Load(577, "ImFontGlyphRangesBuilder_AddRanges"); + funcTable.Load(578, "ImFontGlyphRangesBuilder_BuildRanges"); + funcTable.Load(579, "ImFontAtlasCustomRect_ImFontAtlasCustomRect"); + funcTable.Load(580, "ImFontAtlasCustomRect_destroy"); + funcTable.Load(581, "ImFontAtlasCustomRect_IsPacked"); + funcTable.Load(582, "ImFontAtlas_ImFontAtlas"); + funcTable.Load(583, "ImFontAtlas_destroy"); + funcTable.Load(584, "ImFontAtlas_AddFont"); + funcTable.Load(585, "ImFontAtlas_AddFontDefault"); + funcTable.Load(586, "ImFontAtlas_AddFontFromFileTTF"); + funcTable.Load(587, "ImFontAtlas_AddFontFromMemoryTTF"); + funcTable.Load(588, "ImFontAtlas_AddFontFromMemoryCompressedTTF"); + funcTable.Load(589, "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"); + funcTable.Load(590, "ImFontAtlas_ClearInputData"); + funcTable.Load(591, "ImFontAtlas_ClearTexData"); + funcTable.Load(592, "ImFontAtlas_ClearFonts"); + funcTable.Load(593, "ImFontAtlas_Clear"); + funcTable.Load(594, "ImFontAtlas_Build"); + funcTable.Load(595, "ImFontAtlas_GetTexDataAsAlpha8"); + funcTable.Load(596, "ImFontAtlas_GetTexDataAsRGBA32"); + funcTable.Load(597, "ImFontAtlas_IsBuilt"); + funcTable.Load(598, "ImFontAtlas_SetTexID"); + funcTable.Load(599, "ImFontAtlas_ClearTexID"); + funcTable.Load(600, "ImFontAtlas_GetGlyphRangesDefault"); + funcTable.Load(601, "ImFontAtlas_GetGlyphRangesKorean"); + funcTable.Load(602, "ImFontAtlas_GetGlyphRangesJapanese"); + funcTable.Load(603, "ImFontAtlas_GetGlyphRangesChineseFull"); + funcTable.Load(604, "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"); + funcTable.Load(605, "ImFontAtlas_GetGlyphRangesCyrillic"); + funcTable.Load(606, "ImFontAtlas_GetGlyphRangesThai"); + funcTable.Load(607, "ImFontAtlas_GetGlyphRangesVietnamese"); + funcTable.Load(608, "ImFontAtlas_AddCustomRectRegular"); + funcTable.Load(609, "ImFontAtlas_AddCustomRectFontGlyph"); + funcTable.Load(610, "ImFontAtlas_GetCustomRectByIndex"); + funcTable.Load(611, "ImFontAtlas_CalcCustomRectUV"); + funcTable.Load(612, "ImFontAtlas_GetMouseCursorTexData"); + funcTable.Load(613, "ImFont_ImFont"); + funcTable.Load(614, "ImFont_destroy"); + funcTable.Load(615, "ImFont_FindGlyph"); + funcTable.Load(616, "ImFont_FindGlyphNoFallback"); + funcTable.Load(617, "ImFont_GetDistanceAdjustmentForPair"); + funcTable.Load(618, "ImFont_GetCharAdvance"); + funcTable.Load(619, "ImFont_IsLoaded"); + funcTable.Load(620, "ImFont_GetDebugName"); + funcTable.Load(621, "ImFont_CalcTextSizeA"); + funcTable.Load(622, "ImFont_CalcWordWrapPositionA"); + funcTable.Load(623, "ImFont_RenderChar"); + funcTable.Load(624, "ImFont_RenderText"); + funcTable.Load(625, "ImFont_BuildLookupTable"); + funcTable.Load(626, "ImFont_ClearOutputData"); + funcTable.Load(627, "ImFont_GrowIndex"); + funcTable.Load(628, "ImFont_AddGlyph"); + funcTable.Load(629, "ImFont_AddRemapChar"); + funcTable.Load(630, "ImFont_SetGlyphVisible"); + funcTable.Load(631, "ImFont_IsGlyphRangeUnused"); + funcTable.Load(632, "ImFont_AddKerningPair"); + funcTable.Load(633, "ImFont_GetDistanceAdjustmentForPairFromHotData"); + funcTable.Load(634, "ImGuiViewport_ImGuiViewport"); + funcTable.Load(635, "ImGuiViewport_destroy"); + funcTable.Load(636, "ImGuiViewport_GetCenter"); + funcTable.Load(637, "ImGuiViewport_GetWorkCenter"); + funcTable.Load(638, "ImGuiPlatformIO_ImGuiPlatformIO"); + funcTable.Load(639, "ImGuiPlatformIO_destroy"); + funcTable.Load(640, "ImGuiPlatformMonitor_ImGuiPlatformMonitor"); + funcTable.Load(641, "ImGuiPlatformMonitor_destroy"); + funcTable.Load(642, "ImGuiPlatformImeData_ImGuiPlatformImeData"); + funcTable.Load(643, "ImGuiPlatformImeData_destroy"); + funcTable.Load(644, "igGetKeyIndex"); + funcTable.Load(645, "ImVec1_destroy"); + funcTable.Load(646, "ImVec2ih_destroy"); + funcTable.Load(647, "ImRect_destroy"); + funcTable.Load(648, "ImDrawListSharedData_destroy"); + funcTable.Load(649, "ImGuiStyleMod_destroy"); + funcTable.Load(650, "ImGuiComboPreviewData_destroy"); + funcTable.Load(651, "ImGuiMenuColumns_destroy"); + funcTable.Load(652, "ImGuiInputTextState_destroy"); + funcTable.Load(653, "ImGuiPopupData_destroy"); + funcTable.Load(654, "ImGuiNextWindowData_destroy"); + funcTable.Load(655, "ImGuiNextItemData_destroy"); + funcTable.Load(656, "ImGuiLastItemData_destroy"); + funcTable.Load(657, "ImGuiStackSizes_ImGuiStackSizes"); + funcTable.Load(658, "ImGuiStackSizes_destroy"); + funcTable.Load(659, "ImGuiStackSizes_SetToCurrentState"); + funcTable.Load(660, "ImGuiStackSizes_CompareWithCurrentState"); + funcTable.Load(661, "ImGuiPtrOrIndex_destroy"); + funcTable.Load(662, "ImGuiInputEvent_destroy"); + funcTable.Load(663, "ImGuiListClipperData_destroy"); + funcTable.Load(664, "ImGuiNavItemData_destroy"); + funcTable.Load(665, "ImGuiOldColumnData_destroy"); + funcTable.Load(666, "ImGuiOldColumns_destroy"); + funcTable.Load(667, "ImGuiDockContext_destroy"); + funcTable.Load(668, "ImGuiWindowSettings_destroy"); + funcTable.Load(669, "ImGuiSettingsHandler_destroy"); + funcTable.Load(670, "ImGuiMetricsConfig_destroy"); + funcTable.Load(671, "ImGuiStackLevelInfo_destroy"); + funcTable.Load(672, "ImGuiStackTool_ImGuiStackTool"); + funcTable.Load(673, "ImGuiStackTool_destroy"); + funcTable.Load(674, "ImGuiContextHook_destroy"); + funcTable.Load(675, "ImGuiContext_destroy"); + funcTable.Load(676, "ImGuiTabItem_destroy"); + funcTable.Load(677, "ImGuiTabBar_destroy"); + funcTable.Load(678, "ImGuiTableColumn_destroy"); + funcTable.Load(679, "ImGuiTableInstanceData_destroy"); + funcTable.Load(680, "ImGuiTableTempData_destroy"); + funcTable.Load(681, "ImGuiTableColumnSettings_destroy"); + funcTable.Load(682, "ImGuiTableSettings_destroy"); + funcTable.Load(683, "igLogText"); + funcTable.Load(684, "ImGuiTextBuffer_appendf"); + funcTable.Load(685, "igGET_FLT_MAX"); + funcTable.Load(686, "igGET_FLT_MIN"); + funcTable.Load(687, "ImVector_ImWchar_create"); + funcTable.Load(688, "ImVector_ImWchar_destroy"); + funcTable.Load(689, "ImVector_ImWchar_Init"); + funcTable.Load(690, "ImVector_ImWchar_UnInit"); + funcTable.Load(691, "igImHashData"); + funcTable.Load(692, "igImHashStr"); + funcTable.Load(693, "igImQsort"); + funcTable.Load(694, "igImAlphaBlendColors"); + funcTable.Load(695, "igImIsPowerOfTwo_Int"); + funcTable.Load(696, "igImIsPowerOfTwo_U64"); + funcTable.Load(697, "igImUpperPowerOfTwo"); + funcTable.Load(698, "igImStricmp"); + funcTable.Load(699, "igImStrnicmp"); + funcTable.Load(700, "igImStrncpy"); + funcTable.Load(701, "igImStrdup"); + funcTable.Load(702, "igImStrdupcpy"); + funcTable.Load(703, "igImStrchrRange"); + funcTable.Load(704, "igImStrlenW"); + funcTable.Load(705, "igImStreolRange"); + funcTable.Load(706, "igImStrbolW"); + funcTable.Load(707, "igImStristr"); + funcTable.Load(708, "igImStrTrimBlanks"); + funcTable.Load(709, "igImStrSkipBlank"); + funcTable.Load(710, "igImCharIsBlankA"); + funcTable.Load(711, "igImCharIsBlankW"); + funcTable.Load(712, "igImFormatStringToTempBuffer"); + funcTable.Load(713, "igImFormatStringToTempBufferV"); + funcTable.Load(714, "igImParseFormatFindStart"); + funcTable.Load(715, "igImParseFormatFindEnd"); + funcTable.Load(716, "igImParseFormatSanitizeForPrinting"); + funcTable.Load(717, "igImParseFormatSanitizeForScanning"); + funcTable.Load(718, "igImParseFormatPrecision"); + funcTable.Load(719, "igImTextCharToUtf8"); + funcTable.Load(720, "igImTextCharFromUtf8"); + funcTable.Load(721, "igImTextCountCharsFromUtf8"); + funcTable.Load(722, "igImTextCountUtf8BytesFromChar"); + funcTable.Load(723, "igImTextCountUtf8BytesFromStr"); + funcTable.Load(724, "igImFileOpen"); + funcTable.Load(725, "igImFileClose"); + funcTable.Load(726, "igImFileGetSize"); + funcTable.Load(727, "igImFileRead"); + funcTable.Load(728, "igImFileWrite"); + funcTable.Load(729, "igImFileLoadToMemory"); + funcTable.Load(730, "igImPow_Float"); + funcTable.Load(731, "igImPow_double"); + funcTable.Load(732, "igImLog_Float"); + funcTable.Load(733, "igImLog_double"); + funcTable.Load(734, "igImAbs_Int"); + funcTable.Load(735, "igImAbs_Float"); + funcTable.Load(736, "igImAbs_double"); + funcTable.Load(737, "igImSign_Float"); + funcTable.Load(738, "igImSign_double"); + funcTable.Load(739, "igImRsqrt_Float"); + funcTable.Load(740, "igImRsqrt_double"); + funcTable.Load(741, "igImMin"); + funcTable.Load(742, "igImMax"); + funcTable.Load(743, "igImClamp"); + funcTable.Load(744, "igImLerp_Vec2Float"); + funcTable.Load(745, "igImLerp_Vec2Vec2"); + funcTable.Load(746, "igImLerp_Vec4"); + funcTable.Load(747, "igImSaturate"); + funcTable.Load(748, "igImLengthSqr_Vec2"); + funcTable.Load(749, "igImLengthSqr_Vec4"); + funcTable.Load(750, "igImInvLength"); + funcTable.Load(751, "igImFloor_Float"); + funcTable.Load(752, "igImFloorSigned_Float"); + funcTable.Load(753, "igImFloor_Vec2"); + funcTable.Load(754, "igImFloorSigned_Vec2"); + funcTable.Load(755, "igImModPositive"); + funcTable.Load(756, "igImDot"); + funcTable.Load(757, "igImRotate"); + funcTable.Load(758, "igImLinearSweep"); + funcTable.Load(759, "igImMul"); + funcTable.Load(760, "igImIsFloatAboveGuaranteedIntegerPrecision"); + funcTable.Load(761, "igImBezierCubicCalc"); + funcTable.Load(762, "igImBezierCubicClosestPoint"); + funcTable.Load(763, "igImBezierCubicClosestPointCasteljau"); + funcTable.Load(764, "igImBezierQuadraticCalc"); + funcTable.Load(765, "igImLineClosestPoint"); + funcTable.Load(766, "igImTriangleContainsPoint"); + funcTable.Load(767, "igImTriangleClosestPoint"); + funcTable.Load(768, "igImTriangleBarycentricCoords"); + funcTable.Load(769, "igImTriangleArea"); + funcTable.Load(770, "igImGetDirQuadrantFromDelta"); + funcTable.Load(771, "ImVec1_ImVec1_Nil"); + funcTable.Load(772, "ImVec1_ImVec1_Float"); + funcTable.Load(773, "ImVec2ih_ImVec2ih_Nil"); + funcTable.Load(774, "ImVec2ih_ImVec2ih_short"); + funcTable.Load(775, "ImVec2ih_ImVec2ih_Vec2"); + funcTable.Load(776, "ImRect_ImRect_Nil"); + funcTable.Load(777, "ImRect_ImRect_Vec2"); + funcTable.Load(778, "ImRect_ImRect_Vec4"); + funcTable.Load(779, "ImRect_ImRect_Float"); + funcTable.Load(780, "ImRect_GetCenter"); + funcTable.Load(781, "ImRect_GetSize"); + funcTable.Load(782, "ImRect_GetWidth"); + funcTable.Load(783, "ImRect_GetHeight"); + funcTable.Load(784, "ImRect_GetArea"); + funcTable.Load(785, "ImRect_GetTL"); + funcTable.Load(786, "ImRect_GetTR"); + funcTable.Load(787, "ImRect_GetBL"); + funcTable.Load(788, "ImRect_GetBR"); + funcTable.Load(789, "ImRect_Contains_Vec2"); + funcTable.Load(790, "ImRect_Contains_Rect"); + funcTable.Load(791, "ImRect_Overlaps"); + funcTable.Load(792, "ImRect_Add_Vec2"); + funcTable.Load(793, "ImRect_Add_Rect"); + funcTable.Load(794, "ImRect_Expand_Float"); + funcTable.Load(795, "ImRect_Expand_Vec2"); + funcTable.Load(796, "ImRect_Translate"); + funcTable.Load(797, "ImRect_TranslateX"); + funcTable.Load(798, "ImRect_TranslateY"); + funcTable.Load(799, "ImRect_ClipWith"); + funcTable.Load(800, "ImRect_ClipWithFull"); + funcTable.Load(801, "ImRect_Floor"); + funcTable.Load(802, "ImRect_IsInverted"); + funcTable.Load(803, "ImRect_ToVec4"); + funcTable.Load(804, "igImBitArrayTestBit"); + funcTable.Load(805, "igImBitArrayClearBit"); + funcTable.Load(806, "igImBitArraySetBit"); + funcTable.Load(807, "igImBitArraySetBitRange"); + funcTable.Load(808, "ImBitVector_Create"); + funcTable.Load(809, "ImBitVector_Clear"); + funcTable.Load(810, "ImBitVector_TestBit"); + funcTable.Load(811, "ImBitVector_SetBit"); + funcTable.Load(812, "ImBitVector_ClearBit"); + funcTable.Load(813, "ImDrawListSharedData_ImDrawListSharedData"); + funcTable.Load(814, "ImDrawListSharedData_SetCircleTessellationMaxError"); + funcTable.Load(815, "ImDrawDataBuilder_Clear"); + funcTable.Load(816, "ImDrawDataBuilder_ClearFreeMemory"); + funcTable.Load(817, "ImDrawDataBuilder_GetDrawListCount"); + funcTable.Load(818, "ImDrawDataBuilder_FlattenIntoSingleLayer"); + funcTable.Load(819, "ImGuiStyleMod_ImGuiStyleMod_Int"); + funcTable.Load(820, "ImGuiStyleMod_ImGuiStyleMod_Float"); + funcTable.Load(821, "ImGuiStyleMod_ImGuiStyleMod_Vec2"); + funcTable.Load(822, "ImGuiComboPreviewData_ImGuiComboPreviewData"); + funcTable.Load(823, "ImGuiMenuColumns_ImGuiMenuColumns"); + funcTable.Load(824, "ImGuiMenuColumns_Update"); + funcTable.Load(825, "ImGuiMenuColumns_DeclColumns"); + funcTable.Load(826, "ImGuiMenuColumns_CalcNextTotalWidth"); + funcTable.Load(827, "ImGuiInputTextState_ImGuiInputTextState"); + funcTable.Load(828, "ImGuiInputTextState_ClearText"); + funcTable.Load(829, "ImGuiInputTextState_ClearFreeMemory"); + funcTable.Load(830, "ImGuiInputTextState_GetUndoAvailCount"); + funcTable.Load(831, "ImGuiInputTextState_GetRedoAvailCount"); + funcTable.Load(832, "ImGuiInputTextState_OnKeyPressed"); + funcTable.Load(833, "ImGuiInputTextState_CursorAnimReset"); + funcTable.Load(834, "ImGuiInputTextState_CursorClamp"); + funcTable.Load(835, "ImGuiInputTextState_HasSelection"); + funcTable.Load(836, "ImGuiInputTextState_ClearSelection"); + funcTable.Load(837, "ImGuiInputTextState_GetCursorPos"); + funcTable.Load(838, "ImGuiInputTextState_GetSelectionStart"); + funcTable.Load(839, "ImGuiInputTextState_GetSelectionEnd"); + funcTable.Load(840, "ImGuiInputTextState_SelectAll"); + funcTable.Load(841, "ImGuiPopupData_ImGuiPopupData"); + funcTable.Load(842, "ImGuiNextWindowData_ImGuiNextWindowData"); + funcTable.Load(843, "ImGuiNextWindowData_ClearFlags"); + funcTable.Load(844, "ImGuiNextItemData_ImGuiNextItemData"); + funcTable.Load(845, "ImGuiNextItemData_ClearFlags"); + funcTable.Load(846, "ImGuiLastItemData_ImGuiLastItemData"); + funcTable.Load(847, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr"); + funcTable.Load(848, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int"); + funcTable.Load(849, "ImGuiInputEvent_ImGuiInputEvent"); + funcTable.Load(850, "ImGuiListClipperRange_FromIndices"); + funcTable.Load(851, "ImGuiListClipperRange_FromPositions"); + funcTable.Load(852, "ImGuiListClipperData_ImGuiListClipperData"); + funcTable.Load(853, "ImGuiListClipperData_Reset"); + funcTable.Load(854, "ImGuiNavItemData_ImGuiNavItemData"); + funcTable.Load(855, "ImGuiNavItemData_Clear"); + funcTable.Load(856, "ImGuiOldColumnData_ImGuiOldColumnData"); + funcTable.Load(857, "ImGuiOldColumns_ImGuiOldColumns"); + funcTable.Load(858, "ImGuiDockNode_ImGuiDockNode"); + funcTable.Load(859, "ImGuiDockNode_destroy"); + funcTable.Load(860, "ImGuiDockNode_IsRootNode"); + funcTable.Load(861, "ImGuiDockNode_IsDockSpace"); + funcTable.Load(862, "ImGuiDockNode_IsFloatingNode"); + funcTable.Load(863, "ImGuiDockNode_IsCentralNode"); + funcTable.Load(864, "ImGuiDockNode_IsHiddenTabBar"); + funcTable.Load(865, "ImGuiDockNode_IsNoTabBar"); + funcTable.Load(866, "ImGuiDockNode_IsSplitNode"); + funcTable.Load(867, "ImGuiDockNode_IsLeafNode"); + funcTable.Load(868, "ImGuiDockNode_IsEmpty"); + funcTable.Load(869, "ImGuiDockNode_Rect"); + funcTable.Load(870, "ImGuiDockNode_SetLocalFlags"); + funcTable.Load(871, "ImGuiDockNode_UpdateMergedFlags"); + funcTable.Load(872, "ImGuiDockContext_ImGuiDockContext"); + funcTable.Load(873, "ImGuiViewportP_ImGuiViewportP"); + funcTable.Load(874, "ImGuiViewportP_destroy"); + funcTable.Load(875, "ImGuiViewportP_ClearRequestFlags"); + funcTable.Load(876, "ImGuiViewportP_CalcWorkRectPos"); + funcTable.Load(877, "ImGuiViewportP_CalcWorkRectSize"); + funcTable.Load(878, "ImGuiViewportP_UpdateWorkRect"); + funcTable.Load(879, "ImGuiViewportP_GetMainRect"); + funcTable.Load(880, "ImGuiViewportP_GetWorkRect"); + funcTable.Load(881, "ImGuiViewportP_GetBuildWorkRect"); + funcTable.Load(882, "ImGuiWindowSettings_ImGuiWindowSettings"); + funcTable.Load(883, "ImGuiWindowSettings_GetName"); + funcTable.Load(884, "ImGuiSettingsHandler_ImGuiSettingsHandler"); + funcTable.Load(885, "ImGuiMetricsConfig_ImGuiMetricsConfig"); + funcTable.Load(886, "ImGuiStackLevelInfo_ImGuiStackLevelInfo"); + funcTable.Load(887, "ImGuiContextHook_ImGuiContextHook"); + funcTable.Load(888, "ImGuiContext_ImGuiContext"); + funcTable.Load(889, "ImGuiWindow_ImGuiWindow"); + funcTable.Load(890, "ImGuiWindow_destroy"); + funcTable.Load(891, "ImGuiWindow_GetID_Str"); + funcTable.Load(892, "ImGuiWindow_GetID_Ptr"); + funcTable.Load(893, "ImGuiWindow_GetID_Int"); + funcTable.Load(894, "ImGuiWindow_GetIDFromRectangle"); + funcTable.Load(895, "ImGuiWindow_Rect"); + funcTable.Load(896, "ImGuiWindow_CalcFontSize"); + funcTable.Load(897, "ImGuiWindow_TitleBarHeight"); + funcTable.Load(898, "ImGuiWindow_TitleBarRect"); + funcTable.Load(899, "ImGuiWindow_MenuBarHeight"); + funcTable.Load(900, "ImGuiWindow_MenuBarRect"); + funcTable.Load(901, "ImGuiTabItem_ImGuiTabItem"); + funcTable.Load(902, "ImGuiTabBar_ImGuiTabBar"); + funcTable.Load(903, "ImGuiTabBar_GetTabOrder"); + funcTable.Load(904, "ImGuiTabBar_GetTabName"); + funcTable.Load(905, "ImGuiTableColumn_ImGuiTableColumn"); + funcTable.Load(906, "ImGuiTableInstanceData_ImGuiTableInstanceData"); + funcTable.Load(907, "ImGuiTable_ImGuiTable"); + funcTable.Load(908, "ImGuiTable_destroy"); + funcTable.Load(909, "ImGuiTableTempData_ImGuiTableTempData"); + funcTable.Load(910, "ImGuiTableColumnSettings_ImGuiTableColumnSettings"); + funcTable.Load(911, "ImGuiTableSettings_ImGuiTableSettings"); + funcTable.Load(912, "ImGuiTableSettings_GetColumnSettings"); + funcTable.Load(913, "igGetCurrentWindowRead"); + funcTable.Load(914, "igGetCurrentWindow"); + funcTable.Load(915, "igFindWindowByID"); + funcTable.Load(916, "igFindWindowByName"); + funcTable.Load(917, "igUpdateWindowParentAndRootLinks"); + funcTable.Load(918, "igCalcWindowNextAutoFitSize"); + funcTable.Load(919, "igIsWindowChildOf"); + funcTable.Load(920, "igIsWindowWithinBeginStackOf"); + funcTable.Load(921, "igIsWindowAbove"); + funcTable.Load(922, "igIsWindowNavFocusable"); + funcTable.Load(923, "igSetWindowPos_WindowPtr"); + funcTable.Load(924, "igSetWindowSize_WindowPtr"); + funcTable.Load(925, "igSetWindowCollapsed_WindowPtr"); + funcTable.Load(926, "igSetWindowHitTestHole"); + funcTable.Load(927, "igWindowRectAbsToRel"); + funcTable.Load(928, "igWindowRectRelToAbs"); + funcTable.Load(929, "igFocusWindow"); + funcTable.Load(930, "igFocusTopMostWindowUnderOne"); + funcTable.Load(931, "igBringWindowToFocusFront"); + funcTable.Load(932, "igBringWindowToDisplayFront"); + funcTable.Load(933, "igBringWindowToDisplayBack"); + funcTable.Load(934, "igBringWindowToDisplayBehind"); + funcTable.Load(935, "igFindWindowDisplayIndex"); + funcTable.Load(936, "igFindBottomMostVisibleWindowWithinBeginStack"); + funcTable.Load(937, "igSetCurrentFont"); + funcTable.Load(938, "igGetDefaultFont"); + funcTable.Load(939, "igGetForegroundDrawList_WindowPtr"); + funcTable.Load(940, "igInitialize"); + funcTable.Load(941, "igShutdown"); + funcTable.Load(942, "igUpdateInputEvents"); + funcTable.Load(943, "igUpdateHoveredWindowAndCaptureFlags"); + funcTable.Load(944, "igStartMouseMovingWindow"); + funcTable.Load(945, "igStartMouseMovingWindowOrNode"); + funcTable.Load(946, "igUpdateMouseMovingWindowNewFrame"); + funcTable.Load(947, "igUpdateMouseMovingWindowEndFrame"); + funcTable.Load(948, "igAddContextHook"); + funcTable.Load(949, "igRemoveContextHook"); + funcTable.Load(950, "igCallContextHooks"); + funcTable.Load(951, "igTranslateWindowsInViewport"); + funcTable.Load(952, "igScaleWindowsInViewport"); + funcTable.Load(953, "igDestroyPlatformWindow"); + funcTable.Load(954, "igSetWindowViewport"); + funcTable.Load(955, "igSetCurrentViewport"); + funcTable.Load(956, "igGetViewportPlatformMonitor"); + funcTable.Load(957, "igFindHoveredViewportFromPlatformWindowStack"); + funcTable.Load(958, "igMarkIniSettingsDirty_Nil"); + funcTable.Load(959, "igMarkIniSettingsDirty_WindowPtr"); + funcTable.Load(960, "igClearIniSettings"); + funcTable.Load(961, "igCreateNewWindowSettings"); + funcTable.Load(962, "igFindWindowSettings"); + funcTable.Load(963, "igFindOrCreateWindowSettings"); + funcTable.Load(964, "igAddSettingsHandler"); + funcTable.Load(965, "igRemoveSettingsHandler"); + funcTable.Load(966, "igFindSettingsHandler"); + funcTable.Load(967, "igSetNextWindowScroll"); + funcTable.Load(968, "igSetScrollX_WindowPtr"); + funcTable.Load(969, "igSetScrollY_WindowPtr"); + funcTable.Load(970, "igSetScrollFromPosX_WindowPtr"); + funcTable.Load(971, "igSetScrollFromPosY_WindowPtr"); + funcTable.Load(972, "igScrollToItem"); + funcTable.Load(973, "igScrollToRect"); + funcTable.Load(974, "igScrollToRectEx"); + funcTable.Load(975, "igScrollToBringRectIntoView"); + funcTable.Load(976, "igGetItemID"); + funcTable.Load(977, "igGetItemStatusFlags"); + funcTable.Load(978, "igGetItemFlags"); + funcTable.Load(979, "igGetActiveID"); + funcTable.Load(980, "igGetFocusID"); + funcTable.Load(981, "igSetActiveID"); + funcTable.Load(982, "igSetFocusID"); + funcTable.Load(983, "igClearActiveID"); + funcTable.Load(984, "igGetHoveredID"); + funcTable.Load(985, "igSetHoveredID"); + funcTable.Load(986, "igKeepAliveID"); + funcTable.Load(987, "igMarkItemEdited"); + funcTable.Load(988, "igPushOverrideID"); + funcTable.Load(989, "igGetIDWithSeed"); + funcTable.Load(990, "igItemSize_Vec2"); + funcTable.Load(991, "igItemSize_Rect"); + funcTable.Load(992, "igItemAdd"); + funcTable.Load(993, "igItemHoverable"); + funcTable.Load(994, "igIsClippedEx"); + funcTable.Load(995, "igSetLastItemData"); + funcTable.Load(996, "igCalcItemSize"); + funcTable.Load(997, "igCalcWrapWidthForPos"); + funcTable.Load(998, "igPushMultiItemsWidths"); + funcTable.Load(999, "igIsItemToggledSelection"); + funcTable.Load(1000, "igGetContentRegionMaxAbs"); + funcTable.Load(1001, "igShrinkWidths"); + funcTable.Load(1002, "igPushItemFlag"); + funcTable.Load(1003, "igPopItemFlag"); + funcTable.Load(1004, "igLogBegin"); + funcTable.Load(1005, "igLogToBuffer"); + funcTable.Load(1006, "igLogRenderedText"); + funcTable.Load(1007, "igLogSetNextTextDecoration"); + funcTable.Load(1008, "igBeginChildEx"); + funcTable.Load(1009, "igOpenPopupEx"); + funcTable.Load(1010, "igClosePopupToLevel"); + funcTable.Load(1011, "igClosePopupsOverWindow"); + funcTable.Load(1012, "igClosePopupsExceptModals"); + funcTable.Load(1013, "igIsPopupOpen_ID"); + funcTable.Load(1014, "igBeginPopupEx"); + funcTable.Load(1015, "igBeginTooltipEx"); + funcTable.Load(1016, "igGetPopupAllowedExtentRect"); + funcTable.Load(1017, "igGetTopMostPopupModal"); + funcTable.Load(1018, "igGetTopMostAndVisiblePopupModal"); + funcTable.Load(1019, "igFindBestWindowPosForPopup"); + funcTable.Load(1020, "igFindBestWindowPosForPopupEx"); + funcTable.Load(1021, "igBeginViewportSideBar"); + funcTable.Load(1022, "igBeginMenuEx"); + funcTable.Load(1023, "igMenuItemEx"); + funcTable.Load(1024, "igBeginComboPopup"); + funcTable.Load(1025, "igBeginComboPreview"); + funcTable.Load(1026, "igEndComboPreview"); + funcTable.Load(1027, "igNavInitWindow"); + funcTable.Load(1028, "igNavInitRequestApplyResult"); + funcTable.Load(1029, "igNavMoveRequestButNoResultYet"); + funcTable.Load(1030, "igNavMoveRequestSubmit"); + funcTable.Load(1031, "igNavMoveRequestForward"); + funcTable.Load(1032, "igNavMoveRequestResolveWithLastItem"); + funcTable.Load(1033, "igNavMoveRequestCancel"); + funcTable.Load(1034, "igNavMoveRequestApplyResult"); + funcTable.Load(1035, "igNavMoveRequestTryWrapping"); + funcTable.Load(1036, "igGetNavInputName"); + funcTable.Load(1037, "igGetNavInputAmount"); + funcTable.Load(1038, "igGetNavInputAmount2d"); + funcTable.Load(1039, "igCalcTypematicRepeatAmount"); + funcTable.Load(1040, "igActivateItem"); + funcTable.Load(1041, "igSetNavWindow"); + funcTable.Load(1042, "igSetNavID"); + funcTable.Load(1043, "igPushFocusScope"); + funcTable.Load(1044, "igPopFocusScope"); + funcTable.Load(1045, "igGetFocusedFocusScope"); + funcTable.Load(1046, "igGetFocusScope"); + funcTable.Load(1047, "igIsNamedKey"); + funcTable.Load(1048, "igIsLegacyKey"); + funcTable.Load(1049, "igIsGamepadKey"); + funcTable.Load(1050, "igGetKeyData"); + funcTable.Load(1051, "igSetItemUsingMouseWheel"); + funcTable.Load(1052, "igSetActiveIdUsingNavAndKeys"); + funcTable.Load(1053, "igIsActiveIdUsingNavDir"); + funcTable.Load(1054, "igIsActiveIdUsingNavInput"); + funcTable.Load(1055, "igIsActiveIdUsingKey"); + funcTable.Load(1056, "igSetActiveIdUsingKey"); + funcTable.Load(1057, "igIsMouseDragPastThreshold"); + funcTable.Load(1058, "igIsNavInputDown"); + funcTable.Load(1059, "igIsNavInputTest"); + funcTable.Load(1060, "igGetMergedModFlags"); + funcTable.Load(1061, "igIsKeyPressedMap"); + funcTable.Load(1062, "igDockContextInitialize"); + funcTable.Load(1063, "igDockContextShutdown"); + funcTable.Load(1064, "igDockContextClearNodes"); + funcTable.Load(1065, "igDockContextRebuildNodes"); + funcTable.Load(1066, "igDockContextNewFrameUpdateUndocking"); + funcTable.Load(1067, "igDockContextNewFrameUpdateDocking"); + funcTable.Load(1068, "igDockContextEndFrame"); + funcTable.Load(1069, "igDockContextGenNodeID"); + funcTable.Load(1070, "igDockContextQueueDock"); + funcTable.Load(1071, "igDockContextQueueUndockWindow"); + funcTable.Load(1072, "igDockContextQueueUndockNode"); + funcTable.Load(1073, "igDockContextCalcDropPosForDocking"); + funcTable.Load(1074, "igDockNodeBeginAmendTabBar"); + funcTable.Load(1075, "igDockNodeEndAmendTabBar"); + funcTable.Load(1076, "igDockNodeGetRootNode"); + funcTable.Load(1077, "igDockNodeIsInHierarchyOf"); + funcTable.Load(1078, "igDockNodeGetDepth"); + funcTable.Load(1079, "igDockNodeGetWindowMenuButtonId"); + funcTable.Load(1080, "igGetWindowDockNode"); + funcTable.Load(1081, "igGetWindowAlwaysWantOwnTabBar"); + funcTable.Load(1082, "igBeginDocked"); + funcTable.Load(1083, "igBeginDockableDragDropSource"); + funcTable.Load(1084, "igBeginDockableDragDropTarget"); + funcTable.Load(1085, "igSetWindowDock"); + funcTable.Load(1086, "igDockBuilderDockWindow"); + funcTable.Load(1087, "igDockBuilderGetNode"); + funcTable.Load(1088, "igDockBuilderGetCentralNode"); + funcTable.Load(1089, "igDockBuilderAddNode"); + funcTable.Load(1090, "igDockBuilderRemoveNode"); + funcTable.Load(1091, "igDockBuilderRemoveNodeDockedWindows"); + funcTable.Load(1092, "igDockBuilderRemoveNodeChildNodes"); + funcTable.Load(1093, "igDockBuilderSetNodePos"); + funcTable.Load(1094, "igDockBuilderSetNodeSize"); + funcTable.Load(1095, "igDockBuilderSplitNode"); + funcTable.Load(1096, "igDockBuilderCopyDockSpace"); + funcTable.Load(1097, "igDockBuilderCopyNode"); + funcTable.Load(1098, "igDockBuilderCopyWindowSettings"); + funcTable.Load(1099, "igDockBuilderFinish"); + funcTable.Load(1100, "igIsDragDropActive"); + funcTable.Load(1101, "igBeginDragDropTargetCustom"); + funcTable.Load(1102, "igClearDragDrop"); + funcTable.Load(1103, "igIsDragDropPayloadBeingAccepted"); + funcTable.Load(1104, "igSetWindowClipRectBeforeSetChannel"); + funcTable.Load(1105, "igBeginColumns"); + funcTable.Load(1106, "igEndColumns"); + funcTable.Load(1107, "igPushColumnClipRect"); + funcTable.Load(1108, "igPushColumnsBackground"); + funcTable.Load(1109, "igPopColumnsBackground"); + funcTable.Load(1110, "igGetColumnsID"); + funcTable.Load(1111, "igFindOrCreateColumns"); + funcTable.Load(1112, "igGetColumnOffsetFromNorm"); + funcTable.Load(1113, "igGetColumnNormFromOffset"); + funcTable.Load(1114, "igTableOpenContextMenu"); + funcTable.Load(1115, "igTableSetColumnWidth"); + funcTable.Load(1116, "igTableSetColumnSortDirection"); + funcTable.Load(1117, "igTableGetHoveredColumn"); + funcTable.Load(1118, "igTableGetHeaderRowHeight"); + funcTable.Load(1119, "igTablePushBackgroundChannel"); + funcTable.Load(1120, "igTablePopBackgroundChannel"); + funcTable.Load(1121, "igGetCurrentTable"); + funcTable.Load(1122, "igTableFindByID"); + funcTable.Load(1123, "igBeginTableEx"); + funcTable.Load(1124, "igTableBeginInitMemory"); + funcTable.Load(1125, "igTableBeginApplyRequests"); + funcTable.Load(1126, "igTableSetupDrawChannels"); + funcTable.Load(1127, "igTableUpdateLayout"); + funcTable.Load(1128, "igTableUpdateBorders"); + funcTable.Load(1129, "igTableUpdateColumnsWeightFromWidth"); + funcTable.Load(1130, "igTableDrawBorders"); + funcTable.Load(1131, "igTableDrawContextMenu"); + funcTable.Load(1132, "igTableMergeDrawChannels"); + funcTable.Load(1133, "igTableGetInstanceData"); + funcTable.Load(1134, "igTableSortSpecsSanitize"); + funcTable.Load(1135, "igTableSortSpecsBuild"); + funcTable.Load(1136, "igTableGetColumnNextSortDirection"); + funcTable.Load(1137, "igTableFixColumnSortDirection"); + funcTable.Load(1138, "igTableGetColumnWidthAuto"); + funcTable.Load(1139, "igTableBeginRow"); + funcTable.Load(1140, "igTableEndRow"); + funcTable.Load(1141, "igTableBeginCell"); + funcTable.Load(1142, "igTableEndCell"); + funcTable.Load(1143, "igTableGetCellBgRect"); + funcTable.Load(1144, "igTableGetColumnName_TablePtr"); + funcTable.Load(1145, "igTableGetColumnResizeID"); + funcTable.Load(1146, "igTableGetMaxColumnWidth"); + funcTable.Load(1147, "igTableSetColumnWidthAutoSingle"); + funcTable.Load(1148, "igTableSetColumnWidthAutoAll"); + funcTable.Load(1149, "igTableRemove"); + funcTable.Load(1150, "igTableGcCompactTransientBuffers_TablePtr"); + funcTable.Load(1151, "igTableGcCompactTransientBuffers_TableTempDataPtr"); + funcTable.Load(1152, "igTableGcCompactSettings"); + funcTable.Load(1153, "igTableLoadSettings"); + funcTable.Load(1154, "igTableSaveSettings"); + funcTable.Load(1155, "igTableResetSettings"); + funcTable.Load(1156, "igTableGetBoundSettings"); + funcTable.Load(1157, "igTableSettingsAddSettingsHandler"); + funcTable.Load(1158, "igTableSettingsCreate"); + funcTable.Load(1159, "igTableSettingsFindByID"); + funcTable.Load(1160, "igBeginTabBarEx"); + funcTable.Load(1161, "igTabBarFindTabByID"); + funcTable.Load(1162, "igTabBarFindMostRecentlySelectedTabForActiveWindow"); + funcTable.Load(1163, "igTabBarAddTab"); + funcTable.Load(1164, "igTabBarRemoveTab"); + funcTable.Load(1165, "igTabBarCloseTab"); + funcTable.Load(1166, "igTabBarQueueReorder"); + funcTable.Load(1167, "igTabBarQueueReorderFromMousePos"); + funcTable.Load(1168, "igTabBarProcessReorder"); + funcTable.Load(1169, "igTabItemEx"); + funcTable.Load(1170, "igTabItemCalcSize"); + funcTable.Load(1171, "igTabItemBackground"); + funcTable.Load(1172, "igTabItemLabelAndCloseButton"); + funcTable.Load(1173, "igRenderText"); + funcTable.Load(1174, "igRenderTextWrapped"); + funcTable.Load(1175, "igRenderTextClipped"); + funcTable.Load(1176, "igRenderTextClippedEx"); + funcTable.Load(1177, "igRenderTextEllipsis"); + funcTable.Load(1178, "igRenderFrame"); + funcTable.Load(1179, "igRenderFrameBorder"); + funcTable.Load(1180, "igRenderColorRectWithAlphaCheckerboard"); + funcTable.Load(1181, "igRenderNavHighlight"); + funcTable.Load(1182, "igFindRenderedTextEnd"); + funcTable.Load(1183, "igRenderMouseCursor"); + funcTable.Load(1184, "igRenderArrow"); + funcTable.Load(1185, "igRenderBullet"); + funcTable.Load(1186, "igRenderCheckMark"); + funcTable.Load(1187, "igRenderArrowPointingAt"); + funcTable.Load(1188, "igRenderArrowDockMenu"); + funcTable.Load(1189, "igRenderRectFilledRangeH"); + funcTable.Load(1190, "igRenderRectFilledWithHole"); + funcTable.Load(1191, "igCalcRoundingFlagsForRectInRect"); + funcTable.Load(1192, "igTextEx"); + funcTable.Load(1193, "igButtonEx"); + funcTable.Load(1194, "igCloseButton"); + funcTable.Load(1195, "igCollapseButton"); + funcTable.Load(1196, "igArrowButtonEx"); + funcTable.Load(1197, "igScrollbar"); + funcTable.Load(1198, "igScrollbarEx"); + funcTable.Load(1199, "igImageButtonEx"); + funcTable.Load(1200, "igGetWindowScrollbarRect"); + funcTable.Load(1201, "igGetWindowScrollbarID"); + funcTable.Load(1202, "igGetWindowResizeCornerID"); + funcTable.Load(1203, "igGetWindowResizeBorderID"); + funcTable.Load(1204, "igSeparatorEx"); + funcTable.Load(1205, "igCheckboxFlags_S64Ptr"); + funcTable.Load(1206, "igCheckboxFlags_U64Ptr"); + funcTable.Load(1207, "igButtonBehavior"); + funcTable.Load(1208, "igDragBehavior"); + funcTable.Load(1209, "igSliderBehavior"); + funcTable.Load(1210, "igSplitterBehavior"); + funcTable.Load(1211, "igTreeNodeBehavior"); + funcTable.Load(1212, "igTreeNodeBehaviorIsOpen"); + funcTable.Load(1213, "igTreePushOverrideID"); + funcTable.Load(1214, "igDataTypeGetInfo"); + funcTable.Load(1215, "igDataTypeApplyOp"); + funcTable.Load(1216, "igDataTypeApplyFromText"); + funcTable.Load(1217, "igDataTypeCompare"); + funcTable.Load(1218, "igDataTypeClamp"); + funcTable.Load(1219, "igTempInputScalar"); + funcTable.Load(1220, "igTempInputIsActive"); + funcTable.Load(1221, "igGetInputTextState"); + funcTable.Load(1222, "igColorTooltip"); + funcTable.Load(1223, "igColorEditOptionsPopup"); + funcTable.Load(1224, "igColorPickerOptionsPopup"); + funcTable.Load(1225, "igPlotEx"); + funcTable.Load(1226, "igShadeVertsLinearColorGradientKeepAlpha"); + funcTable.Load(1227, "igShadeVertsLinearUV"); + funcTable.Load(1228, "igGcCompactTransientMiscBuffers"); + funcTable.Load(1229, "igGcCompactTransientWindowBuffers"); + funcTable.Load(1230, "igGcAwakeTransientWindowBuffers"); + funcTable.Load(1231, "igDebugLog"); + funcTable.Load(1232, "igDebugLogV"); + funcTable.Load(1233, "igErrorCheckEndFrameRecover"); + funcTable.Load(1234, "igErrorCheckEndWindowRecover"); + funcTable.Load(1235, "igDebugDrawItemRect"); + funcTable.Load(1236, "igDebugStartItemPicker"); + funcTable.Load(1237, "igShowFontAtlas"); + funcTable.Load(1238, "igDebugHookIdInfo"); + funcTable.Load(1239, "igDebugNodeColumns"); + funcTable.Load(1240, "igDebugNodeDockNode"); + funcTable.Load(1241, "igDebugNodeDrawList"); + funcTable.Load(1242, "igDebugNodeDrawCmdShowMeshAndBoundingBox"); + funcTable.Load(1243, "igDebugNodeFont"); + funcTable.Load(1244, "igDebugNodeFontGlyph"); + funcTable.Load(1245, "igDebugNodeStorage"); + funcTable.Load(1246, "igDebugNodeTabBar"); + funcTable.Load(1247, "igDebugNodeTable"); + funcTable.Load(1248, "igDebugNodeTableSettings"); + funcTable.Load(1249, "igDebugNodeInputTextState"); + funcTable.Load(1250, "igDebugNodeWindow"); + funcTable.Load(1251, "igDebugNodeWindowSettings"); + funcTable.Load(1252, "igDebugNodeWindowsList"); + funcTable.Load(1253, "igDebugNodeWindowsListByBeginStackParent"); + funcTable.Load(1254, "igDebugNodeViewport"); + funcTable.Load(1255, "igDebugRenderViewportThumbnail"); + funcTable.Load(1256, "igImFontAtlasGetBuilderForStbTruetype"); + funcTable.Load(1257, "igImFontAtlasBuildInit"); + funcTable.Load(1258, "igImFontAtlasBuildSetupFont"); + funcTable.Load(1259, "igImFontAtlasBuildPackCustomRects"); + funcTable.Load(1260, "igImFontAtlasBuildFinish"); + funcTable.Load(1261, "igImFontAtlasBuildRender8bppRectFromString"); + funcTable.Load(1262, "igImFontAtlasBuildRender32bppRectFromString"); + funcTable.Load(1263, "igImFontAtlasBuildMultiplyCalcLookupTable"); + funcTable.Load(1264, "igImFontAtlasBuildMultiplyRectAlpha8"); + funcTable.Load(1265, "igInputText"); + funcTable.Load(1266, "igInputTextMultiline"); + funcTable.Load(1267, "igInputTextWithHint"); + funcTable.Load(1268, "igImFormatString"); + funcTable.Load(1269, "igImFormatStringV"); + funcTable.Load(1270, "igImParseFormatTrimDecorations"); + funcTable.Load(1271, "igImTextStrToUtf8"); + funcTable.Load(1272, "igImTextStrFromUtf8"); + funcTable.Load(1273, "igDataTypeFormatString"); + funcTable.Load(1274, "igInputTextEx"); + funcTable.Load(1275, "igTempInputText"); + } + + public static void FreeApi() + { + funcTable.Free(); + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.000.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.000.cs new file mode 100644 index 000000000..2ad9ac9f2 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.000.cs @@ -0,0 +1,5051 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static Vector2* ImVec2Native() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[0])(); + #else + return (Vector2*)((delegate* unmanaged[Cdecl])funcTable[0])(); + #endif + } + + /// + /// To be documented. + /// + public static Vector2* ImVec2() + { + Vector2* ret = ImVec2Native(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(Vector2* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[1])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[1])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(Vector2* self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref Vector2 self) + { + fixed (Vector2* pself = &self) + { + DestroyNative((Vector2*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static Vector2* ImVec2Native(float x, float y) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[2])(x, y); + #else + return (Vector2*)((delegate* unmanaged[Cdecl])funcTable[2])(x, y); + #endif + } + + /// + /// To be documented. + /// + public static Vector2* ImVec2(float x, float y) + { + Vector2* ret = ImVec2Native(x, y); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static Vector4* ImVec4Native() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[3])(); + #else + return (Vector4*)((delegate* unmanaged[Cdecl])funcTable[3])(); + #endif + } + + /// + /// To be documented. + /// + public static Vector4* ImVec4() + { + Vector4* ret = ImVec4Native(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(Vector4* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[4])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[4])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(Vector4* self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref Vector4 self) + { + fixed (Vector4* pself = &self) + { + DestroyNative((Vector4*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static Vector4* ImVec4Native(float x, float y, float z, float w) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[5])(x, y, z, w); + #else + return (Vector4*)((delegate* unmanaged[Cdecl])funcTable[5])(x, y, z, w); + #endif + } + + /// + /// To be documented. + /// + public static Vector4* ImVec4(float x, float y, float z, float w) + { + Vector4* ret = ImVec4Native(x, y, z, w); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiContext* CreateContextNative(ImFontAtlas* sharedFontAtlas) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[6])(sharedFontAtlas); + #else + return (ImGuiContext*)((delegate* unmanaged[Cdecl])funcTable[6])((nint)sharedFontAtlas); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiContextPtr CreateContext(ImFontAtlasPtr sharedFontAtlas) + { + ImGuiContextPtr ret = CreateContextNative(sharedFontAtlas); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiContextPtr CreateContext() + { + ImGuiContextPtr ret = CreateContextNative((ImFontAtlas*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiContextPtr CreateContext(ref ImFontAtlas sharedFontAtlas) + { + fixed (ImFontAtlas* psharedFontAtlas = &sharedFontAtlas) + { + ImGuiContextPtr ret = CreateContextNative((ImFontAtlas*)psharedFontAtlas); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyContextNative(ImGuiContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[7])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[7])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void DestroyContext(ImGuiContextPtr ctx) + { + DestroyContextNative(ctx); + } + + /// + /// To be documented. + /// + public static void DestroyContext() + { + DestroyContextNative((ImGuiContext*)(default)); + } + + /// + /// To be documented. + /// + public static void DestroyContext(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + DestroyContextNative((ImGuiContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiContext* GetCurrentContextNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[8])(); + #else + return (ImGuiContext*)((delegate* unmanaged[Cdecl])funcTable[8])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiContextPtr GetCurrentContext() + { + ImGuiContextPtr ret = GetCurrentContextNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetCurrentContextNative(ImGuiContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[9])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[9])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void SetCurrentContext(ImGuiContextPtr ctx) + { + SetCurrentContextNative(ctx); + } + + /// + /// To be documented. + /// + public static void SetCurrentContext(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + SetCurrentContextNative((ImGuiContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiIO* GetIONative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[10])(); + #else + return (ImGuiIO*)((delegate* unmanaged[Cdecl])funcTable[10])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiIOPtr GetIO() + { + ImGuiIOPtr ret = GetIONative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStyle* GetStyleNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[11])(); + #else + return (ImGuiStyle*)((delegate* unmanaged[Cdecl])funcTable[11])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStylePtr GetStyle() + { + ImGuiStylePtr ret = GetStyleNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void NewFrameNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[12])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[12])(); + #endif + } + + /// + /// To be documented. + /// + public static void NewFrame() + { + NewFrameNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndFrameNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[13])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[13])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndFrame() + { + EndFrameNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void RenderNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[14])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[14])(); + #endif + } + + /// + /// To be documented. + /// + public static void Render() + { + RenderNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawData* GetDrawDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[15])(); + #else + return (ImDrawData*)((delegate* unmanaged[Cdecl])funcTable[15])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawDataPtr GetDrawData() + { + ImDrawDataPtr ret = GetDrawDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowDemoWindowNative(bool* pOpen) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[16])(pOpen); + #else + ((delegate* unmanaged[Cdecl])funcTable[16])((nint)pOpen); + #endif + } + + /// + /// To be documented. + /// + public static void ShowDemoWindow(bool* pOpen) + { + ShowDemoWindowNative(pOpen); + } + + /// + /// To be documented. + /// + public static void ShowDemoWindow() + { + ShowDemoWindowNative((bool*)(default)); + } + + /// + /// To be documented. + /// + public static void ShowDemoWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ShowDemoWindowNative((bool*)ppOpen); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowMetricsWindowNative(bool* pOpen) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[17])(pOpen); + #else + ((delegate* unmanaged[Cdecl])funcTable[17])((nint)pOpen); + #endif + } + + /// + /// To be documented. + /// + public static void ShowMetricsWindow(bool* pOpen) + { + ShowMetricsWindowNative(pOpen); + } + + /// + /// To be documented. + /// + public static void ShowMetricsWindow() + { + ShowMetricsWindowNative((bool*)(default)); + } + + /// + /// To be documented. + /// + public static void ShowMetricsWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ShowMetricsWindowNative((bool*)ppOpen); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowDebugLogWindowNative(bool* pOpen) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[18])(pOpen); + #else + ((delegate* unmanaged[Cdecl])funcTable[18])((nint)pOpen); + #endif + } + + /// + /// To be documented. + /// + public static void ShowDebugLogWindow(bool* pOpen) + { + ShowDebugLogWindowNative(pOpen); + } + + /// + /// To be documented. + /// + public static void ShowDebugLogWindow() + { + ShowDebugLogWindowNative((bool*)(default)); + } + + /// + /// To be documented. + /// + public static void ShowDebugLogWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ShowDebugLogWindowNative((bool*)ppOpen); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowStackToolWindowNative(bool* pOpen) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[19])(pOpen); + #else + ((delegate* unmanaged[Cdecl])funcTable[19])((nint)pOpen); + #endif + } + + /// + /// To be documented. + /// + public static void ShowStackToolWindow(bool* pOpen) + { + ShowStackToolWindowNative(pOpen); + } + + /// + /// To be documented. + /// + public static void ShowStackToolWindow() + { + ShowStackToolWindowNative((bool*)(default)); + } + + /// + /// To be documented. + /// + public static void ShowStackToolWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ShowStackToolWindowNative((bool*)ppOpen); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowAboutWindowNative(bool* pOpen) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[20])(pOpen); + #else + ((delegate* unmanaged[Cdecl])funcTable[20])((nint)pOpen); + #endif + } + + /// + /// To be documented. + /// + public static void ShowAboutWindow(bool* pOpen) + { + ShowAboutWindowNative(pOpen); + } + + /// + /// To be documented. + /// + public static void ShowAboutWindow() + { + ShowAboutWindowNative((bool*)(default)); + } + + /// + /// To be documented. + /// + public static void ShowAboutWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ShowAboutWindowNative((bool*)ppOpen); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowStyleEditorNative(ImGuiStyle* reference) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[21])(reference); + #else + ((delegate* unmanaged[Cdecl])funcTable[21])((nint)reference); + #endif + } + + /// + /// To be documented. + /// + public static void ShowStyleEditor(ImGuiStylePtr reference) + { + ShowStyleEditorNative(reference); + } + + /// + /// To be documented. + /// + public static void ShowStyleEditor() + { + ShowStyleEditorNative((ImGuiStyle*)(default)); + } + + /// + /// To be documented. + /// + public static void ShowStyleEditor(ref ImGuiStyle reference) + { + fixed (ImGuiStyle* preference = &reference) + { + ShowStyleEditorNative((ImGuiStyle*)preference); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ShowStyleSelectorNative(byte* label) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[22])(label); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[22])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(byte* label) + { + byte ret = ShowStyleSelectorNative(label); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = ShowStyleSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = ShowStyleSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ShowStyleSelectorNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowFontSelectorNative(byte* label) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[23])(label); + #else + ((delegate* unmanaged[Cdecl])funcTable[23])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static void ShowFontSelector(byte* label) + { + ShowFontSelectorNative(label); + } + + /// + /// To be documented. + /// + public static void ShowFontSelector(ref byte label) + { + fixed (byte* plabel = &label) + { + ShowFontSelectorNative((byte*)plabel); + } + } + + /// + /// To be documented. + /// + public static void ShowFontSelector(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + ShowFontSelectorNative((byte*)plabel); + } + } + + /// + /// To be documented. + /// + public static void ShowFontSelector(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowFontSelectorNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowUserGuideNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[24])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[24])(); + #endif + } + + /// + /// To be documented. + /// + public static void ShowUserGuide() + { + ShowUserGuideNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetVersionNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[25])(); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[25])(); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetVersion() + { + byte* ret = GetVersionNative(); + return ret; + } + + /// + /// To be documented. + /// + public static string GetVersionS() + { + string ret = Utils.DecodeStringUTF8(GetVersionNative()); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StyleColorsDarkNative(ImGuiStyle* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[26])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[26])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void StyleColorsDark(ImGuiStylePtr dst) + { + StyleColorsDarkNative(dst); + } + + /// + /// To be documented. + /// + public static void StyleColorsDark() + { + StyleColorsDarkNative((ImGuiStyle*)(default)); + } + + /// + /// To be documented. + /// + public static void StyleColorsDark(ref ImGuiStyle dst) + { + fixed (ImGuiStyle* pdst = &dst) + { + StyleColorsDarkNative((ImGuiStyle*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StyleColorsLightNative(ImGuiStyle* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[27])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[27])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void StyleColorsLight(ImGuiStylePtr dst) + { + StyleColorsLightNative(dst); + } + + /// + /// To be documented. + /// + public static void StyleColorsLight() + { + StyleColorsLightNative((ImGuiStyle*)(default)); + } + + /// + /// To be documented. + /// + public static void StyleColorsLight(ref ImGuiStyle dst) + { + fixed (ImGuiStyle* pdst = &dst) + { + StyleColorsLightNative((ImGuiStyle*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StyleColorsClassicNative(ImGuiStyle* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[28])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[28])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void StyleColorsClassic(ImGuiStylePtr dst) + { + StyleColorsClassicNative(dst); + } + + /// + /// To be documented. + /// + public static void StyleColorsClassic() + { + StyleColorsClassicNative((ImGuiStyle*)(default)); + } + + /// + /// To be documented. + /// + public static void StyleColorsClassic(ref ImGuiStyle dst) + { + fixed (ImGuiStyle* pdst = &dst) + { + StyleColorsClassicNative((ImGuiStyle*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginNative(byte* name, bool* pOpen, ImGuiWindowFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[29])(name, pOpen, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[29])((nint)name, (nint)pOpen, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool Begin(byte* name, bool* pOpen, ImGuiWindowFlags flags) + { + byte ret = BeginNative(name, pOpen, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(byte* name, bool* pOpen) + { + byte ret = BeginNative(name, pOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(byte* name) + { + byte ret = BeginNative(name, (bool*)(default), (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(byte* name, ImGuiWindowFlags flags) + { + byte ret = BeginNative(name, (bool*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(ref byte name, bool* pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = &name) + { + byte ret = BeginNative((byte*)pname, pOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ref byte name, bool* pOpen) + { + fixed (byte* pname = &name) + { + byte ret = BeginNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ref byte name) + { + fixed (byte* pname = &name) + { + byte ret = BeginNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ref byte name, ImGuiWindowFlags flags) + { + fixed (byte* pname = &name) + { + byte ret = BeginNative((byte*)pname, (bool*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ReadOnlySpan name, bool* pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = name) + { + byte ret = BeginNative((byte*)pname, pOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ReadOnlySpan name, bool* pOpen) + { + fixed (byte* pname = name) + { + byte ret = BeginNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ReadOnlySpan name) + { + fixed (byte* pname = name) + { + byte ret = BeginNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ReadOnlySpan name, ImGuiWindowFlags flags) + { + fixed (byte* pname = name) + { + byte ret = BeginNative((byte*)pname, (bool*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(string name, bool* pOpen, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginNative(pStr0, pOpen, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(string name, bool* pOpen) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginNative(pStr0, pOpen, (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(string name) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginNative(pStr0, (bool*)(default), (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(string name, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginNative(pStr0, (bool*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Begin(byte* name, ref bool pOpen, ImGuiWindowFlags flags) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative(name, (bool*)ppOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(byte* name, ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative(name, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(ref byte name, ref bool pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = &name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative((byte*)pname, (bool*)ppOpen, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Begin(ref byte name, ref bool pOpen) + { + fixed (byte* pname = &name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Begin(ReadOnlySpan name, ref bool pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative((byte*)pname, (bool*)ppOpen, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Begin(ReadOnlySpan name, ref bool pOpen) + { + fixed (byte* pname = name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Begin(string name, ref bool pOpen, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative(pStr0, (bool*)ppOpen, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Begin(string name, ref bool pOpen) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginNative(pStr0, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[30])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[30])(); + #endif + } + + /// + /// To be documented. + /// + public static void End() + { + EndNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginChildNative(byte* strId, Vector2 size, byte border, ImGuiWindowFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[31])(strId, size, border, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[31])((nint)strId, size, border, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId, Vector2 size, bool border, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(strId, size, border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId, Vector2 size, bool border) + { + byte ret = BeginChildNative(strId, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId, Vector2 size) + { + byte ret = BeginChildNative(strId, size, (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId) + { + byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId, bool border) + { + byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId, Vector2 size, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(strId, size, (byte)(0), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), (byte)(0), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(byte* strId, bool border, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId, Vector2 size, bool border, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId, Vector2 size, bool border) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId, Vector2 size) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId, bool border) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId, Vector2 size, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, (byte)(0), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ref byte strId, bool border, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId, Vector2 size, bool border, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId, Vector2 size, bool border) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId, Vector2 size) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId, bool border) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId, Vector2 size, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, size, (byte)(0), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (byte)(0), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(ReadOnlySpan strId, bool border, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId, Vector2 size, bool border, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, size, border ? (byte)1 : (byte)0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId, Vector2 size, bool border) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, size, (byte)(0), (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId, bool border) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId, Vector2 size, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, size, (byte)(0), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), (byte)(0), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(string strId, bool border, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginChildNative(uint id, Vector2 size, byte border, ImGuiWindowFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[32])(id, size, border, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[32])(id, size, border, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id, Vector2 size, bool border, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(id, size, border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id, Vector2 size, bool border) + { + byte ret = BeginChildNative(id, size, border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id, Vector2 size) + { + byte ret = BeginChildNative(id, size, (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id) + { + byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), (byte)(0), (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id, bool border) + { + byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id, Vector2 size, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(id, size, (byte)(0), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), (byte)(0), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChild(uint id, bool border, ImGuiWindowFlags flags) + { + byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), border ? (byte)1 : (byte)0, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndChildNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[33])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[33])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndChild() + { + EndChildNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsWindowAppearingNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[34])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[34])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsWindowAppearing() + { + byte ret = IsWindowAppearingNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsWindowCollapsedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[35])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[35])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsWindowCollapsed() + { + byte ret = IsWindowCollapsedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsWindowFocusedNative(ImGuiFocusedFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[36])(flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[36])(flags); + #endif + } + + /// + /// To be documented. + /// + public static bool IsWindowFocused(ImGuiFocusedFlags flags) + { + byte ret = IsWindowFocusedNative(flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsWindowFocused() + { + byte ret = IsWindowFocusedNative((ImGuiFocusedFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsWindowHoveredNative(ImGuiHoveredFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[37])(flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[37])(flags); + #endif + } + + /// + /// To be documented. + /// + public static bool IsWindowHovered(ImGuiHoveredFlags flags) + { + byte ret = IsWindowHoveredNative(flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsWindowHovered() + { + byte ret = IsWindowHoveredNative((ImGuiHoveredFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* GetWindowDrawListNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[38])(); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[38])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetWindowDrawList() + { + ImDrawListPtr ret = GetWindowDrawListNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetWindowDpiScaleNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[39])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[39])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetWindowDpiScale() + { + float ret = GetWindowDpiScaleNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetWindowPosNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[40])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[40])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetWindowPos() + { + Vector2 ret; + GetWindowPosNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetWindowPos(Vector2* pOut) + { + GetWindowPosNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetWindowPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetWindowPosNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetWindowSizeNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[41])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[41])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetWindowSize() + { + Vector2 ret; + GetWindowSizeNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetWindowSize(Vector2* pOut) + { + GetWindowSizeNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetWindowSize(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetWindowSizeNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetWindowWidthNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[42])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[42])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetWindowWidth() + { + float ret = GetWindowWidthNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetWindowHeightNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[43])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[43])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetWindowHeight() + { + float ret = GetWindowHeightNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiViewport* GetWindowViewportNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[44])(); + #else + return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[44])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiViewportPtr GetWindowViewport() + { + ImGuiViewportPtr ret = GetWindowViewportNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowPosNative(Vector2 pos, ImGuiCond cond, Vector2 pivot) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[45])(pos, cond, pivot); + #else + ((delegate* unmanaged[Cdecl])funcTable[45])(pos, cond, pivot); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot) + { + SetNextWindowPosNative(pos, cond, pivot); + } + + /// + /// To be documented. + /// + public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond) + { + SetNextWindowPosNative(pos, cond, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void SetNextWindowPos(Vector2 pos) + { + SetNextWindowPosNative(pos, (ImGuiCond)(0), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void SetNextWindowPos(Vector2 pos, Vector2 pivot) + { + SetNextWindowPosNative(pos, (ImGuiCond)(0), pivot); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowSizeNative(Vector2 size, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[46])(size, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[46])(size, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowSize(Vector2 size, ImGuiCond cond) + { + SetNextWindowSizeNative(size, cond); + } + + /// + /// To be documented. + /// + public static void SetNextWindowSize(Vector2 size) + { + SetNextWindowSizeNative(size, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowSizeConstraintsNative(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback, void* customCallbackData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, void>)funcTable[47])(sizeMin, sizeMax, (delegate*)Utils.GetFunctionPointerForDelegate(customCallback), customCallbackData); + #else + ((delegate* unmanaged[Cdecl])funcTable[47])(sizeMin, sizeMax, (nint)Utils.GetFunctionPointerForDelegate(customCallback), (nint)customCallbackData); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback, void* customCallbackData) + { + SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, customCallback, customCallbackData); + } + + /// + /// To be documented. + /// + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback) + { + SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, customCallback, (void*)(default)); + } + + /// + /// To be documented. + /// + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax) + { + SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, (ImGuiSizeCallback)(default), (void*)(default)); + } + + /// + /// To be documented. + /// + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, void* customCallbackData) + { + SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, (ImGuiSizeCallback)(default), customCallbackData); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowContentSizeNative(Vector2 size) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[48])(size); + #else + ((delegate* unmanaged[Cdecl])funcTable[48])(size); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowContentSize(Vector2 size) + { + SetNextWindowContentSizeNative(size); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowCollapsedNative(byte collapsed, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[49])(collapsed, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[49])(collapsed, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond) + { + SetNextWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, cond); + } + + /// + /// To be documented. + /// + public static void SetNextWindowCollapsed(bool collapsed) + { + SetNextWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowFocusNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[50])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[50])(); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowFocus() + { + SetNextWindowFocusNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowBgAlphaNative(float alpha) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[51])(alpha); + #else + ((delegate* unmanaged[Cdecl])funcTable[51])(alpha); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowBgAlpha(float alpha) + { + SetNextWindowBgAlphaNative(alpha); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowViewportNative(uint viewportId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[52])(viewportId); + #else + ((delegate* unmanaged[Cdecl])funcTable[52])(viewportId); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowViewport(uint viewportId) + { + SetNextWindowViewportNative(viewportId); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowPosNative(Vector2 pos, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[53])(pos, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[53])(pos, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowPos(Vector2 pos, ImGuiCond cond) + { + SetWindowPosNative(pos, cond); + } + + /// + /// To be documented. + /// + public static void SetWindowPos(Vector2 pos) + { + SetWindowPosNative(pos, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowSizeNative(Vector2 size, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[54])(size, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[54])(size, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowSize(Vector2 size, ImGuiCond cond) + { + SetWindowSizeNative(size, cond); + } + + /// + /// To be documented. + /// + public static void SetWindowSize(Vector2 size) + { + SetWindowSizeNative(size, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowCollapsedNative(byte collapsed, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[55])(collapsed, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[55])(collapsed, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(bool collapsed, ImGuiCond cond) + { + SetWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, cond); + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(bool collapsed) + { + SetWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowFocusNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[56])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[56])(); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowFocus() + { + SetWindowFocusNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowFontScaleNative(float scale) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[57])(scale); + #else + ((delegate* unmanaged[Cdecl])funcTable[57])(scale); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowFontScale(float scale) + { + SetWindowFontScaleNative(scale); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowPosNative(byte* name, Vector2 pos, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[58])(name, pos, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[58])((nint)name, pos, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowPos(byte* name, Vector2 pos, ImGuiCond cond) + { + SetWindowPosNative(name, pos, cond); + } + + /// + /// To be documented. + /// + public static void SetWindowPos(byte* name, Vector2 pos) + { + SetWindowPosNative(name, pos, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + public static void SetWindowPos(ref byte name, Vector2 pos, ImGuiCond cond) + { + fixed (byte* pname = &name) + { + SetWindowPosNative((byte*)pname, pos, cond); + } + } + + /// + /// To be documented. + /// + public static void SetWindowPos(ref byte name, Vector2 pos) + { + fixed (byte* pname = &name) + { + SetWindowPosNative((byte*)pname, pos, (ImGuiCond)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetWindowPos(ReadOnlySpan name, Vector2 pos, ImGuiCond cond) + { + fixed (byte* pname = name) + { + SetWindowPosNative((byte*)pname, pos, cond); + } + } + + /// + /// To be documented. + /// + public static void SetWindowPos(ReadOnlySpan name, Vector2 pos) + { + fixed (byte* pname = name) + { + SetWindowPosNative((byte*)pname, pos, (ImGuiCond)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetWindowPos(string name, Vector2 pos, ImGuiCond cond) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetWindowPosNative(pStr0, pos, cond); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetWindowPos(string name, Vector2 pos) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetWindowPosNative(pStr0, pos, (ImGuiCond)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowSizeNative(byte* name, Vector2 size, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[59])(name, size, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[59])((nint)name, size, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowSize(byte* name, Vector2 size, ImGuiCond cond) + { + SetWindowSizeNative(name, size, cond); + } + + /// + /// To be documented. + /// + public static void SetWindowSize(byte* name, Vector2 size) + { + SetWindowSizeNative(name, size, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + public static void SetWindowSize(ref byte name, Vector2 size, ImGuiCond cond) + { + fixed (byte* pname = &name) + { + SetWindowSizeNative((byte*)pname, size, cond); + } + } + + /// + /// To be documented. + /// + public static void SetWindowSize(ref byte name, Vector2 size) + { + fixed (byte* pname = &name) + { + SetWindowSizeNative((byte*)pname, size, (ImGuiCond)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetWindowSize(ReadOnlySpan name, Vector2 size, ImGuiCond cond) + { + fixed (byte* pname = name) + { + SetWindowSizeNative((byte*)pname, size, cond); + } + } + + /// + /// To be documented. + /// + public static void SetWindowSize(ReadOnlySpan name, Vector2 size) + { + fixed (byte* pname = name) + { + SetWindowSizeNative((byte*)pname, size, (ImGuiCond)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetWindowSize(string name, Vector2 size, ImGuiCond cond) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetWindowSizeNative(pStr0, size, cond); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetWindowSize(string name, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetWindowSizeNative(pStr0, size, (ImGuiCond)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowCollapsedNative(byte* name, byte collapsed, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[60])(name, collapsed, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[60])((nint)name, collapsed, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(byte* name, bool collapsed, ImGuiCond cond) + { + SetWindowCollapsedNative(name, collapsed ? (byte)1 : (byte)0, cond); + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(byte* name, bool collapsed) + { + SetWindowCollapsedNative(name, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(ref byte name, bool collapsed, ImGuiCond cond) + { + fixed (byte* pname = &name) + { + SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, cond); + } + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(ref byte name, bool collapsed) + { + fixed (byte* pname = &name) + { + SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed, ImGuiCond cond) + { + fixed (byte* pname = name) + { + SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, cond); + } + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed) + { + fixed (byte* pname = name) + { + SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(string name, bool collapsed, ImGuiCond cond) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetWindowCollapsedNative(pStr0, collapsed ? (byte)1 : (byte)0, cond); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetWindowCollapsed(string name, bool collapsed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetWindowCollapsedNative(pStr0, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetWindowFocusNative(byte* name) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[61])(name); + #else + ((delegate* unmanaged[Cdecl])funcTable[61])((nint)name); + #endif + } + + /// + /// To be documented. + /// + public static void SetWindowFocus(byte* name) + { + SetWindowFocusNative(name); + } + + /// + /// To be documented. + /// + public static void SetWindowFocus(ref byte name) + { + fixed (byte* pname = &name) + { + SetWindowFocusNative((byte*)pname); + } + } + + /// + /// To be documented. + /// + public static void SetWindowFocus(ReadOnlySpan name) + { + fixed (byte* pname = name) + { + SetWindowFocusNative((byte*)pname); + } + } + + /// + /// To be documented. + /// + public static void SetWindowFocus(string name) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetWindowFocusNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetContentRegionAvailNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[62])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[62])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetContentRegionAvail() + { + Vector2 ret; + GetContentRegionAvailNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetContentRegionAvail(Vector2* pOut) + { + GetContentRegionAvailNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetContentRegionAvail(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetContentRegionAvailNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetContentRegionMaxNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[63])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[63])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetContentRegionMax() + { + Vector2 ret; + GetContentRegionMaxNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetContentRegionMax(Vector2* pOut) + { + GetContentRegionMaxNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetContentRegionMax(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetContentRegionMaxNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetWindowContentRegionMinNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[64])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[64])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetWindowContentRegionMin() + { + Vector2 ret; + GetWindowContentRegionMinNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetWindowContentRegionMin(Vector2* pOut) + { + GetWindowContentRegionMinNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetWindowContentRegionMin(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetWindowContentRegionMinNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetWindowContentRegionMaxNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[65])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[65])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetWindowContentRegionMax() + { + Vector2 ret; + GetWindowContentRegionMaxNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetWindowContentRegionMax(Vector2* pOut) + { + GetWindowContentRegionMaxNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetWindowContentRegionMax(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetWindowContentRegionMaxNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetScrollXNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[66])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[66])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetScrollX() + { + float ret = GetScrollXNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetScrollYNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[67])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[67])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetScrollY() + { + float ret = GetScrollYNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetScrollXNative(float scrollX) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[68])(scrollX); + #else + ((delegate* unmanaged[Cdecl])funcTable[68])(scrollX); + #endif + } + + /// + /// To be documented. + /// + public static void SetScrollX(float scrollX) + { + SetScrollXNative(scrollX); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetScrollYNative(float scrollY) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[69])(scrollY); + #else + ((delegate* unmanaged[Cdecl])funcTable[69])(scrollY); + #endif + } + + /// + /// To be documented. + /// + public static void SetScrollY(float scrollY) + { + SetScrollYNative(scrollY); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetScrollMaxXNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[70])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[70])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetScrollMaxX() + { + float ret = GetScrollMaxXNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetScrollMaxYNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[71])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[71])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetScrollMaxY() + { + float ret = GetScrollMaxYNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetScrollHereXNative(float centerXRatio) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[72])(centerXRatio); + #else + ((delegate* unmanaged[Cdecl])funcTable[72])(centerXRatio); + #endif + } + + /// + /// To be documented. + /// + public static void SetScrollHereX(float centerXRatio) + { + SetScrollHereXNative(centerXRatio); + } + + /// + /// To be documented. + /// + public static void SetScrollHereX() + { + SetScrollHereXNative((float)(0.5f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetScrollHereYNative(float centerYRatio) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[73])(centerYRatio); + #else + ((delegate* unmanaged[Cdecl])funcTable[73])(centerYRatio); + #endif + } + + /// + /// To be documented. + /// + public static void SetScrollHereY(float centerYRatio) + { + SetScrollHereYNative(centerYRatio); + } + + /// + /// To be documented. + /// + public static void SetScrollHereY() + { + SetScrollHereYNative((float)(0.5f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetScrollFromPosXNative(float localX, float centerXRatio) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[74])(localX, centerXRatio); + #else + ((delegate* unmanaged[Cdecl])funcTable[74])(localX, centerXRatio); + #endif + } + + /// + /// To be documented. + /// + public static void SetScrollFromPosX(float localX, float centerXRatio) + { + SetScrollFromPosXNative(localX, centerXRatio); + } + + /// + /// To be documented. + /// + public static void SetScrollFromPosX(float localX) + { + SetScrollFromPosXNative(localX, (float)(0.5f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetScrollFromPosYNative(float localY, float centerYRatio) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[75])(localY, centerYRatio); + #else + ((delegate* unmanaged[Cdecl])funcTable[75])(localY, centerYRatio); + #endif + } + + /// + /// To be documented. + /// + public static void SetScrollFromPosY(float localY, float centerYRatio) + { + SetScrollFromPosYNative(localY, centerYRatio); + } + + /// + /// To be documented. + /// + public static void SetScrollFromPosY(float localY) + { + SetScrollFromPosYNative(localY, (float)(0.5f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushFontNative(ImFont* font) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[76])(font); + #else + ((delegate* unmanaged[Cdecl])funcTable[76])((nint)font); + #endif + } + + /// + /// To be documented. + /// + public static void PushFont(ImFontPtr font) + { + PushFontNative(font); + } + + /// + /// To be documented. + /// + public static void PushFont(ref ImFont font) + { + fixed (ImFont* pfont = &font) + { + PushFontNative((ImFont*)pfont); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopFontNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[77])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[77])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopFont() + { + PopFontNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleColorNative(ImGuiCol idx, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[78])(idx, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[78])(idx, col); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleColor(ImGuiCol idx, uint col) + { + PushStyleColorNative(idx, col); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleColorNative(ImGuiCol idx, Vector4 col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[79])(idx, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[79])(idx, col); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleColor(ImGuiCol idx, Vector4 col) + { + PushStyleColorNative(idx, col); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopStyleColorNative(int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[80])(count); + #else + ((delegate* unmanaged[Cdecl])funcTable[80])(count); + #endif + } + + /// + /// To be documented. + /// + public static void PopStyleColor(int count) + { + PopStyleColorNative(count); + } + + /// + /// To be documented. + /// + public static void PopStyleColor() + { + PopStyleColorNative((int)(1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleVarNative(ImGuiStyleVar idx, float val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[81])(idx, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[81])(idx, val); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleVar(ImGuiStyleVar idx, float val) + { + PushStyleVarNative(idx, val); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleVarNative(ImGuiStyleVar idx, Vector2 val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[82])(idx, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[82])(idx, val); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val) + { + PushStyleVarNative(idx, val); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopStyleVarNative(int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[83])(count); + #else + ((delegate* unmanaged[Cdecl])funcTable[83])(count); + #endif + } + + /// + /// To be documented. + /// + public static void PopStyleVar(int count) + { + PopStyleVarNative(count); + } + + /// + /// To be documented. + /// + public static void PopStyleVar() + { + PopStyleVarNative((int)(1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushAllowKeyboardFocusNative(byte allowKeyboardFocus) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[84])(allowKeyboardFocus); + #else + ((delegate* unmanaged[Cdecl])funcTable[84])(allowKeyboardFocus); + #endif + } + + /// + /// To be documented. + /// + public static void PushAllowKeyboardFocus(bool allowKeyboardFocus) + { + PushAllowKeyboardFocusNative(allowKeyboardFocus ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopAllowKeyboardFocusNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[85])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[85])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopAllowKeyboardFocus() + { + PopAllowKeyboardFocusNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushButtonRepeatNative(byte repeat) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[86])(repeat); + #else + ((delegate* unmanaged[Cdecl])funcTable[86])(repeat); + #endif + } + + /// + /// To be documented. + /// + public static void PushButtonRepeat(bool repeat) + { + PushButtonRepeatNative(repeat ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopButtonRepeatNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[87])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[87])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopButtonRepeat() + { + PopButtonRepeatNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushItemWidthNative(float itemWidth) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[88])(itemWidth); + #else + ((delegate* unmanaged[Cdecl])funcTable[88])(itemWidth); + #endif + } + + /// + /// To be documented. + /// + public static void PushItemWidth(float itemWidth) + { + PushItemWidthNative(itemWidth); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopItemWidthNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[89])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[89])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopItemWidth() + { + PopItemWidthNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextItemWidthNative(float itemWidth) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[90])(itemWidth); + #else + ((delegate* unmanaged[Cdecl])funcTable[90])(itemWidth); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextItemWidth(float itemWidth) + { + SetNextItemWidthNative(itemWidth); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float CalcItemWidthNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[91])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[91])(); + #endif + } + + /// + /// To be documented. + /// + public static float CalcItemWidth() + { + float ret = CalcItemWidthNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushTextWrapPosNative(float wrapLocalPosX) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[92])(wrapLocalPosX); + #else + ((delegate* unmanaged[Cdecl])funcTable[92])(wrapLocalPosX); + #endif + } + + /// + /// To be documented. + /// + public static void PushTextWrapPos(float wrapLocalPosX) + { + PushTextWrapPosNative(wrapLocalPosX); + } + + /// + /// To be documented. + /// + public static void PushTextWrapPos() + { + PushTextWrapPosNative((float)(0.0f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopTextWrapPosNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[93])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[93])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopTextWrapPos() + { + PopTextWrapPosNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* GetFontNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[94])(); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[94])(); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr GetFont() + { + ImFontPtr ret = GetFontNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetFontSizeNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[95])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[95])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetFontSize() + { + float ret = GetFontSizeNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetFontTexUvWhitePixelNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[96])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[96])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetFontTexUvWhitePixel() + { + Vector2 ret; + GetFontTexUvWhitePixelNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetFontTexUvWhitePixel(Vector2* pOut) + { + GetFontTexUvWhitePixelNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetFontTexUvWhitePixel(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetFontTexUvWhitePixelNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetColorU32Native(ImGuiCol idx, float alphaMul) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[97])(idx, alphaMul); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[97])(idx, alphaMul); + #endif + } + + /// + /// To be documented. + /// + public static uint GetColorU32(ImGuiCol idx, float alphaMul) + { + uint ret = GetColorU32Native(idx, alphaMul); + return ret; + } + + /// + /// To be documented. + /// + public static uint GetColorU32(ImGuiCol idx) + { + uint ret = GetColorU32Native(idx, (float)(1.0f)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetColorU32Native(Vector4 col) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[98])(col); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[98])(col); + #endif + } + + /// + /// To be documented. + /// + public static uint GetColorU32(Vector4 col) + { + uint ret = GetColorU32Native(col); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetColorU32Native(uint col) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[99])(col); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[99])(col); + #endif + } + + /// + /// To be documented. + /// + public static uint GetColorU32(uint col) + { + uint ret = GetColorU32Native(col); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static Vector4* GetStyleColorVec4Native(ImGuiCol idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[100])(idx); + #else + return (Vector4*)((delegate* unmanaged[Cdecl])funcTable[100])(idx); + #endif + } + + /// + /// To be documented. + /// + public static Vector4* GetStyleColorVec4(ImGuiCol idx) + { + Vector4* ret = GetStyleColorVec4Native(idx); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SeparatorNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[101])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[101])(); + #endif + } + + /// + /// To be documented. + /// + public static void Separator() + { + SeparatorNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SameLineNative(float offsetFromStartX, float spacing) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[102])(offsetFromStartX, spacing); + #else + ((delegate* unmanaged[Cdecl])funcTable[102])(offsetFromStartX, spacing); + #endif + } + + /// + /// To be documented. + /// + public static void SameLine(float offsetFromStartX, float spacing) + { + SameLineNative(offsetFromStartX, spacing); + } + + /// + /// To be documented. + /// + public static void SameLine(float offsetFromStartX) + { + SameLineNative(offsetFromStartX, (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static void SameLine() + { + SameLineNative((float)(0.0f), (float)(-1.0f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void NewLineNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[103])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[103])(); + #endif + } + + /// + /// To be documented. + /// + public static void NewLine() + { + NewLineNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SpacingNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[104])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[104])(); + #endif + } + + /// + /// To be documented. + /// + public static void Spacing() + { + SpacingNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DummyNative(Vector2 size) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[105])(size); + #else + ((delegate* unmanaged[Cdecl])funcTable[105])(size); + #endif + } + + /// + /// To be documented. + /// + public static void Dummy(Vector2 size) + { + DummyNative(size); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void IndentNative(float indentW) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[106])(indentW); + #else + ((delegate* unmanaged[Cdecl])funcTable[106])(indentW); + #endif + } + + /// + /// To be documented. + /// + public static void Indent(float indentW) + { + IndentNative(indentW); + } + + /// + /// To be documented. + /// + public static void Indent() + { + IndentNative((float)(0.0f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void UnindentNative(float indentW) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[107])(indentW); + #else + ((delegate* unmanaged[Cdecl])funcTable[107])(indentW); + #endif + } + + /// + /// To be documented. + /// + public static void Unindent(float indentW) + { + UnindentNative(indentW); + } + + /// + /// To be documented. + /// + public static void Unindent() + { + UnindentNative((float)(0.0f)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BeginGroupNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[108])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[108])(); + #endif + } + + /// + /// To be documented. + /// + public static void BeginGroup() + { + BeginGroupNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndGroupNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[109])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[109])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndGroup() + { + EndGroupNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetCursorPosNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[110])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[110])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetCursorPos() + { + Vector2 ret; + GetCursorPosNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetCursorPos(Vector2* pOut) + { + GetCursorPosNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetCursorPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetCursorPosNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetCursorPosXNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[111])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[111])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetCursorPosX() + { + float ret = GetCursorPosXNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetCursorPosYNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[112])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[112])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetCursorPosY() + { + float ret = GetCursorPosYNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetCursorPosNative(Vector2 localPos) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[113])(localPos); + #else + ((delegate* unmanaged[Cdecl])funcTable[113])(localPos); + #endif + } + + /// + /// To be documented. + /// + public static void SetCursorPos(Vector2 localPos) + { + SetCursorPosNative(localPos); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetCursorPosXNative(float localX) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[114])(localX); + #else + ((delegate* unmanaged[Cdecl])funcTable[114])(localX); + #endif + } + + /// + /// To be documented. + /// + public static void SetCursorPosX(float localX) + { + SetCursorPosXNative(localX); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetCursorPosYNative(float localY) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[115])(localY); + #else + ((delegate* unmanaged[Cdecl])funcTable[115])(localY); + #endif + } + + /// + /// To be documented. + /// + public static void SetCursorPosY(float localY) + { + SetCursorPosYNative(localY); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetCursorStartPosNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[116])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[116])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetCursorStartPos() + { + Vector2 ret; + GetCursorStartPosNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetCursorStartPos(Vector2* pOut) + { + GetCursorStartPosNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetCursorStartPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetCursorStartPosNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetCursorScreenPosNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[117])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[117])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetCursorScreenPos() + { + Vector2 ret; + GetCursorScreenPosNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetCursorScreenPos(Vector2* pOut) + { + GetCursorScreenPosNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetCursorScreenPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetCursorScreenPosNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetCursorScreenPosNative(Vector2 pos) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[118])(pos); + #else + ((delegate* unmanaged[Cdecl])funcTable[118])(pos); + #endif + } + + /// + /// To be documented. + /// + public static void SetCursorScreenPos(Vector2 pos) + { + SetCursorScreenPosNative(pos); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AlignTextToFramePaddingNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[119])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[119])(); + #endif + } + + /// + /// To be documented. + /// + public static void AlignTextToFramePadding() + { + AlignTextToFramePaddingNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetTextLineHeightNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[120])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[120])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetTextLineHeight() + { + float ret = GetTextLineHeightNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetTextLineHeightWithSpacingNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[121])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[121])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetTextLineHeightWithSpacing() + { + float ret = GetTextLineHeightWithSpacingNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetFrameHeightNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[122])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[122])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetFrameHeight() + { + float ret = GetFrameHeightNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetFrameHeightWithSpacingNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[123])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[123])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetFrameHeightWithSpacing() + { + float ret = GetFrameHeightWithSpacingNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushIDNative(byte* strId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[124])(strId); + #else + ((delegate* unmanaged[Cdecl])funcTable[124])((nint)strId); + #endif + } + + /// + /// To be documented. + /// + public static void PushID(byte* strId) + { + PushIDNative(strId); + } + + /// + /// To be documented. + /// + public static void PushID(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + PushIDNative((byte*)pstrId); + } + } + + /// + /// To be documented. + /// + public static void PushID(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + PushIDNative((byte*)pstrId); + } + } + + /// + /// To be documented. + /// + public static void PushID(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PushIDNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushIDNative(byte* strIdBegin, byte* strIdEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[125])(strIdBegin, strIdEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[125])((nint)strIdBegin, (nint)strIdEnd); + #endif + } + + /// + /// To be documented. + /// + public static void PushID(byte* strIdBegin, byte* strIdEnd) + { + PushIDNative(strIdBegin, strIdEnd); + } + + /// + /// To be documented. + /// + public static void PushID(ref byte strIdBegin, byte* strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + PushIDNative((byte*)pstrIdBegin, strIdEnd); + } + } + + /// + /// To be documented. + /// + public static void PushID(ReadOnlySpan strIdBegin, byte* strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + PushIDNative((byte*)pstrIdBegin, strIdEnd); + } + } + + /// + /// To be documented. + /// + public static void PushID(string strIdBegin, byte* strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PushIDNative(pStr0, strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PushID(byte* strIdBegin, ref byte strIdEnd) + { + fixed (byte* pstrIdEnd = &strIdEnd) + { + PushIDNative(strIdBegin, (byte*)pstrIdEnd); + } + } + + /// + /// To be documented. + /// + public static void PushID(byte* strIdBegin, ReadOnlySpan strIdEnd) + { + fixed (byte* pstrIdEnd = strIdEnd) + { + PushIDNative(strIdBegin, (byte*)pstrIdEnd); + } + } + + /// + /// To be documented. + /// + public static void PushID(byte* strIdBegin, string strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PushIDNative(strIdBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PushID(ref byte strIdBegin, ref byte strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + fixed (byte* pstrIdEnd = &strIdEnd) + { + PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + } + } + } + + /// + /// To be documented. + /// + public static void PushID(ReadOnlySpan strIdBegin, ReadOnlySpan strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + fixed (byte* pstrIdEnd = strIdEnd) + { + PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + } + } + } + + /// + /// To be documented. + /// + public static void PushID(string strIdBegin, string strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (strIdEnd != null) + { + pStrSize1 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(strIdEnd, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PushIDNative(pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.001.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.001.cs new file mode 100644 index 000000000..337db3061 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.001.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PushID(ref byte strIdBegin, ReadOnlySpan strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + fixed (byte* pstrIdEnd = strIdEnd) + { + PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + } + } + } + + /// + /// To be documented. + /// + public static void PushID(ref byte strIdBegin, string strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PushIDNative((byte*)pstrIdBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PushID(ReadOnlySpan strIdBegin, ref byte strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + fixed (byte* pstrIdEnd = &strIdEnd) + { + PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + } + } + } + + /// + /// To be documented. + /// + public static void PushID(ReadOnlySpan strIdBegin, string strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PushIDNative((byte*)pstrIdBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PushID(string strIdBegin, ref byte strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrIdEnd = &strIdEnd) + { + PushIDNative(pStr0, (byte*)pstrIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PushID(string strIdBegin, ReadOnlySpan strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrIdEnd = strIdEnd) + { + PushIDNative(pStr0, (byte*)pstrIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushIDNative(void* ptrId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[126])(ptrId); + #else + ((delegate* unmanaged[Cdecl])funcTable[126])((nint)ptrId); + #endif + } + + /// + /// To be documented. + /// + public static void PushID(void* ptrId) + { + PushIDNative(ptrId); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushIDNative(int intId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[127])(intId); + #else + ((delegate* unmanaged[Cdecl])funcTable[127])(intId); + #endif + } + + /// + /// To be documented. + /// + public static void PushID(int intId) + { + PushIDNative(intId); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopIDNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[128])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[128])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopID() + { + PopIDNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetIDNative(byte* strId) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[129])(strId); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[129])((nint)strId); + #endif + } + + /// + /// To be documented. + /// + public static uint GetID(byte* strId) + { + uint ret = GetIDNative(strId); + return ret; + } + + /// + /// To be documented. + /// + public static uint GetID(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + uint ret = GetIDNative((byte*)pstrId); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + uint ret = GetIDNative((byte*)pstrId); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = GetIDNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetIDNative(byte* strIdBegin, byte* strIdEnd) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[130])(strIdBegin, strIdEnd); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[130])((nint)strIdBegin, (nint)strIdEnd); + #endif + } + + /// + /// To be documented. + /// + public static uint GetID(byte* strIdBegin, byte* strIdEnd) + { + uint ret = GetIDNative(strIdBegin, strIdEnd); + return ret; + } + + /// + /// To be documented. + /// + public static uint GetID(ref byte strIdBegin, byte* strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + uint ret = GetIDNative((byte*)pstrIdBegin, strIdEnd); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(ReadOnlySpan strIdBegin, byte* strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + uint ret = GetIDNative((byte*)pstrIdBegin, strIdEnd); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(string strIdBegin, byte* strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = GetIDNative(pStr0, strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static uint GetID(byte* strIdBegin, ref byte strIdEnd) + { + fixed (byte* pstrIdEnd = &strIdEnd) + { + uint ret = GetIDNative(strIdBegin, (byte*)pstrIdEnd); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(byte* strIdBegin, ReadOnlySpan strIdEnd) + { + fixed (byte* pstrIdEnd = strIdEnd) + { + uint ret = GetIDNative(strIdBegin, (byte*)pstrIdEnd); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(byte* strIdBegin, string strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = GetIDNative(strIdBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static uint GetID(ref byte strIdBegin, ref byte strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + fixed (byte* pstrIdEnd = &strIdEnd) + { + uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static uint GetID(ReadOnlySpan strIdBegin, ReadOnlySpan strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + fixed (byte* pstrIdEnd = strIdEnd) + { + uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static uint GetID(string strIdBegin, string strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (strIdEnd != null) + { + pStrSize1 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(strIdEnd, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + uint ret = GetIDNative(pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static uint GetID(ref byte strIdBegin, ReadOnlySpan strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + fixed (byte* pstrIdEnd = strIdEnd) + { + uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static uint GetID(ref byte strIdBegin, string strIdEnd) + { + fixed (byte* pstrIdBegin = &strIdBegin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = GetIDNative((byte*)pstrIdBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(ReadOnlySpan strIdBegin, ref byte strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + fixed (byte* pstrIdEnd = &strIdEnd) + { + uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static uint GetID(ReadOnlySpan strIdBegin, string strIdEnd) + { + fixed (byte* pstrIdBegin = strIdBegin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = GetIDNative((byte*)pstrIdBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(string strIdBegin, ref byte strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrIdEnd = &strIdEnd) + { + uint ret = GetIDNative(pStr0, (byte*)pstrIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetID(string strIdBegin, ReadOnlySpan strIdEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strIdBegin != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrIdEnd = strIdEnd) + { + uint ret = GetIDNative(pStr0, (byte*)pstrIdEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetIDNative(void* ptrId) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[131])(ptrId); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[131])((nint)ptrId); + #endif + } + + /// + /// To be documented. + /// + public static uint GetID(void* ptrId) + { + uint ret = GetIDNative(ptrId); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextUnformattedNative(byte* text, byte* textEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[132])(text, textEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[132])((nint)text, (nint)textEnd); + #endif + } + + /// + /// To be documented. + /// + public static void TextUnformatted(byte* text, byte* textEnd) + { + TextUnformattedNative(text, textEnd); + } + + /// + /// To be documented. + /// + public static void TextUnformatted(byte* text) + { + TextUnformattedNative(text, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + TextUnformattedNative((byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ref byte text) + { + fixed (byte* ptext = &text) + { + TextUnformattedNative((byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + TextUnformattedNative((byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + TextUnformattedNative((byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(string text, byte* textEnd) + { + 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; + } + TextUnformattedNative(pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(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; + } + TextUnformattedNative(pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + TextUnformattedNative(text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + TextUnformattedNative(text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(byte* text, string textEnd) + { + 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; + } + TextUnformattedNative(text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(string text, string textEnd) + { + 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; + } + 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; + } + TextUnformattedNative(pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + TextUnformattedNative((byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + TextUnformattedNative((byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + TextUnformattedNative(pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void TextUnformatted(string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + TextUnformattedNative(pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextNative(byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[133])(fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[133])((nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void Text(byte* fmt) + { + TextNative(fmt); + } + + /// + /// To be documented. + /// + public static void Text(ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + TextNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Text(ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + TextNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Text(string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextVNative(byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[134])(fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[134])((nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void TextV(byte* fmt, nuint args) + { + TextVNative(fmt, args); + } + + /// + /// To be documented. + /// + public static void TextV(ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + TextVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextV(ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + TextVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextV(string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextVNative(pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextColoredNative(Vector4 col, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[135])(col, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[135])(col, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void TextColored(Vector4 col, byte* fmt) + { + TextColoredNative(col, fmt); + } + + /// + /// To be documented. + /// + public static void TextColored(Vector4 col, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + TextColoredNative(col, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TextColored(Vector4 col, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + TextColoredNative(col, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TextColored(Vector4 col, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextColoredNative(col, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextColoredVNative(Vector4 col, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[136])(col, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[136])(col, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void TextColoredV(Vector4 col, byte* fmt, nuint args) + { + TextColoredVNative(col, fmt, args); + } + + /// + /// To be documented. + /// + public static void TextColoredV(Vector4 col, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + TextColoredVNative(col, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextColoredV(Vector4 col, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + TextColoredVNative(col, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextColoredV(Vector4 col, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextColoredVNative(col, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextDisabledNative(byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[137])(fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[137])((nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void TextDisabled(byte* fmt) + { + TextDisabledNative(fmt); + } + + /// + /// To be documented. + /// + public static void TextDisabled(ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + TextDisabledNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TextDisabled(ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + TextDisabledNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TextDisabled(string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextDisabledNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextDisabledVNative(byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[138])(fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[138])((nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void TextDisabledV(byte* fmt, nuint args) + { + TextDisabledVNative(fmt, args); + } + + /// + /// To be documented. + /// + public static void TextDisabledV(ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + TextDisabledVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextDisabledV(ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + TextDisabledVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextDisabledV(string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextDisabledVNative(pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextWrappedNative(byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[139])(fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[139])((nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void TextWrapped(byte* fmt) + { + TextWrappedNative(fmt); + } + + /// + /// To be documented. + /// + public static void TextWrapped(ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + TextWrappedNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TextWrapped(ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + TextWrappedNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TextWrapped(string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextWrappedNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TextWrappedVNative(byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[140])(fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[140])((nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void TextWrappedV(byte* fmt, nuint args) + { + TextWrappedVNative(fmt, args); + } + + /// + /// To be documented. + /// + public static void TextWrappedV(ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + TextWrappedVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextWrappedV(ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + TextWrappedVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TextWrappedV(string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TextWrappedVNative(pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LabelTextNative(byte* label, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[141])(label, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[141])((nint)label, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void LabelText(byte* label, byte* fmt) + { + LabelTextNative(label, fmt); + } + + /// + /// To be documented. + /// + public static void LabelText(ref byte label, byte* fmt) + { + fixed (byte* plabel = &label) + { + LabelTextNative((byte*)plabel, fmt); + } + } + + /// + /// To be documented. + /// + public static void LabelText(ReadOnlySpan label, byte* fmt) + { + fixed (byte* plabel = label) + { + LabelTextNative((byte*)plabel, fmt); + } + } + + /// + /// To be documented. + /// + public static void LabelText(string label, byte* fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextNative(pStr0, fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LabelText(byte* label, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + LabelTextNative(label, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void LabelText(byte* label, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + LabelTextNative(label, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void LabelText(byte* label, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextNative(label, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LabelText(ref byte label, ref byte fmt) + { + fixed (byte* plabel = &label) + { + fixed (byte* pfmt = &fmt) + { + LabelTextNative((byte*)plabel, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void LabelText(ReadOnlySpan label, ReadOnlySpan fmt) + { + fixed (byte* plabel = label) + { + fixed (byte* pfmt = fmt) + { + LabelTextNative((byte*)plabel, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void LabelText(string label, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (fmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(fmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + LabelTextNative(pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LabelText(ref byte label, ReadOnlySpan fmt) + { + fixed (byte* plabel = &label) + { + fixed (byte* pfmt = fmt) + { + LabelTextNative((byte*)plabel, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void LabelText(ref byte label, string fmt) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextNative((byte*)plabel, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void LabelText(ReadOnlySpan label, ref byte fmt) + { + fixed (byte* plabel = label) + { + fixed (byte* pfmt = &fmt) + { + LabelTextNative((byte*)plabel, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void LabelText(ReadOnlySpan label, string fmt) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextNative((byte*)plabel, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void LabelText(string label, ref byte fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = &fmt) + { + LabelTextNative(pStr0, (byte*)pfmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void LabelText(string label, ReadOnlySpan fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = fmt) + { + LabelTextNative(pStr0, (byte*)pfmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LabelTextVNative(byte* label, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[142])(label, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[142])((nint)label, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void LabelTextV(byte* label, byte* fmt, nuint args) + { + LabelTextVNative(label, fmt, args); + } + + /// + /// To be documented. + /// + public static void LabelTextV(ref byte label, byte* fmt, nuint args) + { + fixed (byte* plabel = &label) + { + LabelTextVNative((byte*)plabel, fmt, args); + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(ReadOnlySpan label, byte* fmt, nuint args) + { + fixed (byte* plabel = label) + { + LabelTextVNative((byte*)plabel, fmt, args); + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(string label, byte* fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextVNative(pStr0, fmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(byte* label, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + LabelTextVNative(label, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(byte* label, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + LabelTextVNative(label, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(byte* label, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextVNative(label, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(ref byte label, ref byte fmt, nuint args) + { + fixed (byte* plabel = &label) + { + fixed (byte* pfmt = &fmt) + { + LabelTextVNative((byte*)plabel, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(ReadOnlySpan label, ReadOnlySpan fmt, nuint args) + { + fixed (byte* plabel = label) + { + fixed (byte* pfmt = fmt) + { + LabelTextVNative((byte*)plabel, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(string label, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (fmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(fmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + LabelTextVNative(pStr0, pStr1, args); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(ref byte label, ReadOnlySpan fmt, nuint args) + { + fixed (byte* plabel = &label) + { + fixed (byte* pfmt = fmt) + { + LabelTextVNative((byte*)plabel, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(ref byte label, string fmt, nuint args) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextVNative((byte*)plabel, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(ReadOnlySpan label, ref byte fmt, nuint args) + { + fixed (byte* plabel = label) + { + fixed (byte* pfmt = &fmt) + { + LabelTextVNative((byte*)plabel, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(ReadOnlySpan label, string fmt, nuint args) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelTextVNative((byte*)plabel, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(string label, ref byte fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = &fmt) + { + LabelTextVNative(pStr0, (byte*)pfmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void LabelTextV(string label, ReadOnlySpan fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = fmt) + { + LabelTextVNative(pStr0, (byte*)pfmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BulletTextNative(byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[143])(fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[143])((nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void BulletText(byte* fmt) + { + BulletTextNative(fmt); + } + + /// + /// To be documented. + /// + public static void BulletText(ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + BulletTextNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void BulletText(ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + BulletTextNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void BulletText(string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + BulletTextNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BulletTextVNative(byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[144])(fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[144])((nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void BulletTextV(byte* fmt, nuint args) + { + BulletTextVNative(fmt, args); + } + + /// + /// To be documented. + /// + public static void BulletTextV(ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + BulletTextVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void BulletTextV(ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + BulletTextVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void BulletTextV(string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + BulletTextVNative(pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ButtonNative(byte* label, Vector2 size) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[145])(label, size); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[145])((nint)label, size); + #endif + } + + /// + /// To be documented. + /// + public static bool Button(byte* label, Vector2 size) + { + byte ret = ButtonNative(label, size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Button(byte* label) + { + byte ret = ButtonNative(label, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Button(ref byte label, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = ButtonNative((byte*)plabel, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Button(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = ButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Button(ReadOnlySpan label, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = ButtonNative((byte*)plabel, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Button(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = ButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Button(string label, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ButtonNative(pStr0, size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Button(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ButtonNative(pStr0, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SmallButtonNative(byte* label) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[146])(label); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[146])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static bool SmallButton(byte* label) + { + byte ret = SmallButtonNative(label); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SmallButton(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = SmallButtonNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SmallButton(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = SmallButtonNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SmallButton(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SmallButtonNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InvisibleButtonNative(byte* strId, Vector2 size, ImGuiButtonFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[147])(strId, size, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[147])((nint)strId, size, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(byte* strId, Vector2 size, ImGuiButtonFlags flags) + { + byte ret = InvisibleButtonNative(strId, size, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(byte* strId, Vector2 size) + { + byte ret = InvisibleButtonNative(strId, size, (ImGuiButtonFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(ref byte strId, Vector2 size, ImGuiButtonFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = InvisibleButtonNative((byte*)pstrId, size, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(ref byte strId, Vector2 size) + { + fixed (byte* pstrId = &strId) + { + byte ret = InvisibleButtonNative((byte*)pstrId, size, (ImGuiButtonFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(ReadOnlySpan strId, Vector2 size, ImGuiButtonFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = InvisibleButtonNative((byte*)pstrId, size, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(ReadOnlySpan strId, Vector2 size) + { + fixed (byte* pstrId = strId) + { + byte ret = InvisibleButtonNative((byte*)pstrId, size, (ImGuiButtonFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(string strId, Vector2 size, ImGuiButtonFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InvisibleButtonNative(pStr0, size, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InvisibleButton(string strId, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InvisibleButtonNative(pStr0, size, (ImGuiButtonFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ArrowButtonNative(byte* strId, ImGuiDir dir) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[148])(strId, dir); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[148])((nint)strId, dir); + #endif + } + + /// + /// To be documented. + /// + public static bool ArrowButton(byte* strId, ImGuiDir dir) + { + byte ret = ArrowButtonNative(strId, dir); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ArrowButton(ref byte strId, ImGuiDir dir) + { + fixed (byte* pstrId = &strId) + { + byte ret = ArrowButtonNative((byte*)pstrId, dir); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ArrowButton(ReadOnlySpan strId, ImGuiDir dir) + { + fixed (byte* pstrId = strId) + { + byte ret = ArrowButtonNative((byte*)pstrId, dir); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ArrowButton(string strId, ImGuiDir dir) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ArrowButtonNative(pStr0, dir); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImageNative(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol, Vector4 borderCol) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[149])(userTextureId, size, uv0, uv1, tintCol, borderCol); + #else + ((delegate* unmanaged[Cdecl])funcTable[149])(userTextureId, size, uv0, uv1, tintCol, borderCol); + #endif + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol, Vector4 borderCol) + { + ImageNative(userTextureId, size, uv0, uv1, tintCol, borderCol); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol) + { + ImageNative(userTextureId, size, uv0, uv1, tintCol, (Vector4)(new Vector4(0,0,0,0))); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1) + { + ImageNative(userTextureId, size, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0))); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0) + { + ImageNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0))); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size) + { + ImageNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0))); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 tintCol) + { + ImageNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), tintCol, (Vector4)(new Vector4(0,0,0,0))); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector4 tintCol) + { + ImageNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (Vector4)(new Vector4(0,0,0,0))); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 tintCol, Vector4 borderCol) + { + ImageNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), tintCol, borderCol); + } + + /// + /// To be documented. + /// + public static void Image(ImTextureID userTextureId, Vector2 size, Vector4 tintCol, Vector4 borderCol) + { + ImageNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, borderCol); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImageButtonNative(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[150])(userTextureId, size, uv0, uv1, framePadding, bgCol, tintCol); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[150])(userTextureId, size, uv0, uv1, framePadding, bgCol, tintCol); + #endif + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, uv1, framePadding, bgCol, tintCol); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, uv1, framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, uv1, framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, uv1, (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size) + { + byte ret = ImageButtonNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding) + { + byte ret = ImageButtonNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bgCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, uv1, (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 bgCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector4 bgCol) + { + byte ret = ImageButtonNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding, Vector4 bgCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding, Vector4 bgCol) + { + byte ret = ImageButtonNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, uv1, (int)(-1), bgCol, tintCol); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, tintCol); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImageButtonNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, tintCol); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImageButtonNative(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, bgCol, tintCol); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImageButtonNative(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, bgCol, tintCol); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte CheckboxNative(byte* label, bool* v) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[151])(label, v); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[151])((nint)label, (nint)v); + #endif + } + + /// + /// To be documented. + /// + public static bool Checkbox(byte* label, bool* v) + { + byte ret = CheckboxNative(label, v); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Checkbox(ref byte label, bool* v) + { + fixed (byte* plabel = &label) + { + byte ret = CheckboxNative((byte*)plabel, v); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Checkbox(ReadOnlySpan label, bool* v) + { + fixed (byte* plabel = label) + { + byte ret = CheckboxNative((byte*)plabel, v); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Checkbox(string label, bool* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = CheckboxNative(pStr0, v); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Checkbox(byte* label, ref bool v) + { + fixed (bool* pv = &v) + { + byte ret = CheckboxNative(label, (bool*)pv); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Checkbox(ref byte label, ref bool v) + { + fixed (byte* plabel = &label) + { + fixed (bool* pv = &v) + { + byte ret = CheckboxNative((byte*)plabel, (bool*)pv); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Checkbox(ReadOnlySpan label, ref bool v) + { + fixed (byte* plabel = label) + { + fixed (bool* pv = &v) + { + byte ret = CheckboxNative((byte*)plabel, (bool*)pv); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Checkbox(string label, ref bool v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* pv = &v) + { + byte ret = CheckboxNative(pStr0, (bool*)pv); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte CheckboxFlagsNative(byte* label, int* flags, int flagsValue) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[152])(label, flags, flagsValue); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[152])((nint)label, (nint)flags, flagsValue); + #endif + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(byte* label, int* flags, int flagsValue) + { + byte ret = CheckboxFlagsNative(label, flags, flagsValue); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ref byte label, int* flags, int flagsValue) + { + fixed (byte* plabel = &label) + { + byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ReadOnlySpan label, int* flags, int flagsValue) + { + fixed (byte* plabel = label) + { + byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(string label, int* flags, int flagsValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = CheckboxFlagsNative(pStr0, flags, flagsValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(byte* label, ref int flags, int flagsValue) + { + fixed (int* pflags = &flags) + { + byte ret = CheckboxFlagsNative(label, (int*)pflags, flagsValue); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ref byte label, ref int flags, int flagsValue) + { + fixed (byte* plabel = &label) + { + fixed (int* pflags = &flags) + { + byte ret = CheckboxFlagsNative((byte*)plabel, (int*)pflags, flagsValue); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ReadOnlySpan label, ref int flags, int flagsValue) + { + fixed (byte* plabel = label) + { + fixed (int* pflags = &flags) + { + byte ret = CheckboxFlagsNative((byte*)plabel, (int*)pflags, flagsValue); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(string label, ref int flags, int flagsValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pflags = &flags) + { + byte ret = CheckboxFlagsNative(pStr0, (int*)pflags, flagsValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte CheckboxFlagsNative(byte* label, uint* flags, uint flagsValue) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[153])(label, flags, flagsValue); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[153])((nint)label, (nint)flags, flagsValue); + #endif + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(byte* label, uint* flags, uint flagsValue) + { + byte ret = CheckboxFlagsNative(label, flags, flagsValue); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ref byte label, uint* flags, uint flagsValue) + { + fixed (byte* plabel = &label) + { + byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ReadOnlySpan label, uint* flags, uint flagsValue) + { + fixed (byte* plabel = label) + { + byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(string label, uint* flags, uint flagsValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = CheckboxFlagsNative(pStr0, flags, flagsValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(byte* label, ref uint flags, uint flagsValue) + { + fixed (uint* pflags = &flags) + { + byte ret = CheckboxFlagsNative(label, (uint*)pflags, flagsValue); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ref byte label, ref uint flags, uint flagsValue) + { + fixed (byte* plabel = &label) + { + fixed (uint* pflags = &flags) + { + byte ret = CheckboxFlagsNative((byte*)plabel, (uint*)pflags, flagsValue); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(ReadOnlySpan label, ref uint flags, uint flagsValue) + { + fixed (byte* plabel = label) + { + fixed (uint* pflags = &flags) + { + byte ret = CheckboxFlagsNative((byte*)plabel, (uint*)pflags, flagsValue); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CheckboxFlags(string label, ref uint flags, uint flagsValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pflags = &flags) + { + byte ret = CheckboxFlagsNative(pStr0, (uint*)pflags, flagsValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte RadioButtonNative(byte* label, byte active) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[154])(label, active); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[154])((nint)label, active); + #endif + } + + /// + /// To be documented. + /// + public static bool RadioButton(byte* label, bool active) + { + byte ret = RadioButtonNative(label, active ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool RadioButton(ref byte label, bool active) + { + fixed (byte* plabel = &label) + { + byte ret = RadioButtonNative((byte*)plabel, active ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool RadioButton(ReadOnlySpan label, bool active) + { + fixed (byte* plabel = label) + { + byte ret = RadioButtonNative((byte*)plabel, active ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool RadioButton(string label, bool active) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = RadioButtonNative(pStr0, active ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte RadioButtonNative(byte* label, int* v, int vButton) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[155])(label, v, vButton); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[155])((nint)label, (nint)v, vButton); + #endif + } + + /// + /// To be documented. + /// + public static bool RadioButton(byte* label, int* v, int vButton) + { + byte ret = RadioButtonNative(label, v, vButton); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool RadioButton(ref byte label, int* v, int vButton) + { + fixed (byte* plabel = &label) + { + byte ret = RadioButtonNative((byte*)plabel, v, vButton); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool RadioButton(ReadOnlySpan label, int* v, int vButton) + { + fixed (byte* plabel = label) + { + byte ret = RadioButtonNative((byte*)plabel, v, vButton); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool RadioButton(string label, int* v, int vButton) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = RadioButtonNative(pStr0, v, vButton); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool RadioButton(byte* label, ref int v, int vButton) + { + fixed (int* pv = &v) + { + byte ret = RadioButtonNative(label, (int*)pv, vButton); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool RadioButton(ref byte label, ref int v, int vButton) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = RadioButtonNative((byte*)plabel, (int*)pv, vButton); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool RadioButton(ReadOnlySpan label, ref int v, int vButton) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = RadioButtonNative((byte*)plabel, (int*)pv, vButton); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool RadioButton(string label, ref int v, int vButton) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = RadioButtonNative(pStr0, (int*)pv, vButton); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ProgressBarNative(float fraction, Vector2 sizeArg, byte* overlay) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[156])(fraction, sizeArg, overlay); + #else + ((delegate* unmanaged[Cdecl])funcTable[156])(fraction, sizeArg, (nint)overlay); + #endif + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, Vector2 sizeArg, byte* overlay) + { + ProgressBarNative(fraction, sizeArg, overlay); + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, Vector2 sizeArg) + { + ProgressBarNative(fraction, sizeArg, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction) + { + ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, byte* overlay) + { + ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), overlay); + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, Vector2 sizeArg, ref byte overlay) + { + fixed (byte* poverlay = &overlay) + { + ProgressBarNative(fraction, sizeArg, (byte*)poverlay); + } + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, ref byte overlay) + { + fixed (byte* poverlay = &overlay) + { + ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)poverlay); + } + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, Vector2 sizeArg, ReadOnlySpan overlay) + { + fixed (byte* poverlay = overlay) + { + ProgressBarNative(fraction, sizeArg, (byte*)poverlay); + } + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, ReadOnlySpan overlay) + { + fixed (byte* poverlay = overlay) + { + ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)poverlay); + } + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, Vector2 sizeArg, string overlay) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlay != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlay); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlay, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ProgressBarNative(fraction, sizeArg, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ProgressBar(float fraction, string overlay) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlay != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlay); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlay, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BulletNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[157])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[157])(); + #endif + } + + /// + /// To be documented. + /// + public static void Bullet() + { + BulletNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginComboNative(byte* label, byte* previewValue, ImGuiComboFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[158])(label, previewValue, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[158])((nint)label, (nint)previewValue, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, byte* previewValue, ImGuiComboFlags flags) + { + byte ret = BeginComboNative(label, previewValue, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, byte* previewValue) + { + byte ret = BeginComboNative(label, previewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, byte* previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = BeginComboNative((byte*)plabel, previewValue, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, byte* previewValue) + { + fixed (byte* plabel = &label) + { + byte ret = BeginComboNative((byte*)plabel, previewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, byte* previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = BeginComboNative((byte*)plabel, previewValue, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, byte* previewValue) + { + fixed (byte* plabel = label) + { + byte ret = BeginComboNative((byte*)plabel, previewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, byte* previewValue, ImGuiComboFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative(pStr0, previewValue, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, byte* previewValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative(pStr0, previewValue, (ImGuiComboFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, ref byte previewValue, ImGuiComboFlags flags) + { + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative(label, (byte*)ppreviewValue, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, ref byte previewValue) + { + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative(label, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, ReadOnlySpan previewValue, ImGuiComboFlags flags) + { + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative(label, (byte*)ppreviewValue, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, ReadOnlySpan previewValue) + { + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative(label, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, string previewValue, ImGuiComboFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (previewValue != null) + { + pStrSize0 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative(label, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(byte* label, string previewValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (previewValue != null) + { + pStrSize0 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative(label, pStr0, (ImGuiComboFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, ref byte previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, ref byte previewValue) + { + fixed (byte* plabel = &label) + { + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan previewValue) + { + fixed (byte* plabel = label) + { + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, string previewValue, ImGuiComboFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (previewValue != null) + { + pStrSize1 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(previewValue, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = BeginComboNative(pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, string previewValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (previewValue != null) + { + pStrSize1 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(previewValue, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = BeginComboNative(pStr0, pStr1, (ImGuiComboFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, ReadOnlySpan previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, ReadOnlySpan previewValue) + { + fixed (byte* plabel = &label) + { + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, string previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (previewValue != null) + { + pStrSize0 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative((byte*)plabel, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ref byte label, string previewValue) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (previewValue != null) + { + pStrSize0 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative((byte*)plabel, pStr0, (ImGuiComboFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, ref byte previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, ref byte previewValue) + { + fixed (byte* plabel = label) + { + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, string previewValue, ImGuiComboFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (previewValue != null) + { + pStrSize0 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative((byte*)plabel, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(ReadOnlySpan label, string previewValue) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (previewValue != null) + { + pStrSize0 = Utils.GetByteCountUTF8(previewValue); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginComboNative((byte*)plabel, pStr0, (ImGuiComboFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, ref byte previewValue, ImGuiComboFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, ref byte previewValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppreviewValue = &previewValue) + { + byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, ReadOnlySpan previewValue, ImGuiComboFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginCombo(string label, ReadOnlySpan previewValue) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppreviewValue = previewValue) + { + byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndComboNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[159])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[159])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndCombo() + { + EndComboNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ComboNative(byte* label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[160])(label, currentItem, items, itemsCount, popupMaxHeightInItems); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[160])((nint)label, (nint)currentItem, (nint)items, itemsCount, popupMaxHeightInItems); + #endif + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + byte ret = ComboNative(label, currentItem, items, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, byte** items, int itemsCount) + { + byte ret = ComboNative(label, currentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = &label) + { + byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = label) + { + byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(pStr0, currentItem, items, itemsCount, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, byte** items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(pStr0, currentItem, items, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(label, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, byte** items, int itemsCount) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(label, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.002.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.002.cs new file mode 100644 index 000000000..acaa05c6c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.002.cs @@ -0,0 +1,5029 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, byte** items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(label, currentItem, pStrArray0, itemsCount, popupMaxHeightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, string[] items, int itemsCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(label, currentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(pStr0, currentItem, pStrArray0, itemsCount, popupMaxHeightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, string[] items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(pStr0, currentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, popupMaxHeightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, string[] items, int itemsCount) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, popupMaxHeightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, string[] items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ComboNative(byte* label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[161])(label, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[161])((nint)label, (nint)currentItem, (nint)itemsSeparatedByZeros, popupMaxHeightInItems); + #endif + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte ret = ComboNative(label, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, byte* itemsSeparatedByZeros) + { + byte ret = ComboNative(label, currentItem, itemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, byte* itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, byte* itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(pStr0, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, byte* itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(pStr0, currentItem, itemsSeparatedByZeros, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(label, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, byte* itemsSeparatedByZeros) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(label, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, byte* itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, byte* itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, byte* itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, ref byte itemsSeparatedByZeros) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(label, currentItem, pStr0, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, string itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(label, currentItem, pStr0, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, ref byte itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ComboNative(pStr0, currentItem, pStr1, popupMaxHeightInItems); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, string itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ComboNative(pStr0, currentItem, pStr1, (int)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, currentItem, pStr0, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, string itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, currentItem, pStr0, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, ref byte itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, currentItem, pStr0, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, string itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, currentItem, pStr0, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, ref byte itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, ref byte itemsSeparatedByZeros) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(label, (int*)pcurrentItem, pStr0, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, string itemsSeparatedByZeros) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(label, (int*)pcurrentItem, pStr0, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, ref byte itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStr1, popupMaxHeightInItems); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, string itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStr1, (int)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, string itemsSeparatedByZeros) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, ref byte itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, string itemsSeparatedByZeros) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (itemsSeparatedByZeros != null) + { + pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, ref byte itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ComboNative(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl], void*, int, int, bool>, void*, int, int, byte>)funcTable[162])(label, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[162])((nint)label, (nint)currentItem, (nint)itemsGetter, (nint)data, itemsCount, popupMaxHeightInItems); + #endif + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + byte ret = ComboNative(label, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + byte ret = ComboNative(label, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = &label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = label) + { + byte ret = ComboNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(pStr0, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ComboNative(pStr0, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Combo(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ComboNative(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragFloatNative(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[163])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[163])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax) + { + bool ret = DragFloat(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin) + { + bool ret = DragFloat(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed) + { + bool ret = DragFloat(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v) + { + bool ret = DragFloat(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, byte* format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, byte* format) + { + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, byte* format) + { + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = DragFloat(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + bool ret = DragFloat(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragFloat(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, ImGuiSliderFlags flags) + { + bool ret = DragFloat(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.003.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.003.cs new file mode 100644 index 000000000..364008e6d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.003.cs @@ -0,0 +1,5032 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(byte* label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ref byte label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragFloat2Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[164])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[164])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax) + { + bool ret = DragFloat2(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin) + { + bool ret = DragFloat2(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed) + { + bool ret = DragFloat2(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v) + { + bool ret = DragFloat2(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, byte* format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, byte* format) + { + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, byte* format) + { + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = DragFloat2(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + bool ret = DragFloat2(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragFloat2(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, ImGuiSliderFlags flags) + { + bool ret = DragFloat2(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.004.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.004.cs new file mode 100644 index 000000000..88cd1900e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.004.cs @@ -0,0 +1,5040 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat2(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, byte* format) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, byte* format) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, byte* format) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.005.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.005.cs new file mode 100644 index 000000000..2e81ad315 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.005.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, string format) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, string format) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, string format) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref Vector2 v, string format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(byte* label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref Vector2 v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ref byte label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat2(string label, ref float v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragFloat3Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[165])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[165])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax) + { + bool ret = DragFloat3(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin) + { + bool ret = DragFloat3(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed) + { + bool ret = DragFloat3(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v) + { + bool ret = DragFloat3(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, byte* format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, byte* format) + { + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, byte* format) + { + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = DragFloat3(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + bool ret = DragFloat3(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragFloat3(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, ImGuiSliderFlags flags) + { + bool ret = DragFloat3(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat3(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.006.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.006.cs new file mode 100644 index 000000000..6ffc211dc --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.006.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, byte* format) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, byte* format) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, byte* format) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, string format) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.007.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.007.cs new file mode 100644 index 000000000..01b1a0e70 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.007.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, string format) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, string format) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref Vector3 v, string format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(byte* label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref Vector3 v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ref byte label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat3(string label, ref float v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragFloat4Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[166])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[166])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax) + { + bool ret = DragFloat4(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin) + { + bool ret = DragFloat4(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed) + { + bool ret = DragFloat4(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v) + { + bool ret = DragFloat4(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, byte* format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, byte* format) + { + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, byte* format) + { + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = DragFloat4(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + bool ret = DragFloat4(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragFloat4(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, ImGuiSliderFlags flags) + { + bool ret = DragFloat4(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloat4(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, byte* format) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, byte* format) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, byte* format) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, byte* format) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.008.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.008.cs new file mode 100644 index 000000000..9afd36d0b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.008.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, string format) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, string format) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, string format) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref Vector4 v, string format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(byte* label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.009.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.009.cs new file mode 100644 index 000000000..38e118c54 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.009.cs @@ -0,0 +1,5035 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref Vector4 v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ref byte label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloat4(string label, ref float v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragFloatRange2Native(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[167])(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[167])((nint)label, (nint)vCurrentMin, (nint)vCurrentMax, vSpeed, vMin, vMax, (nint)format, (nint)formatMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.010.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.010.cs new file mode 100644 index 000000000..a8b281f57 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.010.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.011.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.011.cs new file mode 100644 index 000000000..69bddbacc --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.011.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.012.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.012.cs new file mode 100644 index 000000000..c8f5a60a3 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.012.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.013.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.013.cs new file mode 100644 index 000000000..4406c8c35 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.013.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.014.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.014.cs new file mode 100644 index 000000000..50cafdd04 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.014.cs @@ -0,0 +1,5049 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.015.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.015.cs new file mode 100644 index 000000000..c236a100a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.015.cs @@ -0,0 +1,5037 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.016.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.016.cs new file mode 100644 index 000000000..0b7320f8e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.016.cs @@ -0,0 +1,5055 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.017.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.017.cs new file mode 100644 index 000000000..83455d0b6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.017.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.018.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.018.cs new file mode 100644 index 000000000..315438676 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.018.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.019.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.019.cs new file mode 100644 index 000000000..7c3600fc5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.019.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.020.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.020.cs new file mode 100644 index 000000000..534f3f04a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.020.cs @@ -0,0 +1,5055 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.021.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.021.cs new file mode 100644 index 000000000..9b3c2a49e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.021.cs @@ -0,0 +1,5070 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.022.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.022.cs new file mode 100644 index 000000000..b399d7276 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.022.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.023.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.023.cs new file mode 100644 index 000000000..ba08d3b40 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.023.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.024.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.024.cs new file mode 100644 index 000000000..e17d7b88e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.024.cs @@ -0,0 +1,5037 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.025.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.025.cs new file mode 100644 index 000000000..3d4cdbcd7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.025.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvCurrentMin = &vCurrentMin) + { + fixed (float* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragIntNative(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[168])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[168])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax) + { + bool ret = DragInt(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin) + { + bool ret = DragInt(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed) + { + bool ret = DragInt(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v) + { + bool ret = DragInt(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin) + { + bool ret = DragInt(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax) + { + bool ret = DragInt(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, byte* format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, byte* format) + { + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, byte* format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, byte* format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt(label, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragInt(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, ImGuiSliderFlags flags) + { + bool ret = DragInt(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.026.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.026.cs new file mode 100644 index 000000000..13fe574fb --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.026.cs @@ -0,0 +1,5046 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.027.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.027.cs new file mode 100644 index 000000000..c21ec2357 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.027.cs @@ -0,0 +1,5029 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragInt2Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[169])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[169])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax) + { + bool ret = DragInt2(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin) + { + bool ret = DragInt2(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed) + { + bool ret = DragInt2(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v) + { + bool ret = DragInt2(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin) + { + bool ret = DragInt2(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax) + { + bool ret = DragInt2(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, byte* format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, byte* format) + { + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, byte* format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, byte* format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt2(label, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt2(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragInt2(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, ImGuiSliderFlags flags) + { + bool ret = DragInt2(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt2(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt2(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.028.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.028.cs new file mode 100644 index 000000000..44e790633 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.028.cs @@ -0,0 +1,5055 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.029.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.029.cs new file mode 100644 index 000000000..6c0907127 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.029.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.030.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.030.cs new file mode 100644 index 000000000..d08148e6d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.030.cs @@ -0,0 +1,5041 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragInt3Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[170])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[170])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax) + { + bool ret = DragInt3(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin) + { + bool ret = DragInt3(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed) + { + bool ret = DragInt3(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v) + { + bool ret = DragInt3(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin) + { + bool ret = DragInt3(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax) + { + bool ret = DragInt3(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, byte* format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, byte* format) + { + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, byte* format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, byte* format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt3(label, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt3(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragInt3(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, ImGuiSliderFlags flags) + { + bool ret = DragInt3(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt3(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt3(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.031.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.031.cs new file mode 100644 index 000000000..d0808309d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.031.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.032.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.032.cs new file mode 100644 index 000000000..7dd269839 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.032.cs @@ -0,0 +1,5032 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragInt4Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[171])(label, v, vSpeed, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[171])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax) + { + bool ret = DragInt4(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin) + { + bool ret = DragInt4(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed) + { + bool ret = DragInt4(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v) + { + bool ret = DragInt4(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin) + { + bool ret = DragInt4(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax) + { + bool ret = DragInt4(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, byte* format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, byte* format) + { + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, byte* format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, byte* format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt4(label, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt4(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragInt4(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, ImGuiSliderFlags flags) + { + bool ret = DragInt4(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragInt4(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragInt4(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.033.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.033.cs new file mode 100644 index 000000000..5665093dc --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.033.cs @@ -0,0 +1,5037 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.034.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.034.cs new file mode 100644 index 000000000..56500bdce --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.034.cs @@ -0,0 +1,5037 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.035.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.035.cs new file mode 100644 index 000000000..9deef6b48 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.035.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragIntRange2Native(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[172])(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[172])((nint)label, (nint)vCurrentMin, (nint)vCurrentMax, vSpeed, vMin, vMax, (nint)format, (nint)formatMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.036.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.036.cs new file mode 100644 index 000000000..21deff228 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.036.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.037.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.037.cs new file mode 100644 index 000000000..ddc929b65 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.037.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.038.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.038.cs new file mode 100644 index 000000000..d9174e662 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.038.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.039.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.039.cs new file mode 100644 index 000000000..8e4ba485c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.039.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.040.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.040.cs new file mode 100644 index 000000000..6f42a126e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.040.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.041.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.041.cs new file mode 100644 index 000000000..4e6be1620 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.041.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.042.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.042.cs new file mode 100644 index 000000000..adf4493f6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.042.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.043.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.043.cs new file mode 100644 index 000000000..2b588b10f --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.043.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.044.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.044.cs new file mode 100644 index 000000000..49d765f5d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.044.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.045.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.045.cs new file mode 100644 index 000000000..3b5225a10 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.045.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.046.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.046.cs new file mode 100644 index 000000000..b6dc4b42b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.046.cs @@ -0,0 +1,5061 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.047.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.047.cs new file mode 100644 index 000000000..7137bd220 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.047.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.048.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.048.cs new file mode 100644 index 000000000..8352132ae --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.048.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.049.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.049.cs new file mode 100644 index 000000000..961696389 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.049.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.050.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.050.cs new file mode 100644 index 000000000..0e9df3685 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.050.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.051.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.051.cs new file mode 100644 index 000000000..d83b9ff8f --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.051.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.052.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.052.cs new file mode 100644 index 000000000..7e48a4952 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.052.cs @@ -0,0 +1,5067 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.053.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.053.cs new file mode 100644 index 000000000..80fe0728b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.053.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.054.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.054.cs new file mode 100644 index 000000000..072fc48f6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.054.cs @@ -0,0 +1,5067 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.055.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.055.cs new file mode 100644 index 000000000..83ecf762d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.055.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.056.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.056.cs new file mode 100644 index 000000000..6b011fb40 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.056.cs @@ -0,0 +1,5091 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.057.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.057.cs new file mode 100644 index 000000000..d782d04e0 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.057.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte* pStr2 = null; + int pStrSize2 = 0; + if (formatMax != null) + { + pStrSize2 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + pStr2 = Utils.Alloc(pStrSize2 + 1); + } + else + { + byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; + pStr2 = pStrStack2; + } + int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); + pStr2[pStrOffset2] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); + if (pStrSize2 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr2); + } + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.058.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.058.cs new file mode 100644 index 000000000..d5cd11b61 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.058.cs @@ -0,0 +1,5055 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (formatMax != null) + { + pStrSize0 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = &format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.059.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.059.cs new file mode 100644 index 000000000..72292e734 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.059.cs @@ -0,0 +1,5044 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + fixed (byte* pformat = format) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (formatMax != null) + { + pStrSize1 = Utils.GetByteCountUTF8(formatMax); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = &formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvCurrentMin = &vCurrentMin) + { + fixed (int* pvCurrentMax = &vCurrentMax) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (byte* pformatMax = formatMax) + { + byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragScalarNative(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[173])(label, dataType, pData, vSpeed, pMin, pMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[173])((nint)label, dataType, (nint)pData, vSpeed, (nint)pMin, (nint)pMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.060.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.060.cs new file mode 100644 index 000000000..ff153036c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.060.cs @@ -0,0 +1,5059 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[174])(label, dataType, pData, components, vSpeed, pMin, pMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[174])((nint)label, dataType, (nint)pData, components, vSpeed, (nint)pMin, (nint)pMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.061.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.061.cs new file mode 100644 index 000000000..0283ee733 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.061.cs @@ -0,0 +1,5036 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderFloatNative(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[175])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[175])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderFloatNative(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, byte* format) + { + byte ret = SliderFloatNative(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax) + { + bool ret = SliderFloat(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = SliderFloat(label, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat(pStr0, v, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderFloat2Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[176])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[176])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderFloat2Native(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, byte* format) + { + byte ret = SliderFloat2Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax) + { + bool ret = SliderFloat2(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = SliderFloat2(label, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat2(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat2(pStr0, v, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format) + { + fixed (float* pv = v) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax) + { + fixed (float* pv = v) + { + bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, byte* format) + { + fixed (Vector2* pv = &v) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax) + { + fixed (Vector2* pv = &v) + { + bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.062.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.062.cs new file mode 100644 index 000000000..be856ada5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.062.cs @@ -0,0 +1,5063 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, string format) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderFloat3Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[177])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[177])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderFloat3Native(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, byte* format) + { + byte ret = SliderFloat3Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax) + { + bool ret = SliderFloat3(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = SliderFloat3(label, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat3(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat3(pStr0, v, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format) + { + fixed (float* pv = v) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax) + { + fixed (float* pv = v) + { + bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, byte* format) + { + fixed (Vector3* pv = &v) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax) + { + fixed (Vector3* pv = &v) + { + bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, string format) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderFloat4Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[178])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[178])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderFloat4Native(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, byte* format) + { + byte ret = SliderFloat4Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax) + { + bool ret = SliderFloat4(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = SliderFloat4(label, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat4(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderFloat4(pStr0, v, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format) + { + fixed (float* pv = v) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax) + { + fixed (float* pv = v) + { + bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, byte* format) + { + fixed (Vector4* pv = &v) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax) + { + fixed (Vector4* pv = &v) + { + bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.063.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.063.cs new file mode 100644 index 000000000..ff9e16808 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.063.cs @@ -0,0 +1,5047 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, string format) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderAngleNative(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[179])(label, vRad, vDegreesMin, vDegreesMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[179])((nint)label, (nint)vRad, vDegreesMin, vDegreesMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax) + { + bool ret = SliderAngle(label, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin) + { + bool ret = SliderAngle(label, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad) + { + bool ret = SliderAngle(label, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, byte* format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, byte* format) + { + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + bool ret = SliderAngle(label, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + bool ret = SliderAngle(label, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, ImGuiSliderFlags flags) + { + bool ret = SliderAngle(label, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin) + { + fixed (byte* plabel = &label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad) + { + fixed (byte* plabel = &label) + { + bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin) + { + fixed (byte* plabel = label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad) + { + fixed (byte* plabel = label) + { + bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderAngle(pStr0, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderAngle(pStr0, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderAngle(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderAngle(pStr0, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderAngle(pStr0, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderAngle(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, byte* format) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, byte* format) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + bool ret = SliderAngle(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, float* vRad, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, float* vRad, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, float* vRad, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ref byte format) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, ref byte format) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ReadOnlySpan format) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, ReadOnlySpan format) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, string format) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, string format) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.064.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.064.cs new file mode 100644 index 000000000..e26cd583e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.064.cs @@ -0,0 +1,5048 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool SliderAngle(byte* label, ref float vRad, string format, ImGuiSliderFlags flags) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ref byte label, ref float vRad, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(ReadOnlySpan label, ref float vRad, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pvRad = &vRad) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = &format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderAngle(string label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvRad = &vRad) + { + fixed (byte* pformat = format) + { + byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderIntNative(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[180])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[180])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderIntNative(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = SliderIntNative(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax) + { + bool ret = SliderInt(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = SliderInt(label, v, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt(pStr0, v, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = SliderInt(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = SliderInt(label, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderIntNative(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderIntNative(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderInt2Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[181])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[181])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderInt2Native(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = SliderInt2Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax) + { + bool ret = SliderInt2(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = SliderInt2(label, v, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt2(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt2(pStr0, v, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt2(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt2(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.065.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.065.cs new file mode 100644 index 000000000..653b34e0b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.065.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderInt3Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[182])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[182])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderInt3Native(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = SliderInt3Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax) + { + bool ret = SliderInt3(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = SliderInt3(label, v, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt3(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt3(pStr0, v, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt3(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt3(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderInt4Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[183])(label, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[183])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderInt4Native(label, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, byte* format) + { + byte ret = SliderInt4Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax) + { + bool ret = SliderInt4(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = SliderInt4(label, v, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt4(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = SliderInt4(pStr0, v, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (int* pv = v) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (int* pv = v) + { + bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt4(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = SliderInt4(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native(label, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderScalarNative(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[184])(label, dataType, pData, pMin, pMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[184])((nint)label, dataType, (nint)pData, (nint)pMin, (nint)pMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.066.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.066.cs new file mode 100644 index 000000000..6a877cb88 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.066.cs @@ -0,0 +1,5029 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SliderScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[185])(label, dataType, pData, components, pMin, pMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[185])((nint)label, dataType, (nint)pData, components, (nint)pMin, (nint)pMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte VSliderFloatNative(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[186])(label, size, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[186])((nint)label, size, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format) + { + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax) + { + bool ret = VSliderFloat(label, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + bool ret = VSliderFloat(label, size, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = VSliderFloat(pStr0, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = VSliderFloat(pStr0, size, v, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, byte* format) + { + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax) + { + fixed (float* pv = &v) + { + bool ret = VSliderFloat(label, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + bool ret = VSliderFloat(label, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = VSliderFloat(pStr0, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = VSliderFloat(pStr0, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative(label, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte VSliderIntNative(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[187])(label, size, v, vMin, vMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[187])((nint)label, size, (nint)v, vMin, vMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = VSliderIntNative(label, size, v, vMin, vMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format) + { + byte ret = VSliderIntNative(label, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax) + { + bool ret = VSliderInt(label, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + bool ret = VSliderInt(label, size, v, vMin, vMax, (string)"%d", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = VSliderInt(pStr0, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = VSliderInt(pStr0, size, v, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, byte* format) + { + fixed (int* pv = &v) + { + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax) + { + fixed (int* pv = &v) + { + bool ret = VSliderInt(label, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + bool ret = VSliderInt(label, size, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, byte* format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = VSliderInt(pStr0, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + bool ret = VSliderInt(pStr0, size, (int*)pv, vMin, vMax, (string)"%d", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative(label, size, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative(label, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, string format) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, string format) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte VSliderScalarNative(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[188])(label, size, dataType, pData, pMin, pMax, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[188])((nint)label, size, dataType, (nint)pData, (nint)pMin, (nint)pMax, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + fixed (byte* plabel = label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.067.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.067.cs new file mode 100644 index 000000000..98e8bcf17 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.067.cs @@ -0,0 +1,5044 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputFloatNative(byte* label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[189])(label, v, step, stepFast, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[189])((nint)label, (nint)v, step, stepFast, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputFloatNative(label, v, step, stepFast, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, byte* format) + { + byte ret = InputFloatNative(label, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast) + { + bool ret = InputFloat(label, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step) + { + bool ret = InputFloat(label, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v) + { + bool ret = InputFloat(label, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, byte* format) + { + byte ret = InputFloatNative(label, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, byte* format) + { + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) + { + bool ret = InputFloat(label, v, step, stepFast, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, ImGuiInputTextFlags flags) + { + bool ret = InputFloat(label, v, step, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, ImGuiInputTextFlags flags) + { + bool ret = InputFloat(label, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputFloatNative(label, v, step, (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, stepFast, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat(pStr0, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat(pStr0, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat(pStr0, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat(pStr0, v, step, stepFast, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat(pStr0, v, step, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat(pStr0, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, byte* format) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast) + { + fixed (float* pv = &v) + { + bool ret = InputFloat(label, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step) + { + fixed (float* pv = &v) + { + bool ret = InputFloat(label, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = InputFloat(label, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, byte* format) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + bool ret = InputFloat(label, (float*)pv, step, stepFast, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + bool ret = InputFloat(label, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + bool ret = InputFloat(label, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat(pStr0, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat(pStr0, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat(pStr0, (float*)pv, step, stepFast, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat(pStr0, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, v, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, float stepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, v, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, float step, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, v, step, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, stepFast, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, float stepFast, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, float step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, float step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, float stepFast, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, float stepFast, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, (float*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, float step, string format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(byte* label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.068.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.068.cs new file mode 100644 index 000000000..a180358dc --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.068.cs @@ -0,0 +1,5027 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, float step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, float step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, float stepFast, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputFloat2Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[190])(label, v, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[190])((nint)label, (nint)v, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputFloat2Native(label, v, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, byte* format) + { + byte ret = InputFloat2Native(label, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v) + { + bool ret = InputFloat2(label, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, ImGuiInputTextFlags flags) + { + bool ret = InputFloat2(label, v, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloat2Native((byte*)plabel, v, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloat2Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputFloat2Native((byte*)plabel, v, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputFloat2Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(pStr0, v, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(pStr0, v, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat2(pStr0, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat2(pStr0, v, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte ret = InputFloat2Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = InputFloat2Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + byte ret = InputFloat2Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ReadOnlySpan v, byte* format) + { + fixed (float* pv = v) + { + byte ret = InputFloat2Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ReadOnlySpan v) + { + fixed (float* pv = v) + { + bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref Vector2 v, byte* format, ImGuiInputTextFlags flags) + { + fixed (Vector2* pv = &v) + { + byte ret = InputFloat2Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref Vector2 v, byte* format) + { + fixed (Vector2* pv = &v) + { + byte ret = InputFloat2Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref Vector2 v) + { + fixed (Vector2* pv = &v) + { + bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref Vector2 v, ImGuiInputTextFlags flags) + { + fixed (Vector2* pv = &v) + { + bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref Vector2 v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref Vector2 v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref Vector2 v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref Vector2 v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(label, v, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(label, v, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(label, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(label, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat2Native(pStr0, v, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat2Native(pStr0, v, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref Vector2 v, string format, ImGuiInputTextFlags flags) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(label, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref Vector2 v, string format) + { + fixed (Vector2* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(label, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref Vector2 v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref Vector2 v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector2* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat2(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputFloat3Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[191])(label, v, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[191])((nint)label, (nint)v, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputFloat3Native(label, v, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, byte* format) + { + byte ret = InputFloat3Native(label, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v) + { + bool ret = InputFloat3(label, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, ImGuiInputTextFlags flags) + { + bool ret = InputFloat3(label, v, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloat3Native((byte*)plabel, v, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloat3Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputFloat3Native((byte*)plabel, v, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputFloat3Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(pStr0, v, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(pStr0, v, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat3(pStr0, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat3(pStr0, v, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte ret = InputFloat3Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = InputFloat3Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + byte ret = InputFloat3Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ReadOnlySpan v, byte* format) + { + fixed (float* pv = v) + { + byte ret = InputFloat3Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ReadOnlySpan v) + { + fixed (float* pv = v) + { + bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref Vector3 v, byte* format, ImGuiInputTextFlags flags) + { + fixed (Vector3* pv = &v) + { + byte ret = InputFloat3Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref Vector3 v, byte* format) + { + fixed (Vector3* pv = &v) + { + byte ret = InputFloat3Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref Vector3 v) + { + fixed (Vector3* pv = &v) + { + bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref Vector3 v, ImGuiInputTextFlags flags) + { + fixed (Vector3* pv = &v) + { + bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref Vector3 v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref Vector3 v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref Vector3 v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref Vector3 v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(label, v, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(label, v, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(label, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(label, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat3Native(pStr0, v, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat3Native(pStr0, v, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref Vector3 v, string format, ImGuiInputTextFlags flags) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(label, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref Vector3 v, string format) + { + fixed (Vector3* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.069.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.069.cs new file mode 100644 index 000000000..d34d0fca9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.069.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(label, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref Vector3 v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref Vector3 v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat3(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputFloat4Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[192])(label, v, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[192])((nint)label, (nint)v, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputFloat4Native(label, v, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, byte* format) + { + byte ret = InputFloat4Native(label, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v) + { + bool ret = InputFloat4(label, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, ImGuiInputTextFlags flags) + { + bool ret = InputFloat4(label, v, (string)"%.3f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloat4Native((byte*)plabel, v, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputFloat4Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputFloat4Native((byte*)plabel, v, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputFloat4Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(pStr0, v, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(pStr0, v, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat4(pStr0, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputFloat4(pStr0, v, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte ret = InputFloat4Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, byte* format) + { + fixed (float* pv = &v) + { + byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v) + { + fixed (float* pv = &v) + { + bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + byte ret = InputFloat4Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ReadOnlySpan v, byte* format) + { + fixed (float* pv = v) + { + byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ReadOnlySpan v) + { + fixed (float* pv = v) + { + bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref Vector4 v, byte* format, ImGuiInputTextFlags flags) + { + fixed (Vector4* pv = &v) + { + byte ret = InputFloat4Native(label, (float*)pv, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref Vector4 v, byte* format) + { + fixed (Vector4* pv = &v) + { + byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref Vector4 v) + { + fixed (Vector4* pv = &v) + { + bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref Vector4 v, ImGuiInputTextFlags flags) + { + fixed (Vector4* pv = &v) + { + bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref Vector4 v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref Vector4 v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref Vector4 v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref Vector4 v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(label, v, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(label, v, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(label, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(label, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat4Native(pStr0, v, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat4Native(pStr0, v, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, float* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, v, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, float* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, float* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, ref byte format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref Vector4 v, string format, ImGuiInputTextFlags flags) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(label, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref Vector4 v, string format) + { + fixed (Vector4* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, ReadOnlySpan format) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(label, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(byte* label, ref float v, string format) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref Vector4 v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref Vector4 v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ref byte label, ref float v, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(ReadOnlySpan label, ref float v, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputFloat4(string label, ref float v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputIntNative(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[193])(label, v, step, stepFast, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[193])((nint)label, (nint)v, step, stepFast, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) + { + byte ret = InputIntNative(label, v, step, stepFast, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, int* v, int step, int stepFast) + { + byte ret = InputIntNative(label, v, step, stepFast, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, int* v, int step) + { + byte ret = InputIntNative(label, v, step, (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, int* v) + { + byte ret = InputIntNative(label, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, int* v, int step, ImGuiInputTextFlags flags) + { + byte ret = InputIntNative(label, v, step, (int)(100), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, int* v, ImGuiInputTextFlags flags) + { + byte ret = InputIntNative(label, v, (int)(1), (int)(100), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputIntNative((byte*)plabel, v, step, stepFast, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, int* v, int step, int stepFast) + { + fixed (byte* plabel = &label) + { + byte ret = InputIntNative((byte*)plabel, v, step, stepFast, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, int* v, int step) + { + fixed (byte* plabel = &label) + { + byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, int* v, int step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputIntNative((byte*)plabel, v, step, stepFast, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, int* v, int step, int stepFast) + { + fixed (byte* plabel = label) + { + byte ret = InputIntNative((byte*)plabel, v, step, stepFast, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, int* v, int step) + { + fixed (byte* plabel = label) + { + byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, int* v, int step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputIntNative(pStr0, v, step, stepFast, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, int* v, int step, int stepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputIntNative(pStr0, v, step, stepFast, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, int* v, int step) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputIntNative(pStr0, v, step, (int)(100), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputIntNative(pStr0, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, int* v, int step, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputIntNative(pStr0, v, step, (int)(100), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, int* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputIntNative(pStr0, v, (int)(1), (int)(100), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative(label, (int*)pv, step, stepFast, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, ref int v, int step, int stepFast) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative(label, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, ref int v, int step) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative(label, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, ref int v) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative(label, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, ref int v, int step, ImGuiInputTextFlags flags) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative(label, (int*)pv, step, (int)(100), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(byte* label, ref int v, ImGuiInputTextFlags flags) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative(label, (int*)pv, (int)(1), (int)(100), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, ref int v, int step, int stepFast) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, ref int v, int step) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, ref int v, int step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ref byte label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, ref int v, int step, int stepFast) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, ref int v, int step) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, ref int v, int step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputIntNative(pStr0, (int*)pv, step, stepFast, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, ref int v, int step, int stepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputIntNative(pStr0, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, ref int v, int step) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputIntNative(pStr0, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputIntNative(pStr0, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, ref int v, int step, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputIntNative(pStr0, (int*)pv, step, (int)(100), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt(string label, ref int v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputIntNative(pStr0, (int*)pv, (int)(1), (int)(100), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputInt2Native(byte* label, int* v, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[194])(label, v, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[194])((nint)label, (nint)v, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputInt2(byte* label, int* v, ImGuiInputTextFlags flags) + { + byte ret = InputInt2Native(label, v, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt2(byte* label, int* v) + { + byte ret = InputInt2Native(label, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt2(ref byte label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputInt2Native((byte*)plabel, v, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + byte ret = InputInt2Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputInt2Native((byte*)plabel, v, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + byte ret = InputInt2Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(string label, int* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputInt2Native(pStr0, v, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt2(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputInt2Native(pStr0, v, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt2(byte* label, ref int v, ImGuiInputTextFlags flags) + { + fixed (int* pv = &v) + { + byte ret = InputInt2Native(label, (int*)pv, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(byte* label, ref int v) + { + fixed (int* pv = &v) + { + byte ret = InputInt2Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (int* pv = v) + { + byte ret = InputInt2Native(label, (int*)pv, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(byte* label, ReadOnlySpan v) + { + fixed (int* pv = v) + { + byte ret = InputInt2Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ref byte label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputInt2Native(pStr0, (int*)pv, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputInt2Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt2(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputInt3Native(byte* label, int* v, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[195])(label, v, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[195])((nint)label, (nint)v, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputInt3(byte* label, int* v, ImGuiInputTextFlags flags) + { + byte ret = InputInt3Native(label, v, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt3(byte* label, int* v) + { + byte ret = InputInt3Native(label, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt3(ref byte label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputInt3Native((byte*)plabel, v, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + byte ret = InputInt3Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputInt3Native((byte*)plabel, v, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + byte ret = InputInt3Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(string label, int* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputInt3Native(pStr0, v, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt3(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputInt3Native(pStr0, v, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt3(byte* label, ref int v, ImGuiInputTextFlags flags) + { + fixed (int* pv = &v) + { + byte ret = InputInt3Native(label, (int*)pv, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(byte* label, ref int v) + { + fixed (int* pv = &v) + { + byte ret = InputInt3Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (int* pv = v) + { + byte ret = InputInt3Native(label, (int*)pv, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(byte* label, ReadOnlySpan v) + { + fixed (int* pv = v) + { + byte ret = InputInt3Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ref byte label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputInt3Native(pStr0, (int*)pv, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputInt3Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt3(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputInt4Native(byte* label, int* v, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[196])(label, v, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[196])((nint)label, (nint)v, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputInt4(byte* label, int* v, ImGuiInputTextFlags flags) + { + byte ret = InputInt4Native(label, v, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt4(byte* label, int* v) + { + byte ret = InputInt4Native(label, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt4(ref byte label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputInt4Native((byte*)plabel, v, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ref byte label, int* v) + { + fixed (byte* plabel = &label) + { + byte ret = InputInt4Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputInt4Native((byte*)plabel, v, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ReadOnlySpan label, int* v) + { + fixed (byte* plabel = label) + { + byte ret = InputInt4Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(string label, int* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputInt4Native(pStr0, v, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt4(string label, int* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputInt4Native(pStr0, v, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputInt4(byte* label, ref int v, ImGuiInputTextFlags flags) + { + fixed (int* pv = &v) + { + byte ret = InputInt4Native(label, (int*)pv, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(byte* label, ref int v) + { + fixed (int* pv = &v) + { + byte ret = InputInt4Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (int* pv = v) + { + byte ret = InputInt4Native(label, (int*)pv, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(byte* label, ReadOnlySpan v) + { + fixed (int* pv = v) + { + byte ret = InputInt4Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ref byte label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ref byte label, ref int v) + { + fixed (byte* plabel = &label) + { + fixed (int* pv = &v) + { + byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ReadOnlySpan label, ReadOnlySpan v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = v) + { + byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputInt4Native(pStr0, (int*)pv, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(string label, ref int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pv = &v) + { + byte ret = InputInt4Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputInt4(ReadOnlySpan label, ref int v) + { + fixed (byte* plabel = label) + { + fixed (int* pv = &v) + { + byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.070.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.070.cs new file mode 100644 index 000000000..26973d08d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.070.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputDoubleNative(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[197])(label, v, step, stepFast, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[197])((nint)label, (nint)v, step, stepFast, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputDoubleNative(label, v, step, stepFast, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, byte* format) + { + byte ret = InputDoubleNative(label, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast) + { + bool ret = InputDouble(label, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step) + { + bool ret = InputDouble(label, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v) + { + bool ret = InputDouble(label, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, byte* format) + { + byte ret = InputDoubleNative(label, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, byte* format) + { + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) + { + bool ret = InputDouble(label, v, step, stepFast, (string)"%.6f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, ImGuiInputTextFlags flags) + { + bool ret = InputDouble(label, v, step, (double)(0.0), (string)"%.6f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, ImGuiInputTextFlags flags) + { + bool ret = InputDouble(label, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputDoubleNative(label, v, step, (double)(0.0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast) + { + fixed (byte* plabel = &label) + { + bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step) + { + fixed (byte* plabel = &label) + { + bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v) + { + fixed (byte* plabel = &label) + { + bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast) + { + fixed (byte* plabel = label) + { + bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step) + { + fixed (byte* plabel = label) + { + bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v) + { + fixed (byte* plabel = label) + { + bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, stepFast, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputDouble(pStr0, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputDouble(pStr0, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputDouble(pStr0, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputDouble(pStr0, v, step, stepFast, (string)"%.6f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputDouble(pStr0, v, step, (double)(0.0), (string)"%.6f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = InputDouble(pStr0, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, byte* format) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast) + { + fixed (double* pv = &v) + { + bool ret = InputDouble(label, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step) + { + fixed (double* pv = &v) + { + bool ret = InputDouble(label, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v) + { + fixed (double* pv = &v) + { + bool ret = InputDouble(label, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, byte* format) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, byte* format) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + bool ret = InputDouble(label, (double*)pv, step, stepFast, (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + bool ret = InputDouble(label, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + bool ret = InputDouble(label, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, byte* format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, byte* format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, byte* format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, byte* format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + bool ret = InputDouble(pStr0, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + bool ret = InputDouble(pStr0, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + bool ret = InputDouble(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + bool ret = InputDouble(pStr0, (double*)pv, step, stepFast, (string)"%.6f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + bool ret = InputDouble(pStr0, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + bool ret = InputDouble(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, v, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, double stepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, double step, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, v, step, (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, double* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, stepFast, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, double stepFast, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, double step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, double* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, double step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, double* v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, double stepFast, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ref byte format) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, ref byte format) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, ref byte format) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ReadOnlySpan format) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, ReadOnlySpan format) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, ReadOnlySpan format) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, double stepFast, string format) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, string format) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, string format) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, double step, string format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(byte* label, ref double v, string format, ImGuiInputTextFlags flags) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, string format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, string format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, string format) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, double step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ref byte label, ref double v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, string format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, string format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, string format) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, double step, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(ReadOnlySpan label, ref double v, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (double* pv = &v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.071.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.071.cs new file mode 100644 index 000000000..9e19ee96f --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.071.cs @@ -0,0 +1,5027 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = &format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, double stepFast, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputDouble(string label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pv = &v) + { + fixed (byte* pformat = format) + { + byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputScalarNative(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[198])(label, dataType, pData, pStep, pStepFast, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[198])((nint)label, dataType, (nint)pData, (nint)pStep, (nint)pStepFast, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte InputScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[199])(label, dataType, pData, components, pStep, pStepFast, format, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[199])((nint)label, dataType, (nint)pData, components, (nint)pStep, (nint)pStepFast, (nint)format, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), format, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), pStr1, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.072.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.072.cs new file mode 100644 index 000000000..6f85a035c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.072.cs @@ -0,0 +1,5041 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ColorEdit3Native(byte* label, float* col, ImGuiColorEditFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[200])(label, col, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[200])((nint)label, (nint)col, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, float* col, ImGuiColorEditFlags flags) + { + byte ret = ColorEdit3Native(label, col, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, float* col) + { + byte ret = ColorEdit3Native(label, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ref byte label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = ColorEdit3Native((byte*)plabel, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ref byte label, float* col) + { + fixed (byte* plabel = &label) + { + byte ret = ColorEdit3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = ColorEdit3Native((byte*)plabel, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ReadOnlySpan label, float* col) + { + fixed (byte* plabel = label) + { + byte ret = ColorEdit3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(string label, float* col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorEdit3Native(pStr0, col, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(string label, float* col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorEdit3Native(pStr0, col, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, ref float col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, ref float col) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit3Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, ReadOnlySpan col) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, ref Vector3 col, ImGuiColorEditFlags flags) + { + fixed (Vector3* pcol = &col) + { + byte ret = ColorEdit3Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(byte* label, ref Vector3 col) + { + fixed (Vector3* pcol = &col) + { + byte ret = ColorEdit3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ref byte label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ref byte label, ref float col) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ReadOnlySpan label, ReadOnlySpan col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(string label, ref Vector3 col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pcol = &col) + { + byte ret = ColorEdit3Native(pStr0, (float*)pcol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(string label, ref Vector3 col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pcol = &col) + { + byte ret = ColorEdit3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(ReadOnlySpan label, ref float col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(string label, ref float col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native(pStr0, (float*)pcol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit3(string label, ref float col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorEdit3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ColorEdit4Native(byte* label, float* col, ImGuiColorEditFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[201])(label, col, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[201])((nint)label, (nint)col, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, float* col, ImGuiColorEditFlags flags) + { + byte ret = ColorEdit4Native(label, col, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, float* col) + { + byte ret = ColorEdit4Native(label, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ref byte label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = ColorEdit4Native((byte*)plabel, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ref byte label, float* col) + { + fixed (byte* plabel = &label) + { + byte ret = ColorEdit4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = ColorEdit4Native((byte*)plabel, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ReadOnlySpan label, float* col) + { + fixed (byte* plabel = label) + { + byte ret = ColorEdit4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(string label, float* col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorEdit4Native(pStr0, col, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(string label, float* col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorEdit4Native(pStr0, col, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, ref float col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, ref float col) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit4Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, ReadOnlySpan col) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags) + { + fixed (Vector4* pcol = &col) + { + byte ret = ColorEdit4Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(byte* label, ref Vector4 col) + { + fixed (Vector4* pcol = &col) + { + byte ret = ColorEdit4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ref byte label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ref byte label, ref float col) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ReadOnlySpan label, ReadOnlySpan col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(string label, ref Vector4 col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + byte ret = ColorEdit4Native(pStr0, (float*)pcol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(string label, ref Vector4 col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + byte ret = ColorEdit4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(ReadOnlySpan label, ref float col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(string label, ref float col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native(pStr0, (float*)pcol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorEdit4(string label, ref float col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorEdit4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ColorPicker3Native(byte* label, float* col, ImGuiColorEditFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[202])(label, col, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[202])((nint)label, (nint)col, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, float* col, ImGuiColorEditFlags flags) + { + byte ret = ColorPicker3Native(label, col, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, float* col) + { + byte ret = ColorPicker3Native(label, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ref byte label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = ColorPicker3Native((byte*)plabel, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ref byte label, float* col) + { + fixed (byte* plabel = &label) + { + byte ret = ColorPicker3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = ColorPicker3Native((byte*)plabel, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ReadOnlySpan label, float* col) + { + fixed (byte* plabel = label) + { + byte ret = ColorPicker3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(string label, float* col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorPicker3Native(pStr0, col, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(string label, float* col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorPicker3Native(pStr0, col, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, ref float col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, ref float col) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker3Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, ReadOnlySpan col) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, ref Vector3 col, ImGuiColorEditFlags flags) + { + fixed (Vector3* pcol = &col) + { + byte ret = ColorPicker3Native(label, (float*)pcol, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(byte* label, ref Vector3 col) + { + fixed (Vector3* pcol = &col) + { + byte ret = ColorPicker3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ref byte label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ref byte label, ref float col) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ReadOnlySpan label, ReadOnlySpan col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(string label, ref Vector3 col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pcol = &col) + { + byte ret = ColorPicker3Native(pStr0, (float*)pcol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(string label, ref Vector3 col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector3* pcol = &col) + { + byte ret = ColorPicker3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(ReadOnlySpan label, ref float col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(string label, ref float col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native(pStr0, (float*)pcol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker3(string label, ref float col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorPicker3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ColorPicker4Native(byte* label, float* col, ImGuiColorEditFlags flags, float* refCol) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[203])(label, col, flags, refCol); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[203])((nint)label, (nint)col, flags, (nint)refCol); + #endif + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, float* col, ImGuiColorEditFlags flags, float* refCol) + { + byte ret = ColorPicker4Native(label, col, flags, refCol); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, float* col, ImGuiColorEditFlags flags) + { + byte ret = ColorPicker4Native(label, col, flags, (float*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, float* col) + { + byte ret = ColorPicker4Native(label, col, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, float* col, float* refCol) + { + byte ret = ColorPicker4Native(label, col, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, float* col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (byte* plabel = &label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, flags, refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, float* col) + { + fixed (byte* plabel = &label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, float* col, float* refCol) + { + fixed (byte* plabel = &label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (byte* plabel = label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, flags, refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, float* col) + { + fixed (byte* plabel = label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, float* col, float* refCol) + { + fixed (byte* plabel = label) + { + byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, float* col, ImGuiColorEditFlags flags, float* refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorPicker4Native(pStr0, col, flags, refCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, float* col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorPicker4Native(pStr0, col, flags, (float*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, float* col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorPicker4Native(pStr0, col, (ImGuiColorEditFlags)(0), (float*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, float* col, float* refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorPicker4Native(pStr0, col, (ImGuiColorEditFlags)(0), refCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref float col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref float col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref float col) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref float col, float* refCol) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ReadOnlySpan col) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ReadOnlySpan col, float* refCol) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags) + { + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref Vector4 col) + { + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref Vector4 col, float* refCol) + { + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, ref float col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, refCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, ref float col) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, ref float col, float* refCol) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, refCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, float* refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags, float* refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, refCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref Vector4 col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref Vector4 col, float* refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags, float* refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, refCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ref float col) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ref float col, float* refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref float col, ImGuiColorEditFlags flags, float* refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, refCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref float col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref float col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref float col, float* refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, float* col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, col, flags, (float*)prefCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, float* col, ref float refCol) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, col, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, float* col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (byte* plabel = &label) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, float* col, ref float refCol) + { + fixed (byte* plabel = &label) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (byte* plabel = label) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, float* col, ref float refCol) + { + fixed (byte* plabel = label) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, float* col, ImGuiColorEditFlags flags, ref float refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(pStr0, col, flags, (float*)prefCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, float* col, ref float refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(pStr0, col, (ImGuiColorEditFlags)(0), (float*)prefCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref float col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref float col, ref float refCol) + { + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (float* pcol = col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ReadOnlySpan col, ref float refCol) + { + fixed (float* pcol = col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (Vector4* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(byte* label, ref Vector4 col, ref float refCol) + { + fixed (Vector4* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, ref float col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)prefCol); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ref byte label, ref float col, ref float refCol) + { + fixed (byte* plabel = &label) + { + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)prefCol); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ref float refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags, ref float refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)prefCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref Vector4 col, ref float refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags, ref float refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)prefCol); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(ReadOnlySpan label, ref float col, ref float refCol) + { + fixed (byte* plabel = label) + { + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref float col, ImGuiColorEditFlags flags, ref float refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)prefCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColorPicker4(string label, ref float col, ref float refCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcol = &col) + { + fixed (float* prefCol = &refCol) + { + byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ColorButtonNative(byte* descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[204])(descId, col, flags, size); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[204])((nint)descId, col, flags, size); + #endif + } + + /// + /// To be documented. + /// + public static bool ColorButton(byte* descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + byte ret = ColorButtonNative(descId, col, flags, size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorButton(byte* descId, Vector4 col, ImGuiColorEditFlags flags) + { + byte ret = ColorButtonNative(descId, col, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorButton(byte* descId, Vector4 col) + { + byte ret = ColorButtonNative(descId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorButton(byte* descId, Vector4 col, Vector2 size) + { + byte ret = ColorButtonNative(descId, col, (ImGuiColorEditFlags)(0), size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorButton(ref byte descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + fixed (byte* pdescId = &descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(ref byte descId, Vector4 col, ImGuiColorEditFlags flags) + { + fixed (byte* pdescId = &descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(ref byte descId, Vector4 col) + { + fixed (byte* pdescId = &descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(ref byte descId, Vector4 col, Vector2 size) + { + fixed (byte* pdescId = &descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(ReadOnlySpan descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + fixed (byte* pdescId = descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(ReadOnlySpan descId, Vector4 col, ImGuiColorEditFlags flags) + { + fixed (byte* pdescId = descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(ReadOnlySpan descId, Vector4 col) + { + fixed (byte* pdescId = descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(ReadOnlySpan descId, Vector4 col, Vector2 size) + { + fixed (byte* pdescId = descId) + { + byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColorButton(string descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (descId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(descId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorButtonNative(pStr0, col, flags, size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorButton(string descId, Vector4 col, ImGuiColorEditFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (descId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(descId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorButtonNative(pStr0, col, flags, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorButton(string descId, Vector4 col) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (descId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(descId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorButtonNative(pStr0, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColorButton(string descId, Vector4 col, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (descId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(descId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColorButtonNative(pStr0, col, (ImGuiColorEditFlags)(0), size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetColorEditOptionsNative(ImGuiColorEditFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[205])(flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[205])(flags); + #endif + } + + /// + /// To be documented. + /// + public static void SetColorEditOptions(ImGuiColorEditFlags flags) + { + SetColorEditOptionsNative(flags); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeNative(byte* label) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[206])(label); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[206])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNode(byte* label) + { + byte ret = TreeNodeNative(label); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNode(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = TreeNodeNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = TreeNodeNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeNative(byte* strId, byte* fmt) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[207])(strId, fmt); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[207])((nint)strId, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNode(byte* strId, byte* fmt) + { + byte ret = TreeNodeNative(strId, fmt); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNode(ref byte strId, byte* fmt) + { + fixed (byte* pstrId = &strId) + { + byte ret = TreeNodeNative((byte*)pstrId, fmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(ReadOnlySpan strId, byte* fmt) + { + fixed (byte* pstrId = strId) + { + byte ret = TreeNodeNative((byte*)pstrId, fmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(string strId, byte* fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeNative(pStr0, fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNode(byte* strId, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeNative(strId, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(byte* strId, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeNative(strId, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(byte* strId, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeNative(strId, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNode(ref byte strId, ref byte fmt) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(ReadOnlySpan strId, ReadOnlySpan fmt) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(string strId, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (fmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(fmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = TreeNodeNative(pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNode(ref byte strId, ReadOnlySpan fmt) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(ref byte strId, string fmt) + { + fixed (byte* pstrId = &strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeNative((byte*)pstrId, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(ReadOnlySpan strId, ref byte fmt) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(ReadOnlySpan strId, string fmt) + { + fixed (byte* pstrId = strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeNative((byte*)pstrId, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(string strId, ref byte fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeNative(pStr0, (byte*)pfmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(string strId, ReadOnlySpan fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeNative(pStr0, (byte*)pfmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeNative(void* ptrId, byte* fmt) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[208])(ptrId, fmt); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[208])((nint)ptrId, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNode(void* ptrId, byte* fmt) + { + byte ret = TreeNodeNative(ptrId, fmt); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNode(void* ptrId, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeNative(ptrId, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(void* ptrId, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeNative(ptrId, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNode(void* ptrId, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeNative(ptrId, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeVNative(byte* strId, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[209])(strId, fmt, args); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[209])((nint)strId, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(byte* strId, byte* fmt, nuint args) + { + byte ret = TreeNodeVNative(strId, fmt, args); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ref byte strId, byte* fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + byte ret = TreeNodeVNative((byte*)pstrId, fmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ReadOnlySpan strId, byte* fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + byte ret = TreeNodeVNative((byte*)pstrId, fmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(string strId, byte* fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeVNative(pStr0, fmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(byte* strId, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeVNative(strId, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(byte* strId, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeVNative(strId, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(byte* strId, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeVNative(strId, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ref byte strId, ref byte fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ReadOnlySpan strId, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(string strId, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (fmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(fmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = TreeNodeVNative(pStr0, pStr1, args); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ref byte strId, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ref byte strId, string fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeVNative((byte*)pstrId, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ReadOnlySpan strId, ref byte fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(ReadOnlySpan strId, string fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeVNative((byte*)pstrId, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(string strId, ref byte fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeVNative(pStr0, (byte*)pfmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(string strId, ReadOnlySpan fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeVNative(pStr0, (byte*)pfmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeVNative(void* ptrId, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[210])(ptrId, fmt, args); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[210])((nint)ptrId, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(void* ptrId, byte* fmt, nuint args) + { + byte ret = TreeNodeVNative(ptrId, fmt, args); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(void* ptrId, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeVNative(ptrId, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(void* ptrId, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeVNative(ptrId, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeV(void* ptrId, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeVNative(ptrId, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeExNative(byte* label, ImGuiTreeNodeFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[211])(label, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[211])((nint)label, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(byte* label, ImGuiTreeNodeFlags flags) + { + byte ret = TreeNodeExNative(label, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(byte* label) + { + byte ret = TreeNodeExNative(label, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ref byte label, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = TreeNodeExNative((byte*)plabel, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = TreeNodeExNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ReadOnlySpan label, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = TreeNodeExNative((byte*)plabel, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = TreeNodeExNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(string label, ImGuiTreeNodeFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExNative(pStr0, (ImGuiTreeNodeFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeExNative(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[212])(strId, flags, fmt); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[212])((nint)strId, flags, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt) + { + byte ret = TreeNodeExNative(strId, flags, fmt); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, byte* fmt) + { + fixed (byte* pstrId = &strId) + { + byte ret = TreeNodeExNative((byte*)pstrId, flags, fmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, byte* fmt) + { + fixed (byte* pstrId = strId) + { + byte ret = TreeNodeExNative((byte*)pstrId, flags, fmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, byte* fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExNative(pStr0, flags, fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExNative(strId, flags, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExNative(strId, flags, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExNative(strId, flags, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, ref byte fmt) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (fmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(fmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = TreeNodeExNative(pStr0, flags, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, string fmt) + { + fixed (byte* pstrId = &strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExNative((byte*)pstrId, flags, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ref byte fmt) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, string fmt) + { + fixed (byte* pstrId = strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExNative((byte*)pstrId, flags, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, ref byte fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExNative(pStr0, flags, (byte*)pfmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExNative(pStr0, flags, (byte*)pfmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeExNative(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[213])(ptrId, flags, fmt); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[213])((nint)ptrId, flags, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt) + { + byte ret = TreeNodeExNative(ptrId, flags, fmt); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExNative(ptrId, flags, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExNative(ptrId, flags, (byte*)pfmt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExNative(ptrId, flags, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.073.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.073.cs new file mode 100644 index 000000000..cf4690105 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.073.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeExVNative(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[214])(strId, flags, fmt, args); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[214])((nint)strId, flags, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + byte ret = TreeNodeExVNative(strId, flags, fmt, args); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + byte ret = TreeNodeExVNative((byte*)pstrId, flags, fmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + byte ret = TreeNodeExVNative((byte*)pstrId, flags, fmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExVNative(pStr0, flags, fmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExVNative(strId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExVNative(strId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExVNative(strId, flags, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (fmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(fmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = TreeNodeExVNative(pStr0, flags, pStr1, args); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) + { + fixed (byte* pstrId = &strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExVNative((byte*)pstrId, flags, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) + { + fixed (byte* pstrId = strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExVNative((byte*)pstrId, flags, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExVNative(pStr0, flags, (byte*)pfmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExVNative(pStr0, flags, (byte*)pfmt, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TreeNodeExVNative(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[215])(ptrId, flags, fmt, args); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[215])((nint)ptrId, flags, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + byte ret = TreeNodeExVNative(ptrId, flags, fmt, args); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + byte ret = TreeNodeExVNative(ptrId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + byte ret = TreeNodeExVNative(ptrId, flags, (byte*)pfmt, args); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TreeNodeExVNative(ptrId, flags, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TreePushNative(byte* strId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[216])(strId); + #else + ((delegate* unmanaged[Cdecl])funcTable[216])((nint)strId); + #endif + } + + /// + /// To be documented. + /// + public static void TreePush(byte* strId) + { + TreePushNative(strId); + } + + /// + /// To be documented. + /// + public static void TreePush(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + TreePushNative((byte*)pstrId); + } + } + + /// + /// To be documented. + /// + public static void TreePush(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + TreePushNative((byte*)pstrId); + } + } + + /// + /// To be documented. + /// + public static void TreePush(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TreePushNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TreePushNative(void* ptrId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[217])(ptrId); + #else + ((delegate* unmanaged[Cdecl])funcTable[217])((nint)ptrId); + #endif + } + + /// + /// To be documented. + /// + public static void TreePush(void* ptrId) + { + TreePushNative(ptrId); + } + + /// + /// To be documented. + /// + public static void TreePush() + { + TreePushNative((void*)(default)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TreePopNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[218])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[218])(); + #endif + } + + /// + /// To be documented. + /// + public static void TreePop() + { + TreePopNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetTreeNodeToLabelSpacingNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[219])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[219])(); + #endif + } + + /// + /// To be documented. + /// + public static float GetTreeNodeToLabelSpacing() + { + float ret = GetTreeNodeToLabelSpacingNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte CollapsingHeaderNative(byte* label, ImGuiTreeNodeFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[220])(label, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[220])((nint)label, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(byte* label, ImGuiTreeNodeFlags flags) + { + byte ret = CollapsingHeaderNative(label, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(byte* label) + { + byte ret = CollapsingHeaderNative(label, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ref byte label, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ReadOnlySpan label, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = CollapsingHeaderNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = CollapsingHeaderNative(pStr0, (ImGuiTreeNodeFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte CollapsingHeaderNative(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[221])(label, pVisible, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[221])((nint)label, (nint)pVisible, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) + { + byte ret = CollapsingHeaderNative(label, pVisible, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(byte* label, bool* pVisible) + { + byte ret = CollapsingHeaderNative(label, pVisible, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ref byte label, bool* pVisible, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ref byte label, bool* pVisible) + { + fixed (byte* plabel = &label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible) + { + fixed (byte* plabel = label) + { + byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(string label, bool* pVisible, ImGuiTreeNodeFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = CollapsingHeaderNative(pStr0, pVisible, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(string label, bool* pVisible) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = CollapsingHeaderNative(pStr0, pVisible, (ImGuiTreeNodeFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(byte* label, ref bool pVisible, ImGuiTreeNodeFlags flags) + { + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative(label, (bool*)ppVisible, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(byte* label, ref bool pVisible) + { + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative(label, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ref byte label, ref bool pVisible, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ref byte label, ref bool pVisible) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible, ImGuiTreeNodeFlags flags) + { + fixed (byte* plabel = label) + { + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible) + { + fixed (byte* plabel = label) + { + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(string label, ref bool pVisible, ImGuiTreeNodeFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative(pStr0, (bool*)ppVisible, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool CollapsingHeader(string label, ref bool pVisible) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppVisible = &pVisible) + { + byte ret = CollapsingHeaderNative(pStr0, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextItemOpenNative(byte isOpen, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[222])(isOpen, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[222])(isOpen, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextItemOpen(bool isOpen, ImGuiCond cond) + { + SetNextItemOpenNative(isOpen ? (byte)1 : (byte)0, cond); + } + + /// + /// To be documented. + /// + public static void SetNextItemOpen(bool isOpen) + { + SetNextItemOpenNative(isOpen ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SelectableNative(byte* label, byte selected, ImGuiSelectableFlags flags, Vector2 size) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[223])(label, selected, flags, size); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[223])((nint)label, selected, flags, size); + #endif + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags, Vector2 size) + { + byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, flags, size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags) + { + byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool selected) + { + byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label) + { + byte ret = SelectableNative(label, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, ImGuiSelectableFlags flags) + { + byte ret = SelectableNative(label, (byte)(0), flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool selected, Vector2 size) + { + byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, Vector2 size) + { + byte ret = SelectableNative(label, (byte)(0), (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, ImGuiSelectableFlags flags, Vector2 size) + { + byte ret = SelectableNative(label, (byte)(0), flags, size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool selected) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool selected, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool selected) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool selected, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, flags, size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool selected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, ImGuiSelectableFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, (byte)(0), flags, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool selected, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, (byte)(0), (ImGuiSelectableFlags)(0), size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, ImGuiSelectableFlags flags, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, (byte)(0), flags, size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SelectableNative(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[224])(label, pSelected, flags, size); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[224])((nint)label, (nint)pSelected, flags, size); + #endif + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + byte ret = SelectableNative(label, pSelected, flags, size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool* pSelected, ImGuiSelectableFlags flags) + { + byte ret = SelectableNative(label, pSelected, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool* pSelected) + { + byte ret = SelectableNative(label, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, bool* pSelected, Vector2 size) + { + byte ret = SelectableNative(label, pSelected, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool* pSelected, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool* pSelected) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, bool* pSelected, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool* pSelected, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool* pSelected) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, bool* pSelected, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, pSelected, flags, size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool* pSelected, ImGuiSelectableFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, pSelected, flags, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool* pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, bool* pSelected, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SelectableNative(pStr0, pSelected, (ImGuiSelectableFlags)(0), size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(label, (bool*)ppSelected, flags, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, ref bool pSelected, ImGuiSelectableFlags flags) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(label, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, ref bool pSelected) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(label, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(byte* label, ref bool pSelected, Vector2 size) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(label, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, size); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, ref bool pSelected, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, ref bool pSelected) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ref byte label, ref bool pSelected, Vector2 size) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + fixed (byte* plabel = label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, size); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, ref bool pSelected, ImGuiSelectableFlags flags) + { + fixed (byte* plabel = label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, ref bool pSelected) + { + fixed (byte* plabel = label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(ReadOnlySpan label, ref bool pSelected, Vector2 size) + { + fixed (byte* plabel = label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(pStr0, (bool*)ppSelected, flags, size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, ref bool pSelected, ImGuiSelectableFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(pStr0, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, ref bool pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(pStr0, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Selectable(string label, ref bool pSelected, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = SelectableNative(pStr0, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginListBoxNative(byte* label, Vector2 size) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[225])(label, size); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[225])((nint)label, size); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginListBox(byte* label, Vector2 size) + { + byte ret = BeginListBoxNative(label, size); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginListBox(byte* label) + { + byte ret = BeginListBoxNative(label, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginListBox(ref byte label, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = BeginListBoxNative((byte*)plabel, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginListBox(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = BeginListBoxNative((byte*)plabel, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginListBox(ReadOnlySpan label, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = BeginListBoxNative((byte*)plabel, size); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginListBox(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = BeginListBoxNative((byte*)plabel, (Vector2)(new Vector2(0,0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginListBox(string label, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginListBoxNative(pStr0, size); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginListBox(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginListBoxNative(pStr0, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndListBoxNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[226])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[226])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndListBox() + { + EndListBoxNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ListBoxNative(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[227])(label, currentItem, items, itemsCount, heightInItems); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[227])((nint)label, (nint)currentItem, (nint)items, itemsCount, heightInItems); + #endif + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) + { + byte ret = ListBoxNative(label, currentItem, items, itemsCount, heightInItems); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, int* currentItem, byte** items, int itemsCount) + { + byte ret = ListBoxNative(label, currentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, int* currentItem, byte** items, int itemsCount, int heightInItems) + { + fixed (byte* plabel = &label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, heightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, int* currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = &label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount, int heightInItems) + { + fixed (byte* plabel = label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, heightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, int* currentItem, byte** items, int itemsCount, int heightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ListBoxNative(pStr0, currentItem, items, itemsCount, heightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, int* currentItem, byte** items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ListBoxNative(pStr0, currentItem, items, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, ref int currentItem, byte** items, int itemsCount, int heightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(label, (int*)pcurrentItem, items, itemsCount, heightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, ref int currentItem, byte** items, int itemsCount) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(label, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, ref int currentItem, byte** items, int itemsCount, int heightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, heightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, ref int currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount, int heightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, heightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, ref int currentItem, byte** items, int itemsCount, int heightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, items, itemsCount, heightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, ref int currentItem, byte** items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, items, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, int* currentItem, string[] items, int itemsCount, int heightInItems) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(label, currentItem, pStrArray0, itemsCount, heightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, int* currentItem, string[] items, int itemsCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(label, currentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, int* currentItem, string[] items, int itemsCount, int heightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(pStr0, currentItem, pStrArray0, itemsCount, heightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, int* currentItem, string[] items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(pStr0, currentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, ref int currentItem, string[] items, int itemsCount, int heightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, heightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, ref int currentItem, string[] items, int itemsCount) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, ref int currentItem, string[] items, int itemsCount, int heightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, heightInItems); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, ref int currentItem, string[] items, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(items); + if (items != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < items.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); + } + byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); + for (int i = 0; i < items.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ListBoxNative(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl], void*, int, int, bool>, void*, int, int, byte>)funcTable[228])(label, currentItem, itemsGetter, data, itemsCount, heightInItems); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[228])((nint)label, (nint)currentItem, (nint)itemsGetter, (nint)data, itemsCount, heightInItems); + #endif + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + byte ret = ListBoxNative(label, currentItem, itemsGetter, data, itemsCount, heightInItems); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + byte ret = ListBoxNative(label, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + fixed (byte* plabel = &label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, heightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = &label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + fixed (byte* plabel = label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, heightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = label) + { + byte ret = ListBoxNative((byte*)plabel, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ListBoxNative(pStr0, currentItem, itemsGetter, data, itemsCount, heightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ListBoxNative(pStr0, currentItem, itemsGetter, data, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(byte* label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(label, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ref byte label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = &label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + fixed (byte* plabel = label) + { + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, heightInItems); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ListBox(string label, ref int currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pcurrentItem = ¤tItem) + { + byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, itemsGetter, data, itemsCount, (int)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLinesNative(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[229])(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[229])((nint)label, (nint)values, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.074.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.074.cs new file mode 100644 index 000000000..42b353de9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.074.cs @@ -0,0 +1,5046 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.075.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.075.cs new file mode 100644 index 000000000..92299675a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.075.cs @@ -0,0 +1,5036 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.076.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.076.cs new file mode 100644 index 000000000..9fc4436d9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.076.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.077.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.077.cs new file mode 100644 index 000000000..9fbd9bebf --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.077.cs @@ -0,0 +1,5042 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLinesNative(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, void>)funcTable[230])(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + #else + ((delegate* unmanaged[Cdecl])funcTable[230])((nint)label, (nint)valuesGetter, (nint)data, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.078.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.078.cs new file mode 100644 index 000000000..5e91fe6eb --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.078.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHistogramNative(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[231])(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[231])((nint)label, (nint)values, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.079.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.079.cs new file mode 100644 index 000000000..0ca617f07 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.079.cs @@ -0,0 +1,5029 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.080.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.080.cs new file mode 100644 index 000000000..d80364a26 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.080.cs @@ -0,0 +1,5052 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.081.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.081.cs new file mode 100644 index 000000000..ad883522c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.081.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.082.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.082.cs new file mode 100644 index 000000000..b89001db7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.082.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = &label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + fixed (byte* plabel = label) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHistogramNative(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, void>)funcTable[232])(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + #else + ((delegate* unmanaged[Cdecl])funcTable[232])((nint)label, (nint)valuesGetter, (nint)data, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.083.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.083.cs new file mode 100644 index 000000000..f431261a6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.083.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (overlayText != null) + { + pStrSize1 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (overlayText != null) + { + pStrSize0 = Utils.GetByteCountUTF8(overlayText); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = &overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* poverlayText = overlayText) + { + PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ValueNative(byte* prefix, byte b) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[233])(prefix, b); + #else + ((delegate* unmanaged[Cdecl])funcTable[233])((nint)prefix, b); + #endif + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, bool b) + { + ValueNative(prefix, b ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, bool b) + { + fixed (byte* pprefix = &prefix) + { + ValueNative((byte*)pprefix, b ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, bool b) + { + fixed (byte* pprefix = prefix) + { + ValueNative((byte*)pprefix, b ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, bool b) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative(pStr0, b ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ValueNative(byte* prefix, int v) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[234])(prefix, v); + #else + ((delegate* unmanaged[Cdecl])funcTable[234])((nint)prefix, v); + #endif + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, int v) + { + ValueNative(prefix, v); + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, int v) + { + fixed (byte* pprefix = &prefix) + { + ValueNative((byte*)pprefix, v); + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, int v) + { + fixed (byte* pprefix = prefix) + { + ValueNative((byte*)pprefix, v); + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, int v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative(pStr0, v); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ValueNative(byte* prefix, uint v) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[235])(prefix, v); + #else + ((delegate* unmanaged[Cdecl])funcTable[235])((nint)prefix, v); + #endif + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, uint v) + { + ValueNative(prefix, v); + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, uint v) + { + fixed (byte* pprefix = &prefix) + { + ValueNative((byte*)pprefix, v); + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, uint v) + { + fixed (byte* pprefix = prefix) + { + ValueNative((byte*)pprefix, v); + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, uint v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative(pStr0, v); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ValueNative(byte* prefix, float v, byte* floatFormat) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[236])(prefix, v, floatFormat); + #else + ((delegate* unmanaged[Cdecl])funcTable[236])((nint)prefix, v, (nint)floatFormat); + #endif + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, float v, byte* floatFormat) + { + ValueNative(prefix, v, floatFormat); + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, float v) + { + ValueNative(prefix, v, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, float v, byte* floatFormat) + { + fixed (byte* pprefix = &prefix) + { + ValueNative((byte*)pprefix, v, floatFormat); + } + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, float v) + { + fixed (byte* pprefix = &prefix) + { + ValueNative((byte*)pprefix, v, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, float v, byte* floatFormat) + { + fixed (byte* pprefix = prefix) + { + ValueNative((byte*)pprefix, v, floatFormat); + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, float v) + { + fixed (byte* pprefix = prefix) + { + ValueNative((byte*)pprefix, v, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, float v, byte* floatFormat) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative(pStr0, v, floatFormat); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, float v) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative(pStr0, v, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, float v, ref byte floatFormat) + { + fixed (byte* pfloatFormat = &floatFormat) + { + ValueNative(prefix, v, (byte*)pfloatFormat); + } + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, float v, ReadOnlySpan floatFormat) + { + fixed (byte* pfloatFormat = floatFormat) + { + ValueNative(prefix, v, (byte*)pfloatFormat); + } + } + + /// + /// To be documented. + /// + public static void Value(byte* prefix, float v, string floatFormat) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (floatFormat != null) + { + pStrSize0 = Utils.GetByteCountUTF8(floatFormat); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(floatFormat, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative(prefix, v, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, float v, ref byte floatFormat) + { + fixed (byte* pprefix = &prefix) + { + fixed (byte* pfloatFormat = &floatFormat) + { + ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); + } + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, float v, ReadOnlySpan floatFormat) + { + fixed (byte* pprefix = prefix) + { + fixed (byte* pfloatFormat = floatFormat) + { + ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); + } + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, float v, string floatFormat) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (floatFormat != null) + { + pStrSize1 = Utils.GetByteCountUTF8(floatFormat); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(floatFormat, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ValueNative(pStr0, v, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, float v, ReadOnlySpan floatFormat) + { + fixed (byte* pprefix = &prefix) + { + fixed (byte* pfloatFormat = floatFormat) + { + ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); + } + } + } + + /// + /// To be documented. + /// + public static void Value(ref byte prefix, float v, string floatFormat) + { + fixed (byte* pprefix = &prefix) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (floatFormat != null) + { + pStrSize0 = Utils.GetByteCountUTF8(floatFormat); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(floatFormat, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative((byte*)pprefix, v, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, float v, ref byte floatFormat) + { + fixed (byte* pprefix = prefix) + { + fixed (byte* pfloatFormat = &floatFormat) + { + ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); + } + } + } + + /// + /// To be documented. + /// + public static void Value(ReadOnlySpan prefix, float v, string floatFormat) + { + fixed (byte* pprefix = prefix) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (floatFormat != null) + { + pStrSize0 = Utils.GetByteCountUTF8(floatFormat); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(floatFormat, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ValueNative((byte*)pprefix, v, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, float v, ref byte floatFormat) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfloatFormat = &floatFormat) + { + ValueNative(pStr0, v, (byte*)pfloatFormat); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void Value(string prefix, float v, ReadOnlySpan floatFormat) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (prefix != null) + { + pStrSize0 = Utils.GetByteCountUTF8(prefix); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pfloatFormat = floatFormat) + { + ValueNative(pStr0, v, (byte*)pfloatFormat); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginMenuBarNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[237])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[237])(); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginMenuBar() + { + byte ret = BeginMenuBarNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndMenuBarNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[238])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[238])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndMenuBar() + { + EndMenuBarNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginMainMenuBarNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[239])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[239])(); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginMainMenuBar() + { + byte ret = BeginMainMenuBarNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndMainMenuBarNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[240])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[240])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndMainMenuBar() + { + EndMainMenuBarNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginMenuNative(byte* label, byte enabled) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[241])(label, enabled); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[241])((nint)label, enabled); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginMenu(byte* label, bool enabled) + { + byte ret = BeginMenuNative(label, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginMenu(byte* label) + { + byte ret = BeginMenuNative(label, (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginMenu(ref byte label, bool enabled) + { + fixed (byte* plabel = &label) + { + byte ret = BeginMenuNative((byte*)plabel, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginMenu(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = BeginMenuNative((byte*)plabel, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginMenu(ReadOnlySpan label, bool enabled) + { + fixed (byte* plabel = label) + { + byte ret = BeginMenuNative((byte*)plabel, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginMenu(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = BeginMenuNative((byte*)plabel, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginMenu(string label, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginMenuNative(pStr0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginMenu(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginMenuNative(pStr0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndMenuNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[242])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[242])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndMenu() + { + EndMenuNative(); + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.084.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.084.cs new file mode 100644 index 000000000..761f7e151 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.084.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte MenuItemNative(byte* label, byte* shortcut, byte selected, byte enabled) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[243])(label, shortcut, selected, enabled); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[243])((nint)label, (nint)shortcut, selected, enabled); + #endif + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, byte* shortcut, bool selected, bool enabled) + { + byte ret = MenuItemNative(label, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, byte* shortcut, bool selected) + { + byte ret = MenuItemNative(label, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, byte* shortcut) + { + byte ret = MenuItemNative(label, shortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label) + { + byte ret = MenuItemNative(label, (byte*)(default), (byte)(0), (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, bool selected) + { + byte ret = MenuItemNative(label, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, bool selected, bool enabled) + { + byte ret = MenuItemNative(label, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, byte* shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, byte* shortcut, bool selected) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, byte* shortcut) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)(default), (byte)(0), (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, bool selected) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, bool selected, bool enabled) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool selected) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, byte* shortcut) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)(default), (byte)(0), (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, bool selected) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, bool selected, bool enabled) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, byte* shortcut, bool selected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, byte* shortcut, bool selected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, byte* shortcut) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, shortcut, (byte)(0), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, (byte*)(default), (byte)(0), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, bool selected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, bool selected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ref byte shortcut, bool selected, bool enabled) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ref byte shortcut, bool selected) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ref byte shortcut) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool selected, bool enabled) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool selected) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ReadOnlySpan shortcut) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, string shortcut, bool selected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(label, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, string shortcut, bool selected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(label, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, string shortcut) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(label, pStr0, (byte)(0), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ref byte shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ref byte shortcut, bool selected) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ref byte shortcut) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool selected) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, string shortcut, bool selected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (shortcut != null) + { + pStrSize1 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = MenuItemNative(pStr0, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, string shortcut, bool selected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (shortcut != null) + { + pStrSize1 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = MenuItemNative(pStr0, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, string shortcut) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (shortcut != null) + { + pStrSize1 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = MenuItemNative(pStr0, pStr1, (byte)(0), (byte)(1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool selected) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ReadOnlySpan shortcut) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, string shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, string shortcut, bool selected) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, string shortcut) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, (byte)(0), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool selected) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ref byte shortcut) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, string shortcut, bool selected, bool enabled) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, string shortcut, bool selected) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, string shortcut) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, (byte)(0), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ref byte shortcut, bool selected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ref byte shortcut, bool selected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ref byte shortcut) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ReadOnlySpan shortcut, bool selected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ReadOnlySpan shortcut, bool selected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ReadOnlySpan shortcut) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte MenuItemNative(byte* label, byte* shortcut, bool* pSelected, byte enabled) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[244])(label, shortcut, pSelected, enabled); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[244])((nint)label, (nint)shortcut, (nint)pSelected, enabled); + #endif + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, byte* shortcut, bool* pSelected, bool enabled) + { + byte ret = MenuItemNative(label, shortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, byte* shortcut, bool* pSelected) + { + byte ret = MenuItemNative(label, shortcut, pSelected, (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, byte* shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, byte* shortcut, bool* pSelected) + { + fixed (byte* plabel = &label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool* pSelected) + { + fixed (byte* plabel = label) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, byte* shortcut, bool* pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, shortcut, pSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, byte* shortcut, bool* pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(pStr0, shortcut, pSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ref byte shortcut, bool* pSelected, bool enabled) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ref byte shortcut, bool* pSelected) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool* pSelected) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, string shortcut, bool* pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(label, pStr0, pSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, string shortcut, bool* pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative(label, pStr0, pSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ref byte shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ref byte shortcut, bool* pSelected) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool* pSelected) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, string shortcut, bool* pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (shortcut != null) + { + pStrSize1 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = MenuItemNative(pStr0, pStr1, pSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, string shortcut, bool* pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (shortcut != null) + { + pStrSize1 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = MenuItemNative(pStr0, pStr1, pSelected, (byte)(1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool* pSelected) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, string shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, string shortcut, bool* pSelected) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool* pSelected) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, string shortcut, bool* pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, string shortcut, bool* pSelected) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ref byte shortcut, bool* pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ref byte shortcut, bool* pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = &shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ReadOnlySpan shortcut, bool* pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = shortcut) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, byte* shortcut, ref bool pSelected, bool enabled) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, byte* shortcut, ref bool pSelected) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, shortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, byte* shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, byte* shortcut, ref bool pSelected) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, byte* shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, byte* shortcut, ref bool pSelected) + { + fixed (byte* plabel = label) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, byte* shortcut, ref bool pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, byte* shortcut, ref bool pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, shortcut, (bool*)ppSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ref byte shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ref byte shortcut, ref bool pSelected) + { + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, ReadOnlySpan shortcut, ref bool pSelected) + { + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, string shortcut, ref bool pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, pStr0, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(byte* label, string shortcut, ref bool pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(label, pStr0, (bool*)ppSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ref byte shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ref byte shortcut, ref bool pSelected) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, ref bool pSelected) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, string shortcut, ref bool pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (shortcut != null) + { + pStrSize1 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, pStr1, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, string shortcut, ref bool pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (shortcut != null) + { + pStrSize1 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, pStr1, (bool*)ppSelected, (byte)(1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, ref bool pSelected) + { + fixed (byte* plabel = &label) + { + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, string shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ref byte label, string shortcut, ref bool pSelected) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, ref bool pSelected) + { + fixed (byte* plabel = label) + { + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, string shortcut, ref bool pSelected, bool enabled) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(ReadOnlySpan label, string shortcut, ref bool pSelected) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (shortcut != null) + { + pStrSize0 = Utils.GetByteCountUTF8(shortcut); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ref byte shortcut, ref bool pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ref byte shortcut, ref bool pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = &shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool MenuItem(string label, ReadOnlySpan shortcut, ref bool pSelected) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pshortcut = shortcut) + { + fixed (bool* ppSelected = &pSelected) + { + byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BeginTooltipNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[245])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[245])(); + #endif + } + + /// + /// To be documented. + /// + public static void BeginTooltip() + { + BeginTooltipNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndTooltipNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[246])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[246])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndTooltip() + { + EndTooltipNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetTooltipNative(byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[247])(fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[247])((nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void SetTooltip(byte* fmt) + { + SetTooltipNative(fmt); + } + + /// + /// To be documented. + /// + public static void SetTooltip(ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + SetTooltipNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void SetTooltip(ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + SetTooltipNative((byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void SetTooltip(string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetTooltipNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetTooltipVNative(byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[248])(fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[248])((nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void SetTooltipV(byte* fmt, nuint args) + { + SetTooltipVNative(fmt, args); + } + + /// + /// To be documented. + /// + public static void SetTooltipV(ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + SetTooltipVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void SetTooltipV(ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + SetTooltipVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void SetTooltipV(string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetTooltipVNative(pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginPopupNative(byte* strId, ImGuiWindowFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[249])(strId, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[249])((nint)strId, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginPopup(byte* strId, ImGuiWindowFlags flags) + { + byte ret = BeginPopupNative(strId, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopup(byte* strId) + { + byte ret = BeginPopupNative(strId, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopup(ref byte strId, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupNative((byte*)pstrId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopup(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupNative((byte*)pstrId, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopup(ReadOnlySpan strId, ImGuiWindowFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupNative((byte*)pstrId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopup(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupNative((byte*)pstrId, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopup(string strId, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopup(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupNative(pStr0, (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginPopupModalNative(byte* name, bool* pOpen, ImGuiWindowFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[250])(name, pOpen, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[250])((nint)name, (nint)pOpen, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(byte* name, bool* pOpen, ImGuiWindowFlags flags) + { + byte ret = BeginPopupModalNative(name, pOpen, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(byte* name, bool* pOpen) + { + byte ret = BeginPopupModalNative(name, pOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(byte* name) + { + byte ret = BeginPopupModalNative(name, (bool*)(default), (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(byte* name, ImGuiWindowFlags flags) + { + byte ret = BeginPopupModalNative(name, (bool*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ref byte name, bool* pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = &name) + { + byte ret = BeginPopupModalNative((byte*)pname, pOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ref byte name, bool* pOpen) + { + fixed (byte* pname = &name) + { + byte ret = BeginPopupModalNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ref byte name) + { + fixed (byte* pname = &name) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ref byte name, ImGuiWindowFlags flags) + { + fixed (byte* pname = &name) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ReadOnlySpan name, bool* pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = name) + { + byte ret = BeginPopupModalNative((byte*)pname, pOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ReadOnlySpan name, bool* pOpen) + { + fixed (byte* pname = name) + { + byte ret = BeginPopupModalNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ReadOnlySpan name) + { + fixed (byte* pname = name) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ReadOnlySpan name, ImGuiWindowFlags flags) + { + fixed (byte* pname = name) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(string name, bool* pOpen, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupModalNative(pStr0, pOpen, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(string name, bool* pOpen) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupModalNative(pStr0, pOpen, (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(string name) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupModalNative(pStr0, (bool*)(default), (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(string name, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupModalNative(pStr0, (bool*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(byte* name, ref bool pOpen, ImGuiWindowFlags flags) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative(name, (bool*)ppOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(byte* name, ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative(name, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ref byte name, ref bool pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = &name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ref byte name, ref bool pOpen) + { + fixed (byte* pname = &name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ReadOnlySpan name, ref bool pOpen, ImGuiWindowFlags flags) + { + fixed (byte* pname = name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(ReadOnlySpan name, ref bool pOpen) + { + fixed (byte* pname = name) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(string name, ref bool pOpen, ImGuiWindowFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative(pStr0, (bool*)ppOpen, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupModal(string name, ref bool pOpen) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginPopupModalNative(pStr0, (bool*)ppOpen, (ImGuiWindowFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndPopupNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[251])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[251])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndPopup() + { + EndPopupNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void OpenPopupNative(byte* strId, ImGuiPopupFlags popupFlags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[252])(strId, popupFlags); + #else + ((delegate* unmanaged[Cdecl])funcTable[252])((nint)strId, popupFlags); + #endif + } + + /// + /// To be documented. + /// + public static void OpenPopup(byte* strId, ImGuiPopupFlags popupFlags) + { + OpenPopupNative(strId, popupFlags); + } + + /// + /// To be documented. + /// + public static void OpenPopup(byte* strId) + { + OpenPopupNative(strId, (ImGuiPopupFlags)(0)); + } + + /// + /// To be documented. + /// + public static void OpenPopup(ref byte strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = &strId) + { + OpenPopupNative((byte*)pstrId, popupFlags); + } + } + + /// + /// To be documented. + /// + public static void OpenPopup(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + OpenPopupNative((byte*)pstrId, (ImGuiPopupFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void OpenPopup(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = strId) + { + OpenPopupNative((byte*)pstrId, popupFlags); + } + } + + /// + /// To be documented. + /// + public static void OpenPopup(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + OpenPopupNative((byte*)pstrId, (ImGuiPopupFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void OpenPopup(string strId, ImGuiPopupFlags popupFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + OpenPopupNative(pStr0, popupFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void OpenPopup(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + OpenPopupNative(pStr0, (ImGuiPopupFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void OpenPopupNative(uint id, ImGuiPopupFlags popupFlags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[253])(id, popupFlags); + #else + ((delegate* unmanaged[Cdecl])funcTable[253])(id, popupFlags); + #endif + } + + /// + /// To be documented. + /// + public static void OpenPopup(uint id, ImGuiPopupFlags popupFlags) + { + OpenPopupNative(id, popupFlags); + } + + /// + /// To be documented. + /// + public static void OpenPopup(uint id) + { + OpenPopupNative(id, (ImGuiPopupFlags)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void OpenPopupOnItemClickNative(byte* strId, ImGuiPopupFlags popupFlags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[254])(strId, popupFlags); + #else + ((delegate* unmanaged[Cdecl])funcTable[254])((nint)strId, popupFlags); + #endif + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(byte* strId, ImGuiPopupFlags popupFlags) + { + OpenPopupOnItemClickNative(strId, popupFlags); + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(byte* strId) + { + OpenPopupOnItemClickNative(strId, (ImGuiPopupFlags)(1)); + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick() + { + OpenPopupOnItemClickNative((byte*)(default), (ImGuiPopupFlags)(1)); + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(ImGuiPopupFlags popupFlags) + { + OpenPopupOnItemClickNative((byte*)(default), popupFlags); + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(ref byte strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = &strId) + { + OpenPopupOnItemClickNative((byte*)pstrId, popupFlags); + } + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + OpenPopupOnItemClickNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + } + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = strId) + { + OpenPopupOnItemClickNative((byte*)pstrId, popupFlags); + } + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + OpenPopupOnItemClickNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + } + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(string strId, ImGuiPopupFlags popupFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + OpenPopupOnItemClickNative(pStr0, popupFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void OpenPopupOnItemClick(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + OpenPopupOnItemClickNative(pStr0, (ImGuiPopupFlags)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void CloseCurrentPopupNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[255])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[255])(); + #endif + } + + /// + /// To be documented. + /// + public static void CloseCurrentPopup() + { + CloseCurrentPopupNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginPopupContextItemNative(byte* strId, ImGuiPopupFlags popupFlags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[256])(strId, popupFlags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[256])((nint)strId, popupFlags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(byte* strId, ImGuiPopupFlags popupFlags) + { + byte ret = BeginPopupContextItemNative(strId, popupFlags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(byte* strId) + { + byte ret = BeginPopupContextItemNative(strId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem() + { + byte ret = BeginPopupContextItemNative((byte*)(default), (ImGuiPopupFlags)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(ImGuiPopupFlags popupFlags) + { + byte ret = BeginPopupContextItemNative((byte*)(default), popupFlags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(ref byte strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupContextItemNative((byte*)pstrId, popupFlags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupContextItemNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupContextItemNative((byte*)pstrId, popupFlags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupContextItemNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(string strId, ImGuiPopupFlags popupFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupContextItemNative(pStr0, popupFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextItem(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupContextItemNative(pStr0, (ImGuiPopupFlags)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginPopupContextWindowNative(byte* strId, ImGuiPopupFlags popupFlags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[257])(strId, popupFlags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[257])((nint)strId, popupFlags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(byte* strId, ImGuiPopupFlags popupFlags) + { + byte ret = BeginPopupContextWindowNative(strId, popupFlags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(byte* strId) + { + byte ret = BeginPopupContextWindowNative(strId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow() + { + byte ret = BeginPopupContextWindowNative((byte*)(default), (ImGuiPopupFlags)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(ImGuiPopupFlags popupFlags) + { + byte ret = BeginPopupContextWindowNative((byte*)(default), popupFlags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(ref byte strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupContextWindowNative((byte*)pstrId, popupFlags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupContextWindowNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupContextWindowNative((byte*)pstrId, popupFlags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupContextWindowNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(string strId, ImGuiPopupFlags popupFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupContextWindowNative(pStr0, popupFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextWindow(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupContextWindowNative(pStr0, (ImGuiPopupFlags)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginPopupContextVoidNative(byte* strId, ImGuiPopupFlags popupFlags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[258])(strId, popupFlags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[258])((nint)strId, popupFlags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(byte* strId, ImGuiPopupFlags popupFlags) + { + byte ret = BeginPopupContextVoidNative(strId, popupFlags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(byte* strId) + { + byte ret = BeginPopupContextVoidNative(strId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid() + { + byte ret = BeginPopupContextVoidNative((byte*)(default), (ImGuiPopupFlags)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(ImGuiPopupFlags popupFlags) + { + byte ret = BeginPopupContextVoidNative((byte*)(default), popupFlags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(ref byte strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupContextVoidNative((byte*)pstrId, popupFlags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginPopupContextVoidNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupContextVoidNative((byte*)pstrId, popupFlags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginPopupContextVoidNative((byte*)pstrId, (ImGuiPopupFlags)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(string strId, ImGuiPopupFlags popupFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupContextVoidNative(pStr0, popupFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPopupContextVoid(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPopupContextVoidNative(pStr0, (ImGuiPopupFlags)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsPopupOpenNative(byte* strId, ImGuiPopupFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[259])(strId, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[259])((nint)strId, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(byte* strId, ImGuiPopupFlags flags) + { + byte ret = IsPopupOpenNative(strId, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(byte* strId) + { + byte ret = IsPopupOpenNative(strId, (ImGuiPopupFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(ref byte strId, ImGuiPopupFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = IsPopupOpenNative((byte*)pstrId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + byte ret = IsPopupOpenNative((byte*)pstrId, (ImGuiPopupFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(ReadOnlySpan strId, ImGuiPopupFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = IsPopupOpenNative((byte*)pstrId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + byte ret = IsPopupOpenNative((byte*)pstrId, (ImGuiPopupFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(string strId, ImGuiPopupFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = IsPopupOpenNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsPopupOpen(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = IsPopupOpenNative(pStr0, (ImGuiPopupFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginTableNative(byte* strId, int column, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[260])(strId, column, flags, outerSize, innerWidth); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[260])((nint)strId, column, flags, outerSize, innerWidth); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + { + byte ret = BeginTableNative(strId, column, flags, outerSize, innerWidth); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column, ImGuiTableFlags flags, Vector2 outerSize) + { + byte ret = BeginTableNative(strId, column, flags, outerSize, (float)(0.0f)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column, ImGuiTableFlags flags) + { + byte ret = BeginTableNative(strId, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column) + { + byte ret = BeginTableNative(strId, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column, Vector2 outerSize) + { + byte ret = BeginTableNative(strId, column, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column, ImGuiTableFlags flags, float innerWidth) + { + byte ret = BeginTableNative(strId, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column, float innerWidth) + { + byte ret = BeginTableNative(strId, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(byte* strId, int column, Vector2 outerSize, float innerWidth) + { + byte ret = BeginTableNative(strId, column, (ImGuiTableFlags)(0), outerSize, innerWidth); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, outerSize, innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column, ImGuiTableFlags flags, Vector2 outerSize) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, outerSize, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column, ImGuiTableFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column, Vector2 outerSize) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column, ImGuiTableFlags flags, float innerWidth) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column, float innerWidth) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ref byte strId, int column, Vector2 outerSize, float innerWidth) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), outerSize, innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, outerSize, innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column, ImGuiTableFlags flags, Vector2 outerSize) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, outerSize, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column, ImGuiTableFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column, Vector2 outerSize) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column, ImGuiTableFlags flags, float innerWidth) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column, float innerWidth) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(ReadOnlySpan strId, int column, Vector2 outerSize, float innerWidth) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTableNative((byte*)pstrId, column, (ImGuiTableFlags)(0), outerSize, innerWidth); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, flags, outerSize, innerWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column, ImGuiTableFlags flags, Vector2 outerSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, flags, outerSize, (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column, ImGuiTableFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column, Vector2 outerSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column, ImGuiTableFlags flags, float innerWidth) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column, float innerWidth) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.085.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.085.cs new file mode 100644 index 000000000..6cf8bbcd1 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.085.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool BeginTable(string strId, int column, Vector2 outerSize, float innerWidth) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTableNative(pStr0, column, (ImGuiTableFlags)(0), outerSize, innerWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndTableNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[261])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[261])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndTable() + { + EndTableNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TableNextRowNative(ImGuiTableRowFlags rowFlags, float minRowHeight) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[262])(rowFlags, minRowHeight); + #else + ((delegate* unmanaged[Cdecl])funcTable[262])(rowFlags, minRowHeight); + #endif + } + + /// + /// To be documented. + /// + public static void TableNextRow(ImGuiTableRowFlags rowFlags, float minRowHeight) + { + TableNextRowNative(rowFlags, minRowHeight); + } + + /// + /// To be documented. + /// + public static void TableNextRow(ImGuiTableRowFlags rowFlags) + { + TableNextRowNative(rowFlags, (float)(0.0f)); + } + + /// + /// To be documented. + /// + public static void TableNextRow() + { + TableNextRowNative((ImGuiTableRowFlags)(0), (float)(0.0f)); + } + + /// + /// To be documented. + /// + public static void TableNextRow(float minRowHeight) + { + TableNextRowNative((ImGuiTableRowFlags)(0), minRowHeight); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TableNextColumnNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[263])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[263])(); + #endif + } + + /// + /// To be documented. + /// + public static bool TableNextColumn() + { + byte ret = TableNextColumnNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TableSetColumnIndexNative(int columnN) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[264])(columnN); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[264])(columnN); + #endif + } + + /// + /// To be documented. + /// + public static bool TableSetColumnIndex(int columnN) + { + byte ret = TableSetColumnIndexNative(columnN); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TableSetupColumnNative(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[265])(label, flags, initWidthOrWeight, userId); + #else + ((delegate* unmanaged[Cdecl])funcTable[265])((nint)label, flags, initWidthOrWeight, userId); + #endif + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) + { + TableSetupColumnNative(label, flags, initWidthOrWeight, userId); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight) + { + TableSetupColumnNative(label, flags, initWidthOrWeight, (uint)(0)); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags) + { + TableSetupColumnNative(label, flags, (float)(0.0f), (uint)(0)); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label) + { + TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label, float initWidthOrWeight) + { + TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags, uint userId) + { + TableSetupColumnNative(label, flags, (float)(0.0f), userId); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label, uint userId) + { + TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(byte* label, float initWidthOrWeight, uint userId) + { + TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags, float initWidthOrWeight) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label, float initWidthOrWeight) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags, uint userId) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label, uint userId) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ref byte label, float initWidthOrWeight, uint userId) + { + fixed (byte* plabel = &label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, float initWidthOrWeight) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label, float initWidthOrWeight) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, uint userId) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label, uint userId) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(ReadOnlySpan label, float initWidthOrWeight, uint userId) + { + fixed (byte* plabel = label) + { + TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, flags, initWidthOrWeight, userId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float initWidthOrWeight) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, flags, initWidthOrWeight, (uint)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, flags, (float)(0.0f), (uint)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label, float initWidthOrWeight) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, uint userId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, flags, (float)(0.0f), userId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label, uint userId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void TableSetupColumn(string label, float initWidthOrWeight, uint userId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TableSetupScrollFreezeNative(int cols, int rows) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[266])(cols, rows); + #else + ((delegate* unmanaged[Cdecl])funcTable[266])(cols, rows); + #endif + } + + /// + /// To be documented. + /// + public static void TableSetupScrollFreeze(int cols, int rows) + { + TableSetupScrollFreezeNative(cols, rows); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TableHeadersRowNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[267])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[267])(); + #endif + } + + /// + /// To be documented. + /// + public static void TableHeadersRow() + { + TableHeadersRowNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TableHeaderNative(byte* label) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[268])(label); + #else + ((delegate* unmanaged[Cdecl])funcTable[268])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static void TableHeader(byte* label) + { + TableHeaderNative(label); + } + + /// + /// To be documented. + /// + public static void TableHeader(ref byte label) + { + fixed (byte* plabel = &label) + { + TableHeaderNative((byte*)plabel); + } + } + + /// + /// To be documented. + /// + public static void TableHeader(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + TableHeaderNative((byte*)plabel); + } + } + + /// + /// To be documented. + /// + public static void TableHeader(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TableHeaderNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTableSortSpecs* TableGetSortSpecsNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[269])(); + #else + return (ImGuiTableSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[269])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTableSortSpecsPtr TableGetSortSpecs() + { + ImGuiTableSortSpecsPtr ret = TableGetSortSpecsNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int TableGetColumnCountNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[270])(); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[270])(); + #endif + } + + /// + /// To be documented. + /// + public static int TableGetColumnCount() + { + int ret = TableGetColumnCountNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int TableGetColumnIndexNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[271])(); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[271])(); + #endif + } + + /// + /// To be documented. + /// + public static int TableGetColumnIndex() + { + int ret = TableGetColumnIndexNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int TableGetRowIndexNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[272])(); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[272])(); + #endif + } + + /// + /// To be documented. + /// + public static int TableGetRowIndex() + { + int ret = TableGetRowIndexNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* TableGetColumnNameNative(int columnN) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[273])(columnN); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[273])(columnN); + #endif + } + + /// + /// To be documented. + /// + public static byte* TableGetColumnName(int columnN) + { + byte* ret = TableGetColumnNameNative(columnN); + return ret; + } + + /// + /// To be documented. + /// + public static byte* TableGetColumnName() + { + byte* ret = TableGetColumnNameNative((int)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static string TableGetColumnNameS() + { + string ret = Utils.DecodeStringUTF8(TableGetColumnNameNative((int)(-1))); + return ret; + } + + /// + /// To be documented. + /// + public static string TableGetColumnNameS(int columnN) + { + string ret = Utils.DecodeStringUTF8(TableGetColumnNameNative(columnN)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTableColumnFlags TableGetColumnFlagsNative(int columnN) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[274])(columnN); + #else + return (ImGuiTableColumnFlags)((delegate* unmanaged[Cdecl])funcTable[274])(columnN); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTableColumnFlags TableGetColumnFlags(int columnN) + { + ImGuiTableColumnFlags ret = TableGetColumnFlagsNative(columnN); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiTableColumnFlags TableGetColumnFlags() + { + ImGuiTableColumnFlags ret = TableGetColumnFlagsNative((int)(-1)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TableSetColumnEnabledNative(int columnN, byte v) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[275])(columnN, v); + #else + ((delegate* unmanaged[Cdecl])funcTable[275])(columnN, v); + #endif + } + + /// + /// To be documented. + /// + public static void TableSetColumnEnabled(int columnN, bool v) + { + TableSetColumnEnabledNative(columnN, v ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TableSetBgColorNative(ImGuiTableBgTarget target, uint color, int columnN) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[276])(target, color, columnN); + #else + ((delegate* unmanaged[Cdecl])funcTable[276])(target, color, columnN); + #endif + } + + /// + /// To be documented. + /// + public static void TableSetBgColor(ImGuiTableBgTarget target, uint color, int columnN) + { + TableSetBgColorNative(target, color, columnN); + } + + /// + /// To be documented. + /// + public static void TableSetBgColor(ImGuiTableBgTarget target, uint color) + { + TableSetBgColorNative(target, color, (int)(-1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ColumnsNative(int count, byte* id, byte border) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[277])(count, id, border); + #else + ((delegate* unmanaged[Cdecl])funcTable[277])(count, (nint)id, border); + #endif + } + + /// + /// To be documented. + /// + public static void Columns(int count, byte* id, bool border) + { + ColumnsNative(count, id, border ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void Columns(int count, byte* id) + { + ColumnsNative(count, id, (byte)(1)); + } + + /// + /// To be documented. + /// + public static void Columns(int count) + { + ColumnsNative(count, (byte*)(default), (byte)(1)); + } + + /// + /// To be documented. + /// + public static void Columns() + { + ColumnsNative((int)(1), (byte*)(default), (byte)(1)); + } + + /// + /// To be documented. + /// + public static void Columns(byte* id) + { + ColumnsNative((int)(1), id, (byte)(1)); + } + + /// + /// To be documented. + /// + public static void Columns(int count, bool border) + { + ColumnsNative(count, (byte*)(default), border ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void Columns(bool border) + { + ColumnsNative((int)(1), (byte*)(default), border ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void Columns(byte* id, bool border) + { + ColumnsNative((int)(1), id, border ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void Columns(int count, ref byte id, bool border) + { + fixed (byte* pid = &id) + { + ColumnsNative(count, (byte*)pid, border ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void Columns(int count, ref byte id) + { + fixed (byte* pid = &id) + { + ColumnsNative(count, (byte*)pid, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void Columns(ref byte id) + { + fixed (byte* pid = &id) + { + ColumnsNative((int)(1), (byte*)pid, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void Columns(ref byte id, bool border) + { + fixed (byte* pid = &id) + { + ColumnsNative((int)(1), (byte*)pid, border ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void Columns(int count, ReadOnlySpan id, bool border) + { + fixed (byte* pid = id) + { + ColumnsNative(count, (byte*)pid, border ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void Columns(int count, ReadOnlySpan id) + { + fixed (byte* pid = id) + { + ColumnsNative(count, (byte*)pid, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void Columns(ReadOnlySpan id) + { + fixed (byte* pid = id) + { + ColumnsNative((int)(1), (byte*)pid, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void Columns(ReadOnlySpan id, bool border) + { + fixed (byte* pid = id) + { + ColumnsNative((int)(1), (byte*)pid, border ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void Columns(int count, string id, bool border) + { + 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; + } + ColumnsNative(count, pStr0, border ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Columns(int count, string id) + { + 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; + } + ColumnsNative(count, pStr0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Columns(string id) + { + 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; + } + ColumnsNative((int)(1), pStr0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Columns(string id, bool border) + { + 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; + } + ColumnsNative((int)(1), pStr0, border ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void NextColumnNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[278])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[278])(); + #endif + } + + /// + /// To be documented. + /// + public static void NextColumn() + { + NextColumnNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetColumnIndexNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[279])(); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[279])(); + #endif + } + + /// + /// To be documented. + /// + public static int GetColumnIndex() + { + int ret = GetColumnIndexNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetColumnWidthNative(int columnIndex) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[280])(columnIndex); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[280])(columnIndex); + #endif + } + + /// + /// To be documented. + /// + public static float GetColumnWidth(int columnIndex) + { + float ret = GetColumnWidthNative(columnIndex); + return ret; + } + + /// + /// To be documented. + /// + public static float GetColumnWidth() + { + float ret = GetColumnWidthNative((int)(-1)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetColumnWidthNative(int columnIndex, float width) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[281])(columnIndex, width); + #else + ((delegate* unmanaged[Cdecl])funcTable[281])(columnIndex, width); + #endif + } + + /// + /// To be documented. + /// + public static void SetColumnWidth(int columnIndex, float width) + { + SetColumnWidthNative(columnIndex, width); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetColumnOffsetNative(int columnIndex) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[282])(columnIndex); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[282])(columnIndex); + #endif + } + + /// + /// To be documented. + /// + public static float GetColumnOffset(int columnIndex) + { + float ret = GetColumnOffsetNative(columnIndex); + return ret; + } + + /// + /// To be documented. + /// + public static float GetColumnOffset() + { + float ret = GetColumnOffsetNative((int)(-1)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetColumnOffsetNative(int columnIndex, float offsetX) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[283])(columnIndex, offsetX); + #else + ((delegate* unmanaged[Cdecl])funcTable[283])(columnIndex, offsetX); + #endif + } + + /// + /// To be documented. + /// + public static void SetColumnOffset(int columnIndex, float offsetX) + { + SetColumnOffsetNative(columnIndex, offsetX); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetColumnsCountNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[284])(); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[284])(); + #endif + } + + /// + /// To be documented. + /// + public static int GetColumnsCount() + { + int ret = GetColumnsCountNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginTabBarNative(byte* strId, ImGuiTabBarFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[285])(strId, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[285])((nint)strId, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(byte* strId, ImGuiTabBarFlags flags) + { + byte ret = BeginTabBarNative(strId, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(byte* strId) + { + byte ret = BeginTabBarNative(strId, (ImGuiTabBarFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(ref byte strId, ImGuiTabBarFlags flags) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTabBarNative((byte*)pstrId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(ref byte strId) + { + fixed (byte* pstrId = &strId) + { + byte ret = BeginTabBarNative((byte*)pstrId, (ImGuiTabBarFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(ReadOnlySpan strId, ImGuiTabBarFlags flags) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTabBarNative((byte*)pstrId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(ReadOnlySpan strId) + { + fixed (byte* pstrId = strId) + { + byte ret = BeginTabBarNative((byte*)pstrId, (ImGuiTabBarFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(string strId, ImGuiTabBarFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTabBarNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabBar(string strId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTabBarNative(pStr0, (ImGuiTabBarFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndTabBarNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[286])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[286])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndTabBar() + { + EndTabBarNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginTabItemNative(byte* label, bool* pOpen, ImGuiTabItemFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[287])(label, pOpen, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[287])((nint)label, (nint)pOpen, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(byte* label, bool* pOpen, ImGuiTabItemFlags flags) + { + byte ret = BeginTabItemNative(label, pOpen, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(byte* label, bool* pOpen) + { + byte ret = BeginTabItemNative(label, pOpen, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(byte* label) + { + byte ret = BeginTabItemNative(label, (bool*)(default), (ImGuiTabItemFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(byte* label, ImGuiTabItemFlags flags) + { + byte ret = BeginTabItemNative(label, (bool*)(default), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ref byte label, bool* pOpen, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = BeginTabItemNative((byte*)plabel, pOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ref byte label, bool* pOpen) + { + fixed (byte* plabel = &label) + { + byte ret = BeginTabItemNative((byte*)plabel, pOpen, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ref byte label, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ReadOnlySpan label, bool* pOpen, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = BeginTabItemNative((byte*)plabel, pOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ReadOnlySpan label, bool* pOpen) + { + fixed (byte* plabel = label) + { + byte ret = BeginTabItemNative((byte*)plabel, pOpen, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ReadOnlySpan label, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(string label, bool* pOpen, ImGuiTabItemFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTabItemNative(pStr0, pOpen, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(string label, bool* pOpen) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTabItemNative(pStr0, pOpen, (ImGuiTabItemFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTabItemNative(pStr0, (bool*)(default), (ImGuiTabItemFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(string label, ImGuiTabItemFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginTabItemNative(pStr0, (bool*)(default), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(byte* label, ref bool pOpen, ImGuiTabItemFlags flags) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative(label, (bool*)ppOpen, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(byte* label, ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative(label, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ref byte label, ref bool pOpen, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ref byte label, ref bool pOpen) + { + fixed (byte* plabel = &label) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ReadOnlySpan label, ref bool pOpen, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = label) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(ReadOnlySpan label, ref bool pOpen) + { + fixed (byte* plabel = label) + { + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(string label, ref bool pOpen, ImGuiTabItemFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative(pStr0, (bool*)ppOpen, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginTabItem(string label, ref bool pOpen) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* ppOpen = &pOpen) + { + byte ret = BeginTabItemNative(pStr0, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndTabItemNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[288])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[288])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndTabItem() + { + EndTabItemNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte TabItemButtonNative(byte* label, ImGuiTabItemFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[289])(label, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[289])((nint)label, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool TabItemButton(byte* label, ImGuiTabItemFlags flags) + { + byte ret = TabItemButtonNative(label, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TabItemButton(byte* label) + { + byte ret = TabItemButtonNative(label, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TabItemButton(ref byte label, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = &label) + { + byte ret = TabItemButtonNative((byte*)plabel, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TabItemButton(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = TabItemButtonNative((byte*)plabel, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TabItemButton(ReadOnlySpan label, ImGuiTabItemFlags flags) + { + fixed (byte* plabel = label) + { + byte ret = TabItemButtonNative((byte*)plabel, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TabItemButton(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = TabItemButtonNative((byte*)plabel, (ImGuiTabItemFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool TabItemButton(string label, ImGuiTabItemFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TabItemButtonNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool TabItemButton(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = TabItemButtonNative(pStr0, (ImGuiTabItemFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetTabItemClosedNative(byte* tabOrDockedWindowLabel) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[290])(tabOrDockedWindowLabel); + #else + ((delegate* unmanaged[Cdecl])funcTable[290])((nint)tabOrDockedWindowLabel); + #endif + } + + /// + /// To be documented. + /// + public static void SetTabItemClosed(byte* tabOrDockedWindowLabel) + { + SetTabItemClosedNative(tabOrDockedWindowLabel); + } + + /// + /// To be documented. + /// + public static void SetTabItemClosed(ref byte tabOrDockedWindowLabel) + { + fixed (byte* ptabOrDockedWindowLabel = &tabOrDockedWindowLabel) + { + SetTabItemClosedNative((byte*)ptabOrDockedWindowLabel); + } + } + + /// + /// To be documented. + /// + public static void SetTabItemClosed(ReadOnlySpan tabOrDockedWindowLabel) + { + fixed (byte* ptabOrDockedWindowLabel = tabOrDockedWindowLabel) + { + SetTabItemClosedNative((byte*)ptabOrDockedWindowLabel); + } + } + + /// + /// To be documented. + /// + public static void SetTabItemClosed(string tabOrDockedWindowLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (tabOrDockedWindowLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(tabOrDockedWindowLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(tabOrDockedWindowLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetTabItemClosedNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint DockSpaceNative(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClass* windowClass) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[291])(id, size, flags, windowClass); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[291])(id, size, flags, (nint)windowClass); + #endif + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceNative(id, size, flags, windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags) + { + uint ret = DockSpaceNative(id, size, flags, (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, Vector2 size) + { + uint ret = DockSpaceNative(id, size, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id) + { + uint ret = DockSpaceNative(id, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, ImGuiDockNodeFlags flags) + { + uint ret = DockSpaceNative(id, (Vector2)(new Vector2(0,0)), flags, (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, Vector2 size, ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceNative(id, size, (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceNative(id, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceNative(id, (Vector2)(new Vector2(0,0)), flags, windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceNative(id, size, flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, Vector2 size, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceNative(id, size, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceNative(id, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpace(uint id, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceNative(id, (Vector2)(new Vector2(0,0)), flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint DockSpaceOverViewportNative(ImGuiViewport* viewport, ImGuiDockNodeFlags flags, ImGuiWindowClass* windowClass) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[292])(viewport, flags, windowClass); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[292])((nint)viewport, flags, (nint)windowClass); + #endif + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceOverViewportNative(viewport, flags, windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags) + { + uint ret = DockSpaceOverViewportNative(viewport, flags, (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport) + { + uint ret = DockSpaceOverViewportNative(viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport() + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)(default), flags, (ImGuiWindowClass*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceOverViewportNative(viewport, (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)(default), flags, windowClass); + return ret; + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)pviewport, flags, windowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiWindowClassPtr windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceOverViewportNative(viewport, flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceOverViewportNative(viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)(default), flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = DockSpaceOverViewportNative((ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowDockIDNative(uint dockId, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[293])(dockId, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[293])(dockId, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowDockID(uint dockId, ImGuiCond cond) + { + SetNextWindowDockIDNative(dockId, cond); + } + + /// + /// To be documented. + /// + public static void SetNextWindowDockID(uint dockId) + { + SetNextWindowDockIDNative(dockId, (ImGuiCond)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextWindowClassNative(ImGuiWindowClass* windowClass) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[294])(windowClass); + #else + ((delegate* unmanaged[Cdecl])funcTable[294])((nint)windowClass); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextWindowClass(ImGuiWindowClassPtr windowClass) + { + SetNextWindowClassNative(windowClass); + } + + /// + /// To be documented. + /// + public static void SetNextWindowClass(ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + SetNextWindowClassNative((ImGuiWindowClass*)pwindowClass); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetWindowDockIDNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[295])(); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[295])(); + #endif + } + + /// + /// To be documented. + /// + public static uint GetWindowDockID() + { + uint ret = GetWindowDockIDNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsWindowDockedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[296])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[296])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsWindowDocked() + { + byte ret = IsWindowDockedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LogToTTYNative(int autoOpenDepth) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[297])(autoOpenDepth); + #else + ((delegate* unmanaged[Cdecl])funcTable[297])(autoOpenDepth); + #endif + } + + /// + /// To be documented. + /// + public static void LogToTTY(int autoOpenDepth) + { + LogToTTYNative(autoOpenDepth); + } + + /// + /// To be documented. + /// + public static void LogToTTY() + { + LogToTTYNative((int)(-1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LogToFileNative(int autoOpenDepth, byte* filename) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[298])(autoOpenDepth, filename); + #else + ((delegate* unmanaged[Cdecl])funcTable[298])(autoOpenDepth, (nint)filename); + #endif + } + + /// + /// To be documented. + /// + public static void LogToFile(int autoOpenDepth, byte* filename) + { + LogToFileNative(autoOpenDepth, filename); + } + + /// + /// To be documented. + /// + public static void LogToFile(int autoOpenDepth) + { + LogToFileNative(autoOpenDepth, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void LogToFile() + { + LogToFileNative((int)(-1), (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void LogToFile(byte* filename) + { + LogToFileNative((int)(-1), filename); + } + + /// + /// To be documented. + /// + public static void LogToFile(int autoOpenDepth, ref byte filename) + { + fixed (byte* pfilename = &filename) + { + LogToFileNative(autoOpenDepth, (byte*)pfilename); + } + } + + /// + /// To be documented. + /// + public static void LogToFile(ref byte filename) + { + fixed (byte* pfilename = &filename) + { + LogToFileNative((int)(-1), (byte*)pfilename); + } + } + + /// + /// To be documented. + /// + public static void LogToFile(int autoOpenDepth, ReadOnlySpan filename) + { + fixed (byte* pfilename = filename) + { + LogToFileNative(autoOpenDepth, (byte*)pfilename); + } + } + + /// + /// To be documented. + /// + public static void LogToFile(ReadOnlySpan filename) + { + fixed (byte* pfilename = filename) + { + LogToFileNative((int)(-1), (byte*)pfilename); + } + } + + /// + /// To be documented. + /// + public static void LogToFile(int autoOpenDepth, string filename) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LogToFileNative(autoOpenDepth, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LogToFile(string filename) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LogToFileNative((int)(-1), pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LogToClipboardNative(int autoOpenDepth) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[299])(autoOpenDepth); + #else + ((delegate* unmanaged[Cdecl])funcTable[299])(autoOpenDepth); + #endif + } + + /// + /// To be documented. + /// + public static void LogToClipboard(int autoOpenDepth) + { + LogToClipboardNative(autoOpenDepth); + } + + /// + /// To be documented. + /// + public static void LogToClipboard() + { + LogToClipboardNative((int)(-1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LogFinishNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[300])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[300])(); + #endif + } + + /// + /// To be documented. + /// + public static void LogFinish() + { + LogFinishNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LogButtonsNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[301])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[301])(); + #endif + } + + /// + /// To be documented. + /// + public static void LogButtons() + { + LogButtonsNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LogTextVNative(byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[302])(fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[302])((nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void LogTextV(byte* fmt, nuint args) + { + LogTextVNative(fmt, args); + } + + /// + /// To be documented. + /// + public static void LogTextV(ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + LogTextVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void LogTextV(ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + LogTextVNative((byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void LogTextV(string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LogTextVNative(pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropSourceNative(ImGuiDragDropFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[303])(flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[303])(flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSource(ImGuiDragDropFlags flags) + { + byte ret = BeginDragDropSourceNative(flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSource() + { + byte ret = BeginDragDropSourceNative((ImGuiDragDropFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SetDragDropPayloadNative(byte* type, void* data, ulong sz, ImGuiCond cond) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[304])(type, data, sz, cond); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[304])((nint)type, (nint)data, sz, cond); + #endif + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(byte* type, void* data, ulong sz, ImGuiCond cond) + { + byte ret = SetDragDropPayloadNative(type, data, sz, cond); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(byte* type, void* data, ulong sz) + { + byte ret = SetDragDropPayloadNative(type, data, sz, (ImGuiCond)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ref byte type, void* data, ulong sz, ImGuiCond cond) + { + fixed (byte* ptype = &type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ref byte type, void* data, ulong sz) + { + fixed (byte* ptype = &type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ReadOnlySpan type, void* data, ulong sz, ImGuiCond cond) + { + fixed (byte* ptype = type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ReadOnlySpan type, void* data, ulong sz) + { + fixed (byte* ptype = type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(string type, void* data, ulong sz, ImGuiCond cond) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SetDragDropPayloadNative(pStr0, data, sz, cond); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(string type, void* data, ulong sz) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SetDragDropPayloadNative(pStr0, data, sz, (ImGuiCond)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(byte* type, void* data, nuint sz, ImGuiCond cond) + { + byte ret = SetDragDropPayloadNative(type, data, sz, cond); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(byte* type, void* data, nuint sz) + { + byte ret = SetDragDropPayloadNative(type, data, sz, (ImGuiCond)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ref byte type, void* data, nuint sz, ImGuiCond cond) + { + fixed (byte* ptype = &type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ref byte type, void* data, nuint sz) + { + fixed (byte* ptype = &type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ReadOnlySpan type, void* data, nuint sz, ImGuiCond cond) + { + fixed (byte* ptype = type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(ReadOnlySpan type, void* data, nuint sz) + { + fixed (byte* ptype = type) + { + byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(string type, void* data, nuint sz, ImGuiCond cond) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SetDragDropPayloadNative(pStr0, data, sz, cond); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetDragDropPayload(string type, void* data, nuint sz) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = SetDragDropPayloadNative(pStr0, data, sz, (ImGuiCond)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndDragDropSourceNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[305])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[305])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndDragDropSource() + { + EndDragDropSourceNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropTargetNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[306])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[306])(); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropTarget() + { + byte ret = BeginDragDropTargetNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiPayload* AcceptDragDropPayloadNative(byte* type, ImGuiDragDropFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[307])(type, flags); + #else + return (ImGuiPayload*)((delegate* unmanaged[Cdecl])funcTable[307])((nint)type, flags); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(byte* type, ImGuiDragDropFlags flags) + { + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(type, flags); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(byte* type) + { + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(type, (ImGuiDragDropFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(ref byte type, ImGuiDragDropFlags flags) + { + fixed (byte* ptype = &type) + { + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(ref byte type) + { + fixed (byte* ptype = &type) + { + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, (ImGuiDragDropFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(ReadOnlySpan type, ImGuiDragDropFlags flags) + { + fixed (byte* ptype = type) + { + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(ReadOnlySpan type) + { + fixed (byte* ptype = type) + { + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, (ImGuiDragDropFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(string type, ImGuiDragDropFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr AcceptDragDropPayload(string type) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(pStr0, (ImGuiDragDropFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndDragDropTargetNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[308])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[308])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndDragDropTarget() + { + EndDragDropTargetNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiPayload* GetDragDropPayloadNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[309])(); + #else + return (ImGuiPayload*)((delegate* unmanaged[Cdecl])funcTable[309])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr GetDragDropPayload() + { + ImGuiPayloadPtr ret = GetDragDropPayloadNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BeginDisabledNative(byte disabled) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[310])(disabled); + #else + ((delegate* unmanaged[Cdecl])funcTable[310])(disabled); + #endif + } + + /// + /// To be documented. + /// + public static void BeginDisabled(bool disabled) + { + BeginDisabledNative(disabled ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void BeginDisabled() + { + BeginDisabledNative((byte)(1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndDisabledNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[311])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[311])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndDisabled() + { + EndDisabledNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushClipRectNative(Vector2 clipRectMin, Vector2 clipRectMax, byte intersectWithCurrentClipRect) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[312])(clipRectMin, clipRectMax, intersectWithCurrentClipRect); + #else + ((delegate* unmanaged[Cdecl])funcTable[312])(clipRectMin, clipRectMax, intersectWithCurrentClipRect); + #endif + } + + /// + /// To be documented. + /// + public static void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + PushClipRectNative(clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopClipRectNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[313])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[313])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopClipRect() + { + PopClipRectNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetItemDefaultFocusNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[314])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[314])(); + #endif + } + + /// + /// To be documented. + /// + public static void SetItemDefaultFocus() + { + SetItemDefaultFocusNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetKeyboardFocusHereNative(int offset) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[315])(offset); + #else + ((delegate* unmanaged[Cdecl])funcTable[315])(offset); + #endif + } + + /// + /// To be documented. + /// + public static void SetKeyboardFocusHere(int offset) + { + SetKeyboardFocusHereNative(offset); + } + + /// + /// To be documented. + /// + public static void SetKeyboardFocusHere() + { + SetKeyboardFocusHereNative((int)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemHoveredNative(ImGuiHoveredFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[316])(flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[316])(flags); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemHovered(ImGuiHoveredFlags flags) + { + byte ret = IsItemHoveredNative(flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsItemHovered() + { + byte ret = IsItemHoveredNative((ImGuiHoveredFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemActiveNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[317])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[317])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemActive() + { + byte ret = IsItemActiveNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemFocusedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[318])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[318])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemFocused() + { + byte ret = IsItemFocusedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemClickedNative(ImGuiMouseButton mouseButton) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[319])(mouseButton); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[319])(mouseButton); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemClicked(ImGuiMouseButton mouseButton) + { + byte ret = IsItemClickedNative(mouseButton); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsItemClicked() + { + byte ret = IsItemClickedNative((ImGuiMouseButton)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemVisibleNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[320])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[320])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemVisible() + { + byte ret = IsItemVisibleNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemEditedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[321])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[321])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemEdited() + { + byte ret = IsItemEditedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemActivatedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[322])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[322])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemActivated() + { + byte ret = IsItemActivatedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemDeactivatedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[323])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[323])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemDeactivated() + { + byte ret = IsItemDeactivatedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemDeactivatedAfterEditNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[324])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[324])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemDeactivatedAfterEdit() + { + byte ret = IsItemDeactivatedAfterEditNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsItemToggledOpenNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[325])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[325])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsItemToggledOpen() + { + byte ret = IsItemToggledOpenNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsAnyItemHoveredNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[326])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[326])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsAnyItemHovered() + { + byte ret = IsAnyItemHoveredNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsAnyItemActiveNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[327])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[327])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsAnyItemActive() + { + byte ret = IsAnyItemActiveNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsAnyItemFocusedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[328])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[328])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsAnyItemFocused() + { + byte ret = IsAnyItemFocusedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetItemRectMinNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[329])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[329])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetItemRectMin() + { + Vector2 ret; + GetItemRectMinNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetItemRectMin(Vector2* pOut) + { + GetItemRectMinNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetItemRectMin(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetItemRectMinNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetItemRectMaxNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[330])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[330])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetItemRectMax() + { + Vector2 ret; + GetItemRectMaxNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetItemRectMax(Vector2* pOut) + { + GetItemRectMaxNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetItemRectMax(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetItemRectMaxNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetItemRectSizeNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[331])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[331])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetItemRectSize() + { + Vector2 ret; + GetItemRectSizeNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetItemRectSize(Vector2* pOut) + { + GetItemRectSizeNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetItemRectSize(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetItemRectSizeNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetItemAllowOverlapNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[332])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[332])(); + #endif + } + + /// + /// To be documented. + /// + public static void SetItemAllowOverlap() + { + SetItemAllowOverlapNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiViewport* GetMainViewportNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[333])(); + #else + return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[333])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiViewportPtr GetMainViewport() + { + ImGuiViewportPtr ret = GetMainViewportNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* GetBackgroundDrawListNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[334])(); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[334])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetBackgroundDrawList() + { + ImDrawListPtr ret = GetBackgroundDrawListNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* GetForegroundDrawListNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[335])(); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[335])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetForegroundDrawList() + { + ImDrawListPtr ret = GetForegroundDrawListNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* GetBackgroundDrawListNative(ImGuiViewport* viewport) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[336])(viewport); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[336])((nint)viewport); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetBackgroundDrawList(ImGuiViewportPtr viewport) + { + ImDrawListPtr ret = GetBackgroundDrawListNative(viewport); + return ret; + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetBackgroundDrawList(ref ImGuiViewport viewport) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + ImDrawListPtr ret = GetBackgroundDrawListNative((ImGuiViewport*)pviewport); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* GetForegroundDrawListNative(ImGuiViewport* viewport) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[337])(viewport); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[337])((nint)viewport); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetForegroundDrawList(ImGuiViewportPtr viewport) + { + ImDrawListPtr ret = GetForegroundDrawListNative(viewport); + return ret; + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetForegroundDrawList(ref ImGuiViewport viewport) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + ImDrawListPtr ret = GetForegroundDrawListNative((ImGuiViewport*)pviewport); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsRectVisibleNative(Vector2 size) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[338])(size); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[338])(size); + #endif + } + + /// + /// To be documented. + /// + public static bool IsRectVisible(Vector2 size) + { + byte ret = IsRectVisibleNative(size); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsRectVisibleNative(Vector2 rectMin, Vector2 rectMax) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[339])(rectMin, rectMax); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[339])(rectMin, rectMax); + #endif + } + + /// + /// To be documented. + /// + public static bool IsRectVisible(Vector2 rectMin, Vector2 rectMax) + { + byte ret = IsRectVisibleNative(rectMin, rectMax); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double GetTimeNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[340])(); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[340])(); + #endif + } + + /// + /// To be documented. + /// + public static double GetTime() + { + double ret = GetTimeNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetFrameCountNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[341])(); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[341])(); + #endif + } + + /// + /// To be documented. + /// + public static int GetFrameCount() + { + int ret = GetFrameCountNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawListSharedData* GetDrawListSharedDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[342])(); + #else + return (ImDrawListSharedData*)((delegate* unmanaged[Cdecl])funcTable[342])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListSharedDataPtr GetDrawListSharedData() + { + ImDrawListSharedDataPtr ret = GetDrawListSharedDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetStyleColorNameNative(ImGuiCol idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[343])(idx); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[343])(idx); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetStyleColorName(ImGuiCol idx) + { + byte* ret = GetStyleColorNameNative(idx); + return ret; + } + + /// + /// To be documented. + /// + public static string GetStyleColorNameS(ImGuiCol idx) + { + string ret = Utils.DecodeStringUTF8(GetStyleColorNameNative(idx)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetStateStorageNative(ImGuiStorage* storage) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[344])(storage); + #else + ((delegate* unmanaged[Cdecl])funcTable[344])((nint)storage); + #endif + } + + /// + /// To be documented. + /// + public static void SetStateStorage(ImGuiStoragePtr storage) + { + SetStateStorageNative(storage); + } + + /// + /// To be documented. + /// + public static void SetStateStorage(ref ImGuiStorage storage) + { + fixed (ImGuiStorage* pstorage = &storage) + { + SetStateStorageNative((ImGuiStorage*)pstorage); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStorage* GetStateStorageNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[345])(); + #else + return (ImGuiStorage*)((delegate* unmanaged[Cdecl])funcTable[345])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStoragePtr GetStateStorage() + { + ImGuiStoragePtr ret = GetStateStorageNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginChildFrameNative(uint id, Vector2 size, ImGuiWindowFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[346])(id, size, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[346])(id, size, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginChildFrame(uint id, Vector2 size, ImGuiWindowFlags flags) + { + byte ret = BeginChildFrameNative(id, size, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginChildFrame(uint id, Vector2 size) + { + byte ret = BeginChildFrameNative(id, size, (ImGuiWindowFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndChildFrameNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[347])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[347])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndChildFrame() + { + EndChildFrameNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void CalcTextSizeNative(Vector2* pOut, byte* text, byte* textEnd, byte hideTextAfterDoubleHash, float wrapWidth) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[348])(pOut, text, textEnd, hideTextAfterDoubleHash, wrapWidth); + #else + ((delegate* unmanaged[Cdecl])funcTable[348])((nint)pOut, (nint)text, (nint)textEnd, hideTextAfterDoubleHash, wrapWidth); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)(default), (byte)(0), (float)(-1.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, byte* textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, textEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text) + { + CalcTextSizeNative(pOut, text, (byte*)(default), (byte)(0), (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, bool hideTextAfterDoubleHash) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, byte* textEnd, bool hideTextAfterDoubleHash) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd) + { + CalcTextSizeNative(pOut, text, textEnd, (byte)(0), (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, float wrapWidth) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)(default), (byte)(0), wrapWidth); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, byte* textEnd, float wrapWidth) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, textEnd, (byte)(0), wrapWidth); + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, bool hideTextAfterDoubleHash) + { + CalcTextSizeNative(pOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, float wrapWidth) + { + CalcTextSizeNative(pOut, text, (byte*)(default), (byte)(0), wrapWidth); + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, bool hideTextAfterDoubleHash, float wrapWidth) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + CalcTextSizeNative(pOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash) + { + CalcTextSizeNative(pOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd, float wrapWidth) + { + CalcTextSizeNative(pOut, text, textEnd, (byte)(0), wrapWidth); + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, bool hideTextAfterDoubleHash, float wrapWidth) + { + CalcTextSizeNative(pOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, textEnd, (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, textEnd, (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, byte* textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, float wrapWidth) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, float wrapWidth) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, float wrapWidth) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, float wrapWidth) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.086.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.086.cs new file mode 100644 index 000000000..18254f056 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.086.cs @@ -0,0 +1,5032 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(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; + CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, byte* textEnd) + { + 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; + CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, 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; + } + CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash) + { + 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; + CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, byte* textEnd, bool hideTextAfterDoubleHash) + { + 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; + CalcTextSizeNative(&ret, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd) + { + 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; + } + CalcTextSizeNative(pOut, pStr0, textEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, float wrapWidth) + { + 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; + CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, byte* textEnd, float wrapWidth) + { + 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; + CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, bool hideTextAfterDoubleHash) + { + 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; + } + CalcTextSizeNative(pOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, float wrapWidth) + { + 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; + } + CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + CalcTextSizeNative(&ret, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, bool hideTextAfterDoubleHash) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd, float wrapWidth) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, float wrapWidth) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, string textEnd) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, text, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, string textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd) + { + 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; + } + CalcTextSizeNative(pOut, text, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, string textEnd, float wrapWidth) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, text, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(byte* text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, text, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, text, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, string textEnd) + { + 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; + } + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, pStr1, (byte)(0), (float)(-1.0f)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, string textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, string textEnd) + { + 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; + } + 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; + } + CalcTextSizeNative(pOut, pStr0, pStr1, (byte)(0), (float)(-1.0f)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, string textEnd, float wrapWidth) + { + 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; + } + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, pStr1, (byte)(0), wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, string textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ref byte text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + Vector2 ret; + CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ref byte textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd) + { + 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; + } + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, (byte)(0), (float)(-1.0f)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd, float wrapWidth) + { + 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; + } + 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; + } + CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, (byte)(0), wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + CalcTextSizeNative(pOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + CalcTextSizeNative(pOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd, float wrapWidth) + { + 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; + } + CalcTextSizeNative(pOut, pStr0, textEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + CalcTextSizeNative(pOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + CalcTextSizeNative(pOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + CalcTextSizeNative(pOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd, float wrapWidth) + { + 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; + } + CalcTextSizeNative(pOut, text, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + 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; + } + CalcTextSizeNative(pOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, string textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + 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; + } + CalcTextSizeNative(pOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, string textEnd, float wrapWidth) + { + 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; + } + 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; + } + CalcTextSizeNative(pOut, pStr0, pStr1, (byte)(0), wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ColorConvertU32ToFloat4Native(Vector4* pOut, uint input) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[349])(pOut, input); + #else + ((delegate* unmanaged[Cdecl])funcTable[349])((nint)pOut, input); + #endif + } + + /// + /// To be documented. + /// + public static Vector4 ColorConvertU32ToFloat4(uint input) + { + Vector4 ret; + ColorConvertU32ToFloat4Native(&ret, input); + return ret; + } + + /// + /// To be documented. + /// + public static void ColorConvertU32ToFloat4(Vector4* pOut, uint input) + { + ColorConvertU32ToFloat4Native(pOut, input); + } + + /// + /// To be documented. + /// + public static void ColorConvertU32ToFloat4(ref Vector4 pOut, uint input) + { + fixed (Vector4* ppOut = &pOut) + { + ColorConvertU32ToFloat4Native((Vector4*)ppOut, input); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ColorConvertFloat4ToU32Native(Vector4 input) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[350])(input); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[350])(input); + #endif + } + + /// + /// To be documented. + /// + public static uint ColorConvertFloat4ToU32(Vector4 input) + { + uint ret = ColorConvertFloat4ToU32Native(input); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ColorConvertRGBtoHSVNative(float r, float g, float b, float* outH, float* outS, float* outV) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[351])(r, g, b, outH, outS, outV); + #else + ((delegate* unmanaged[Cdecl])funcTable[351])(r, g, b, (nint)outH, (nint)outS, (nint)outV); + #endif + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, float* outS, float* outV) + { + ColorConvertRGBtoHSVNative(r, g, b, outH, outS, outV); + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, float* outS, float* outV) + { + fixed (float* poutH = &outH) + { + ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, outS, outV); + } + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, ref float outS, float* outV) + { + fixed (float* poutS = &outS) + { + ColorConvertRGBtoHSVNative(r, g, b, outH, (float*)poutS, outV); + } + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, ref float outS, float* outV) + { + fixed (float* poutH = &outH) + { + fixed (float* poutS = &outS) + { + ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, (float*)poutS, outV); + } + } + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, float* outS, ref float outV) + { + fixed (float* poutV = &outV) + { + ColorConvertRGBtoHSVNative(r, g, b, outH, outS, (float*)poutV); + } + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, float* outS, ref float outV) + { + fixed (float* poutH = &outH) + { + fixed (float* poutV = &outV) + { + ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, outS, (float*)poutV); + } + } + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, ref float outS, ref float outV) + { + fixed (float* poutS = &outS) + { + fixed (float* poutV = &outV) + { + ColorConvertRGBtoHSVNative(r, g, b, outH, (float*)poutS, (float*)poutV); + } + } + } + + /// + /// To be documented. + /// + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, ref float outS, ref float outV) + { + fixed (float* poutH = &outH) + { + fixed (float* poutS = &outS) + { + fixed (float* poutV = &outV) + { + ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, (float*)poutS, (float*)poutV); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ColorConvertHSVtoRGBNative(float h, float s, float v, float* outR, float* outG, float* outB) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[352])(h, s, v, outR, outG, outB); + #else + ((delegate* unmanaged[Cdecl])funcTable[352])(h, s, v, (nint)outR, (nint)outG, (nint)outB); + #endif + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, float* outG, float* outB) + { + ColorConvertHSVtoRGBNative(h, s, v, outR, outG, outB); + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, float* outG, float* outB) + { + fixed (float* poutR = &outR) + { + ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, outG, outB); + } + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, ref float outG, float* outB) + { + fixed (float* poutG = &outG) + { + ColorConvertHSVtoRGBNative(h, s, v, outR, (float*)poutG, outB); + } + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, ref float outG, float* outB) + { + fixed (float* poutR = &outR) + { + fixed (float* poutG = &outG) + { + ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, (float*)poutG, outB); + } + } + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, float* outG, ref float outB) + { + fixed (float* poutB = &outB) + { + ColorConvertHSVtoRGBNative(h, s, v, outR, outG, (float*)poutB); + } + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, float* outG, ref float outB) + { + fixed (float* poutR = &outR) + { + fixed (float* poutB = &outB) + { + ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, outG, (float*)poutB); + } + } + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, ref float outG, ref float outB) + { + fixed (float* poutG = &outG) + { + fixed (float* poutB = &outB) + { + ColorConvertHSVtoRGBNative(h, s, v, outR, (float*)poutG, (float*)poutB); + } + } + } + + /// + /// To be documented. + /// + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, ref float outG, ref float outB) + { + fixed (float* poutR = &outR) + { + fixed (float* poutG = &outG) + { + fixed (float* poutB = &outB) + { + ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, (float*)poutG, (float*)poutB); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.087.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.087.cs new file mode 100644 index 000000000..5ffa0c06c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.087.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsKeyDownNative(ImGuiKey key) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[353])(key); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[353])(key); + #endif + } + + /// + /// To be documented. + /// + public static bool IsKeyDown(ImGuiKey key) + { + byte ret = IsKeyDownNative(key); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsKeyPressedNative(ImGuiKey key, byte repeat) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[354])(key, repeat); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[354])(key, repeat); + #endif + } + + /// + /// To be documented. + /// + public static bool IsKeyPressed(ImGuiKey key, bool repeat) + { + byte ret = IsKeyPressedNative(key, repeat ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsKeyPressed(ImGuiKey key) + { + byte ret = IsKeyPressedNative(key, (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsKeyReleasedNative(ImGuiKey key) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[355])(key); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[355])(key); + #endif + } + + /// + /// To be documented. + /// + public static bool IsKeyReleased(ImGuiKey key) + { + byte ret = IsKeyReleasedNative(key); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetKeyPressedAmountNative(ImGuiKey key, float repeatDelay, float rate) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[356])(key, repeatDelay, rate); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[356])(key, repeatDelay, rate); + #endif + } + + /// + /// To be documented. + /// + public static int GetKeyPressedAmount(ImGuiKey key, float repeatDelay, float rate) + { + int ret = GetKeyPressedAmountNative(key, repeatDelay, rate); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetKeyNameNative(ImGuiKey key) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[357])(key); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[357])(key); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetKeyName(ImGuiKey key) + { + byte* ret = GetKeyNameNative(key); + return ret; + } + + /// + /// To be documented. + /// + public static string GetKeyNameS(ImGuiKey key) + { + string ret = Utils.DecodeStringUTF8(GetKeyNameNative(key)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextFrameWantCaptureKeyboardNative(byte wantCaptureKeyboard) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[358])(wantCaptureKeyboard); + #else + ((delegate* unmanaged[Cdecl])funcTable[358])(wantCaptureKeyboard); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextFrameWantCaptureKeyboard(bool wantCaptureKeyboard) + { + SetNextFrameWantCaptureKeyboardNative(wantCaptureKeyboard ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsMouseDownNative(ImGuiMouseButton button) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[359])(button); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[359])(button); + #endif + } + + /// + /// To be documented. + /// + public static bool IsMouseDown(ImGuiMouseButton button) + { + byte ret = IsMouseDownNative(button); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsMouseClickedNative(ImGuiMouseButton button, byte repeat) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[360])(button, repeat); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[360])(button, repeat); + #endif + } + + /// + /// To be documented. + /// + public static bool IsMouseClicked(ImGuiMouseButton button, bool repeat) + { + byte ret = IsMouseClickedNative(button, repeat ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsMouseClicked(ImGuiMouseButton button) + { + byte ret = IsMouseClickedNative(button, (byte)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsMouseReleasedNative(ImGuiMouseButton button) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[361])(button); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[361])(button); + #endif + } + + /// + /// To be documented. + /// + public static bool IsMouseReleased(ImGuiMouseButton button) + { + byte ret = IsMouseReleasedNative(button); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsMouseDoubleClickedNative(ImGuiMouseButton button) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[362])(button); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[362])(button); + #endif + } + + /// + /// To be documented. + /// + public static bool IsMouseDoubleClicked(ImGuiMouseButton button) + { + byte ret = IsMouseDoubleClickedNative(button); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetMouseClickedCountNative(ImGuiMouseButton button) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[363])(button); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[363])(button); + #endif + } + + /// + /// To be documented. + /// + public static int GetMouseClickedCount(ImGuiMouseButton button) + { + int ret = GetMouseClickedCountNative(button); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsMouseHoveringRectNative(Vector2 rMin, Vector2 rMax, byte clip) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[364])(rMin, rMax, clip); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[364])(rMin, rMax, clip); + #endif + } + + /// + /// To be documented. + /// + public static bool IsMouseHoveringRect(Vector2 rMin, Vector2 rMax, bool clip) + { + byte ret = IsMouseHoveringRectNative(rMin, rMax, clip ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsMouseHoveringRect(Vector2 rMin, Vector2 rMax) + { + byte ret = IsMouseHoveringRectNative(rMin, rMax, (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsMousePosValidNative(Vector2* mousePos) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[365])(mousePos); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[365])((nint)mousePos); + #endif + } + + /// + /// To be documented. + /// + public static bool IsMousePosValid(Vector2* mousePos) + { + byte ret = IsMousePosValidNative(mousePos); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsMousePosValid() + { + byte ret = IsMousePosValidNative((Vector2*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsMousePosValid(ref Vector2 mousePos) + { + fixed (Vector2* pmousePos = &mousePos) + { + byte ret = IsMousePosValidNative((Vector2*)pmousePos); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsAnyMouseDownNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[366])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[366])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsAnyMouseDown() + { + byte ret = IsAnyMouseDownNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetMousePosNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[367])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[367])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetMousePos() + { + Vector2 ret; + GetMousePosNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetMousePos(Vector2* pOut) + { + GetMousePosNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetMousePos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetMousePosNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetMousePosOnOpeningCurrentPopupNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[368])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[368])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetMousePosOnOpeningCurrentPopup() + { + Vector2 ret; + GetMousePosOnOpeningCurrentPopupNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetMousePosOnOpeningCurrentPopup(Vector2* pOut) + { + GetMousePosOnOpeningCurrentPopupNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetMousePosOnOpeningCurrentPopup(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetMousePosOnOpeningCurrentPopupNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsMouseDraggingNative(ImGuiMouseButton button, float lockThreshold) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[369])(button, lockThreshold); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[369])(button, lockThreshold); + #endif + } + + /// + /// To be documented. + /// + public static bool IsMouseDragging(ImGuiMouseButton button, float lockThreshold) + { + byte ret = IsMouseDraggingNative(button, lockThreshold); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsMouseDragging(ImGuiMouseButton button) + { + byte ret = IsMouseDraggingNative(button, (float)(-1.0f)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetMouseDragDeltaNative(Vector2* pOut, ImGuiMouseButton button, float lockThreshold) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[370])(pOut, button, lockThreshold); + #else + ((delegate* unmanaged[Cdecl])funcTable[370])((nint)pOut, button, lockThreshold); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetMouseDragDelta() + { + Vector2 ret; + GetMouseDragDeltaNative(&ret, (ImGuiMouseButton)(0), (float)(-1.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 GetMouseDragDelta(ImGuiMouseButton button) + { + Vector2 ret; + GetMouseDragDeltaNative(&ret, button, (float)(-1.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(Vector2* pOut) + { + GetMouseDragDeltaNative(pOut, (ImGuiMouseButton)(0), (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static Vector2 GetMouseDragDelta(float lockThreshold) + { + Vector2 ret; + GetMouseDragDeltaNative(&ret, (ImGuiMouseButton)(0), lockThreshold); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 GetMouseDragDelta(ImGuiMouseButton button, float lockThreshold) + { + Vector2 ret; + GetMouseDragDeltaNative(&ret, button, lockThreshold); + return ret; + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(Vector2* pOut, ImGuiMouseButton button, float lockThreshold) + { + GetMouseDragDeltaNative(pOut, button, lockThreshold); + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(Vector2* pOut, ImGuiMouseButton button) + { + GetMouseDragDeltaNative(pOut, button, (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(Vector2* pOut, float lockThreshold) + { + GetMouseDragDeltaNative(pOut, (ImGuiMouseButton)(0), lockThreshold); + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(ref Vector2 pOut, ImGuiMouseButton button, float lockThreshold) + { + fixed (Vector2* ppOut = &pOut) + { + GetMouseDragDeltaNative((Vector2*)ppOut, button, lockThreshold); + } + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(ref Vector2 pOut, ImGuiMouseButton button) + { + fixed (Vector2* ppOut = &pOut) + { + GetMouseDragDeltaNative((Vector2*)ppOut, button, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetMouseDragDeltaNative((Vector2*)ppOut, (ImGuiMouseButton)(0), (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public static void GetMouseDragDelta(ref Vector2 pOut, float lockThreshold) + { + fixed (Vector2* ppOut = &pOut) + { + GetMouseDragDeltaNative((Vector2*)ppOut, (ImGuiMouseButton)(0), lockThreshold); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetMouseDragDeltaNative(ImGuiMouseButton button) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[371])(button); + #else + ((delegate* unmanaged[Cdecl])funcTable[371])(button); + #endif + } + + /// + /// To be documented. + /// + public static void ResetMouseDragDelta(ImGuiMouseButton button) + { + ResetMouseDragDeltaNative(button); + } + + /// + /// To be documented. + /// + public static void ResetMouseDragDelta() + { + ResetMouseDragDeltaNative((ImGuiMouseButton)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiMouseCursor GetMouseCursorNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[372])(); + #else + return (ImGuiMouseCursor)((delegate* unmanaged[Cdecl])funcTable[372])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiMouseCursor GetMouseCursor() + { + ImGuiMouseCursor ret = GetMouseCursorNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetMouseCursorNative(ImGuiMouseCursor cursorType) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[373])(cursorType); + #else + ((delegate* unmanaged[Cdecl])funcTable[373])(cursorType); + #endif + } + + /// + /// To be documented. + /// + public static void SetMouseCursor(ImGuiMouseCursor cursorType) + { + SetMouseCursorNative(cursorType); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextFrameWantCaptureMouseNative(byte wantCaptureMouse) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[374])(wantCaptureMouse); + #else + ((delegate* unmanaged[Cdecl])funcTable[374])(wantCaptureMouse); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextFrameWantCaptureMouse(bool wantCaptureMouse) + { + SetNextFrameWantCaptureMouseNative(wantCaptureMouse ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetClipboardTextNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[375])(); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[375])(); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetClipboardText() + { + byte* ret = GetClipboardTextNative(); + return ret; + } + + /// + /// To be documented. + /// + public static string GetClipboardTextS() + { + string ret = Utils.DecodeStringUTF8(GetClipboardTextNative()); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetClipboardTextNative(byte* text) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[376])(text); + #else + ((delegate* unmanaged[Cdecl])funcTable[376])((nint)text); + #endif + } + + /// + /// To be documented. + /// + public static void SetClipboardText(byte* text) + { + SetClipboardTextNative(text); + } + + /// + /// To be documented. + /// + public static void SetClipboardText(ref byte text) + { + fixed (byte* ptext = &text) + { + SetClipboardTextNative((byte*)ptext); + } + } + + /// + /// To be documented. + /// + public static void SetClipboardText(ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + SetClipboardTextNative((byte*)ptext); + } + } + + /// + /// To be documented. + /// + public static void SetClipboardText(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; + } + SetClipboardTextNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LoadIniSettingsFromDiskNative(byte* iniFilename) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[377])(iniFilename); + #else + ((delegate* unmanaged[Cdecl])funcTable[377])((nint)iniFilename); + #endif + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromDisk(byte* iniFilename) + { + LoadIniSettingsFromDiskNative(iniFilename); + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromDisk(ref byte iniFilename) + { + fixed (byte* piniFilename = &iniFilename) + { + LoadIniSettingsFromDiskNative((byte*)piniFilename); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromDisk(ReadOnlySpan iniFilename) + { + fixed (byte* piniFilename = iniFilename) + { + LoadIniSettingsFromDiskNative((byte*)piniFilename); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromDisk(string iniFilename) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (iniFilename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(iniFilename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(iniFilename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LoadIniSettingsFromDiskNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LoadIniSettingsFromMemoryNative(byte* iniData, ulong iniSize) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[378])(iniData, iniSize); + #else + ((delegate* unmanaged[Cdecl])funcTable[378])((nint)iniData, iniSize); + #endif + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(byte* iniData, ulong iniSize) + { + LoadIniSettingsFromMemoryNative(iniData, iniSize); + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(byte* iniData) + { + LoadIniSettingsFromMemoryNative(iniData, (ulong)(0)); + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(ref byte iniData, ulong iniSize) + { + fixed (byte* piniData = &iniData) + { + LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(ref byte iniData) + { + fixed (byte* piniData = &iniData) + { + LoadIniSettingsFromMemoryNative((byte*)piniData, (ulong)(0)); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData, ulong iniSize) + { + fixed (byte* piniData = iniData) + { + LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData) + { + fixed (byte* piniData = iniData) + { + LoadIniSettingsFromMemoryNative((byte*)piniData, (ulong)(0)); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(string iniData, ulong iniSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (iniData != null) + { + pStrSize0 = Utils.GetByteCountUTF8(iniData); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LoadIniSettingsFromMemoryNative(pStr0, iniSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(string iniData) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (iniData != null) + { + pStrSize0 = Utils.GetByteCountUTF8(iniData); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LoadIniSettingsFromMemoryNative(pStr0, (ulong)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(byte* iniData, nuint iniSize) + { + LoadIniSettingsFromMemoryNative(iniData, iniSize); + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(ref byte iniData, nuint iniSize) + { + fixed (byte* piniData = &iniData) + { + LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData, nuint iniSize) + { + fixed (byte* piniData = iniData) + { + LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); + } + } + + /// + /// To be documented. + /// + public static void LoadIniSettingsFromMemory(string iniData, nuint iniSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (iniData != null) + { + pStrSize0 = Utils.GetByteCountUTF8(iniData); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LoadIniSettingsFromMemoryNative(pStr0, iniSize); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SaveIniSettingsToDiskNative(byte* iniFilename) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[379])(iniFilename); + #else + ((delegate* unmanaged[Cdecl])funcTable[379])((nint)iniFilename); + #endif + } + + /// + /// To be documented. + /// + public static void SaveIniSettingsToDisk(byte* iniFilename) + { + SaveIniSettingsToDiskNative(iniFilename); + } + + /// + /// To be documented. + /// + public static void SaveIniSettingsToDisk(ref byte iniFilename) + { + fixed (byte* piniFilename = &iniFilename) + { + SaveIniSettingsToDiskNative((byte*)piniFilename); + } + } + + /// + /// To be documented. + /// + public static void SaveIniSettingsToDisk(ReadOnlySpan iniFilename) + { + fixed (byte* piniFilename = iniFilename) + { + SaveIniSettingsToDiskNative((byte*)piniFilename); + } + } + + /// + /// To be documented. + /// + public static void SaveIniSettingsToDisk(string iniFilename) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (iniFilename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(iniFilename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(iniFilename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SaveIniSettingsToDiskNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* SaveIniSettingsToMemoryNative(ulong* outIniSize) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[380])(outIniSize); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[380])((nint)outIniSize); + #endif + } + + /// + /// To be documented. + /// + public static byte* SaveIniSettingsToMemory(ulong* outIniSize) + { + byte* ret = SaveIniSettingsToMemoryNative(outIniSize); + return ret; + } + + /// + /// To be documented. + /// + public static byte* SaveIniSettingsToMemory() + { + byte* ret = SaveIniSettingsToMemoryNative((ulong*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static string SaveIniSettingsToMemoryS() + { + string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative((ulong*)(default))); + return ret; + } + + /// + /// To be documented. + /// + public static string SaveIniSettingsToMemoryS(ulong* outIniSize) + { + string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative(outIniSize)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* SaveIniSettingsToMemory(ref nuint outIniSize) + { + fixed (nuint* poutIniSize = &outIniSize) + { + byte* ret = SaveIniSettingsToMemoryNative((ulong*)poutIniSize); + return ret; + } + } + + /// + /// To be documented. + /// + public static string SaveIniSettingsToMemoryS(ref nuint outIniSize) + { + fixed (nuint* poutIniSize = &outIniSize) + { + string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative((ulong*)poutIniSize)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DebugTextEncodingNative(byte* text) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[381])(text); + #else + ((delegate* unmanaged[Cdecl])funcTable[381])((nint)text); + #endif + } + + /// + /// To be documented. + /// + public static void DebugTextEncoding(byte* text) + { + DebugTextEncodingNative(text); + } + + /// + /// To be documented. + /// + public static void DebugTextEncoding(ref byte text) + { + fixed (byte* ptext = &text) + { + DebugTextEncodingNative((byte*)ptext); + } + } + + /// + /// To be documented. + /// + public static void DebugTextEncoding(ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + DebugTextEncodingNative((byte*)ptext); + } + } + + /// + /// To be documented. + /// + public static void DebugTextEncoding(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; + } + DebugTextEncodingNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DebugCheckVersionAndDataLayoutNative(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[382])(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[382])((nint)versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + #endif + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.088.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.088.cs new file mode 100644 index 000000000..d4970edfe --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.088.cs @@ -0,0 +1,5032 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = &versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + fixed (byte* pversionStr = versionStr) + { + byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (versionStr != null) + { + pStrSize0 = Utils.GetByteCountUTF8(versionStr); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetAllocatorFunctionsNative(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], delegate*, void*, void>)funcTable[383])((delegate*)Utils.GetFunctionPointerForDelegate(allocFunc), (delegate*)Utils.GetFunctionPointerForDelegate(freeFunc), userData); + #else + ((delegate* unmanaged[Cdecl])funcTable[383])((nint)Utils.GetFunctionPointerForDelegate(allocFunc), (nint)Utils.GetFunctionPointerForDelegate(freeFunc), (nint)userData); + #endif + } + + /// + /// To be documented. + /// + public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData) + { + SetAllocatorFunctionsNative(allocFunc, freeFunc, userData); + } + + /// + /// To be documented. + /// + public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc) + { + SetAllocatorFunctionsNative(allocFunc, freeFunc, (void*)(default)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetAllocatorFunctionsNative(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, delegate**, void**, void>)funcTable[384])(pAllocFunc, pFreeFunc, pUserData); + #else + ((delegate* unmanaged[Cdecl])funcTable[384])((nint)pAllocFunc, (nint)pFreeFunc, (nint)pUserData); + #endif + } + + /// + /// To be documented. + /// + public static void GetAllocatorFunctions(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData) + { + GetAllocatorFunctionsNative(pAllocFunc, pFreeFunc, pUserData); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void* MemAllocNative(ulong size) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[385])(size); + #else + return (void*)((delegate* unmanaged[Cdecl])funcTable[385])(size); + #endif + } + + /// + /// To be documented. + /// + public static void* MemAlloc(ulong size) + { + void* ret = MemAllocNative(size); + return ret; + } + + /// + /// To be documented. + /// + public static void* MemAlloc(nuint size) + { + void* ret = MemAllocNative(size); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void MemFreeNative(void* ptr) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[386])(ptr); + #else + ((delegate* unmanaged[Cdecl])funcTable[386])((nint)ptr); + #endif + } + + /// + /// To be documented. + /// + public static void MemFree(void* ptr) + { + MemFreeNative(ptr); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiPlatformIO* GetPlatformIONative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[387])(); + #else + return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl])funcTable[387])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiPlatformIOPtr GetPlatformIO() + { + ImGuiPlatformIOPtr ret = GetPlatformIONative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void UpdatePlatformWindowsNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[388])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[388])(); + #endif + } + + /// + /// To be documented. + /// + public static void UpdatePlatformWindows() + { + UpdatePlatformWindowsNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void RenderPlatformWindowsDefaultNative(void* platformRenderArg, void* rendererRenderArg) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[389])(platformRenderArg, rendererRenderArg); + #else + ((delegate* unmanaged[Cdecl])funcTable[389])((nint)platformRenderArg, (nint)rendererRenderArg); + #endif + } + + /// + /// To be documented. + /// + public static void RenderPlatformWindowsDefault(void* platformRenderArg, void* rendererRenderArg) + { + RenderPlatformWindowsDefaultNative(platformRenderArg, rendererRenderArg); + } + + /// + /// To be documented. + /// + public static void RenderPlatformWindowsDefault(void* platformRenderArg) + { + RenderPlatformWindowsDefaultNative(platformRenderArg, (void*)(default)); + } + + /// + /// To be documented. + /// + public static void RenderPlatformWindowsDefault() + { + RenderPlatformWindowsDefaultNative((void*)(default), (void*)(default)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyPlatformWindowsNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[390])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[390])(); + #endif + } + + /// + /// To be documented. + /// + public static void DestroyPlatformWindows() + { + DestroyPlatformWindowsNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiViewport* FindViewportByIDNative(uint id) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[391])(id); + #else + return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[391])(id); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiViewportPtr FindViewportByID(uint id) + { + ImGuiViewportPtr ret = FindViewportByIDNative(id); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiViewport* FindViewportByPlatformHandleNative(void* platformHandle) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[392])(platformHandle); + #else + return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[392])((nint)platformHandle); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiViewportPtr FindViewportByPlatformHandle(void* platformHandle) + { + ImGuiViewportPtr ret = FindViewportByPlatformHandleNative(platformHandle); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStyle* ImGuiStyleNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[393])(); + #else + return (ImGuiStyle*)((delegate* unmanaged[Cdecl])funcTable[393])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStylePtr ImGuiStyle() + { + ImGuiStylePtr ret = ImGuiStyleNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiStyle* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[394])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[394])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiStylePtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiStyle self) + { + fixed (ImGuiStyle* pself = &self) + { + DestroyNative((ImGuiStyle*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ScaleAllSizesNative(ImGuiStyle* self, float scaleFactor) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[395])(self, scaleFactor); + #else + ((delegate* unmanaged[Cdecl])funcTable[395])((nint)self, scaleFactor); + #endif + } + + /// + /// To be documented. + /// + public static void ScaleAllSizes(ImGuiStylePtr self, float scaleFactor) + { + ScaleAllSizesNative(self, scaleFactor); + } + + /// + /// To be documented. + /// + public static void ScaleAllSizes(ref ImGuiStyle self, float scaleFactor) + { + fixed (ImGuiStyle* pself = &self) + { + ScaleAllSizesNative((ImGuiStyle*)pself, scaleFactor); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddKeyEventNative(ImGuiIO* self, ImGuiKey key, byte down) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[396])(self, key, down); + #else + ((delegate* unmanaged[Cdecl])funcTable[396])((nint)self, key, down); + #endif + } + + /// + /// To be documented. + /// + public static void AddKeyEvent(ImGuiIOPtr self, ImGuiKey key, bool down) + { + AddKeyEventNative(self, key, down ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void AddKeyEvent(ref ImGuiIO self, ImGuiKey key, bool down) + { + fixed (ImGuiIO* pself = &self) + { + AddKeyEventNative((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddKeyAnalogEventNative(ImGuiIO* self, ImGuiKey key, byte down, float v) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[397])(self, key, down, v); + #else + ((delegate* unmanaged[Cdecl])funcTable[397])((nint)self, key, down, v); + #endif + } + + /// + /// To be documented. + /// + public static void AddKeyAnalogEvent(ImGuiIOPtr self, ImGuiKey key, bool down, float v) + { + AddKeyAnalogEventNative(self, key, down ? (byte)1 : (byte)0, v); + } + + /// + /// To be documented. + /// + public static void AddKeyAnalogEvent(ref ImGuiIO self, ImGuiKey key, bool down, float v) + { + fixed (ImGuiIO* pself = &self) + { + AddKeyAnalogEventNative((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0, v); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddMousePosEventNative(ImGuiIO* self, float x, float y) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[398])(self, x, y); + #else + ((delegate* unmanaged[Cdecl])funcTable[398])((nint)self, x, y); + #endif + } + + /// + /// To be documented. + /// + public static void AddMousePosEvent(ImGuiIOPtr self, float x, float y) + { + AddMousePosEventNative(self, x, y); + } + + /// + /// To be documented. + /// + public static void AddMousePosEvent(ref ImGuiIO self, float x, float y) + { + fixed (ImGuiIO* pself = &self) + { + AddMousePosEventNative((ImGuiIO*)pself, x, y); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddMouseButtonEventNative(ImGuiIO* self, int button, byte down) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[399])(self, button, down); + #else + ((delegate* unmanaged[Cdecl])funcTable[399])((nint)self, button, down); + #endif + } + + /// + /// To be documented. + /// + public static void AddMouseButtonEvent(ImGuiIOPtr self, int button, bool down) + { + AddMouseButtonEventNative(self, button, down ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void AddMouseButtonEvent(ref ImGuiIO self, int button, bool down) + { + fixed (ImGuiIO* pself = &self) + { + AddMouseButtonEventNative((ImGuiIO*)pself, button, down ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddMouseWheelEventNative(ImGuiIO* self, float whX, float whY) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[400])(self, whX, whY); + #else + ((delegate* unmanaged[Cdecl])funcTable[400])((nint)self, whX, whY); + #endif + } + + /// + /// To be documented. + /// + public static void AddMouseWheelEvent(ImGuiIOPtr self, float whX, float whY) + { + AddMouseWheelEventNative(self, whX, whY); + } + + /// + /// To be documented. + /// + public static void AddMouseWheelEvent(ref ImGuiIO self, float whX, float whY) + { + fixed (ImGuiIO* pself = &self) + { + AddMouseWheelEventNative((ImGuiIO*)pself, whX, whY); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddMouseViewportEventNative(ImGuiIO* self, uint id) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[401])(self, id); + #else + ((delegate* unmanaged[Cdecl])funcTable[401])((nint)self, id); + #endif + } + + /// + /// To be documented. + /// + public static void AddMouseViewportEvent(ImGuiIOPtr self, uint id) + { + AddMouseViewportEventNative(self, id); + } + + /// + /// To be documented. + /// + public static void AddMouseViewportEvent(ref ImGuiIO self, uint id) + { + fixed (ImGuiIO* pself = &self) + { + AddMouseViewportEventNative((ImGuiIO*)pself, id); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddFocusEventNative(ImGuiIO* self, byte focused) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[402])(self, focused); + #else + ((delegate* unmanaged[Cdecl])funcTable[402])((nint)self, focused); + #endif + } + + /// + /// To be documented. + /// + public static void AddFocusEvent(ImGuiIOPtr self, bool focused) + { + AddFocusEventNative(self, focused ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void AddFocusEvent(ref ImGuiIO self, bool focused) + { + fixed (ImGuiIO* pself = &self) + { + AddFocusEventNative((ImGuiIO*)pself, focused ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddInputCharacterNative(ImGuiIO* self, uint c) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[403])(self, c); + #else + ((delegate* unmanaged[Cdecl])funcTable[403])((nint)self, c); + #endif + } + + /// + /// To be documented. + /// + public static void AddInputCharacter(ImGuiIOPtr self, uint c) + { + AddInputCharacterNative(self, c); + } + + /// + /// To be documented. + /// + public static void AddInputCharacter(ref ImGuiIO self, uint c) + { + fixed (ImGuiIO* pself = &self) + { + AddInputCharacterNative((ImGuiIO*)pself, c); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddInputCharacterUTF16Native(ImGuiIO* self, ushort c) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[404])(self, c); + #else + ((delegate* unmanaged[Cdecl])funcTable[404])((nint)self, c); + #endif + } + + /// + /// To be documented. + /// + public static void AddInputCharacterUTF16(ImGuiIOPtr self, ushort c) + { + AddInputCharacterUTF16Native(self, c); + } + + /// + /// To be documented. + /// + public static void AddInputCharacterUTF16(ref ImGuiIO self, ushort c) + { + fixed (ImGuiIO* pself = &self) + { + AddInputCharacterUTF16Native((ImGuiIO*)pself, c); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddInputCharactersUTF8Native(ImGuiIO* self, byte* str) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[405])(self, str); + #else + ((delegate* unmanaged[Cdecl])funcTable[405])((nint)self, (nint)str); + #endif + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ImGuiIOPtr self, byte* str) + { + AddInputCharactersUTF8Native(self, str); + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ref ImGuiIO self, byte* str) + { + fixed (ImGuiIO* pself = &self) + { + AddInputCharactersUTF8Native((ImGuiIO*)pself, str); + } + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ImGuiIOPtr self, ref byte str) + { + fixed (byte* pstr = &str) + { + AddInputCharactersUTF8Native(self, (byte*)pstr); + } + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ImGuiIOPtr self, ReadOnlySpan str) + { + fixed (byte* pstr = str) + { + AddInputCharactersUTF8Native(self, (byte*)pstr); + } + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ImGuiIOPtr self, string str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AddInputCharactersUTF8Native(self, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ref ImGuiIO self, ref byte str) + { + fixed (ImGuiIO* pself = &self) + { + fixed (byte* pstr = &str) + { + AddInputCharactersUTF8Native((ImGuiIO*)pself, (byte*)pstr); + } + } + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ref ImGuiIO self, ReadOnlySpan str) + { + fixed (ImGuiIO* pself = &self) + { + fixed (byte* pstr = str) + { + AddInputCharactersUTF8Native((ImGuiIO*)pself, (byte*)pstr); + } + } + } + + /// + /// To be documented. + /// + public static void AddInputCharactersUTF8(ref ImGuiIO self, string str) + { + fixed (ImGuiIO* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AddInputCharactersUTF8Native((ImGuiIO*)pself, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetKeyEventNativeDataNative(ImGuiIO* self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[406])(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + #else + ((delegate* unmanaged[Cdecl])funcTable[406])((nint)self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + #endif + } + + /// + /// To be documented. + /// + public static void SetKeyEventNativeData(ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + SetKeyEventNativeDataNative(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + + /// + /// To be documented. + /// + public static void SetKeyEventNativeData(ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode) + { + SetKeyEventNativeDataNative(self, key, nativeKeycode, nativeScancode, (int)(-1)); + } + + /// + /// To be documented. + /// + public static void SetKeyEventNativeData(ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + fixed (ImGuiIO* pself = &self) + { + SetKeyEventNativeDataNative((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + } + + /// + /// To be documented. + /// + public static void SetKeyEventNativeData(ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode) + { + fixed (ImGuiIO* pself = &self) + { + SetKeyEventNativeDataNative((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, (int)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetAppAcceptingEventsNative(ImGuiIO* self, byte acceptingEvents) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[407])(self, acceptingEvents); + #else + ((delegate* unmanaged[Cdecl])funcTable[407])((nint)self, acceptingEvents); + #endif + } + + /// + /// To be documented. + /// + public static void SetAppAcceptingEvents(ImGuiIOPtr self, bool acceptingEvents) + { + SetAppAcceptingEventsNative(self, acceptingEvents ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void SetAppAcceptingEvents(ref ImGuiIO self, bool acceptingEvents) + { + fixed (ImGuiIO* pself = &self) + { + SetAppAcceptingEventsNative((ImGuiIO*)pself, acceptingEvents ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearInputCharactersNative(ImGuiIO* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[408])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[408])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearInputCharacters(ImGuiIOPtr self) + { + ClearInputCharactersNative(self); + } + + /// + /// To be documented. + /// + public static void ClearInputCharacters(ref ImGuiIO self) + { + fixed (ImGuiIO* pself = &self) + { + ClearInputCharactersNative((ImGuiIO*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearInputKeysNative(ImGuiIO* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[409])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[409])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearInputKeys(ImGuiIOPtr self) + { + ClearInputKeysNative(self); + } + + /// + /// To be documented. + /// + public static void ClearInputKeys(ref ImGuiIO self) + { + fixed (ImGuiIO* pself = &self) + { + ClearInputKeysNative((ImGuiIO*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiIO* ImGuiIONative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[410])(); + #else + return (ImGuiIO*)((delegate* unmanaged[Cdecl])funcTable[410])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiIOPtr ImGuiIO() + { + ImGuiIOPtr ret = ImGuiIONative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiIO* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[411])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[411])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiIOPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiIO self) + { + fixed (ImGuiIO* pself = &self) + { + DestroyNative((ImGuiIO*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiInputTextCallbackData* ImGuiInputTextCallbackDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[412])(); + #else + return (ImGuiInputTextCallbackData*)((delegate* unmanaged[Cdecl])funcTable[412])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiInputTextCallbackDataPtr ImGuiInputTextCallbackData() + { + ImGuiInputTextCallbackDataPtr ret = ImGuiInputTextCallbackDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiInputTextCallbackData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[413])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[413])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiInputTextCallbackDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + DestroyNative((ImGuiInputTextCallbackData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DeleteCharsNative(ImGuiInputTextCallbackData* self, int pos, int bytesCount) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[414])(self, pos, bytesCount); + #else + ((delegate* unmanaged[Cdecl])funcTable[414])((nint)self, pos, bytesCount); + #endif + } + + /// + /// To be documented. + /// + public static void DeleteChars(ImGuiInputTextCallbackDataPtr self, int pos, int bytesCount) + { + DeleteCharsNative(self, pos, bytesCount); + } + + /// + /// To be documented. + /// + public static void DeleteChars(ref ImGuiInputTextCallbackData self, int pos, int bytesCount) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + DeleteCharsNative((ImGuiInputTextCallbackData*)pself, pos, bytesCount); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void InsertCharsNative(ImGuiInputTextCallbackData* self, int pos, byte* text, byte* textEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[415])(self, pos, text, textEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[415])((nint)self, pos, (nint)text, (nint)textEnd); + #endif + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, byte* textEnd) + { + InsertCharsNative(self, pos, text, textEnd); + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text) + { + InsertCharsNative(self, pos, text, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, textEnd); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + InsertCharsNative(self, pos, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text) + { + fixed (byte* ptext = &text) + { + InsertCharsNative(self, pos, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + InsertCharsNative(self, pos, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + InsertCharsNative(self, pos, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, byte* textEnd) + { + 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; + } + InsertCharsNative(self, pos, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, 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; + } + InsertCharsNative(self, pos, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = &text) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = &text) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = text) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = text) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + 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; + } + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + 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; + } + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative(self, pos, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative(self, pos, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, string textEnd) + { + 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; + } + InsertCharsNative(self, pos, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + 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; + } + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, string textEnd) + { + 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; + } + 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; + } + InsertCharsNative(self, pos, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + InsertCharsNative(self, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + InsertCharsNative(self, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative(self, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative(self, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + 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; + } + 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; + } + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = &text) + { + 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; + } + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + fixed (byte* ptext = text) + { + 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; + } + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SelectAllNative(ImGuiInputTextCallbackData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[416])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[416])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void SelectAll(ImGuiInputTextCallbackDataPtr self) + { + SelectAllNative(self); + } + + /// + /// To be documented. + /// + public static void SelectAll(ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + SelectAllNative((ImGuiInputTextCallbackData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearSelectionNative(ImGuiInputTextCallbackData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[417])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[417])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearSelection(ImGuiInputTextCallbackDataPtr self) + { + ClearSelectionNative(self); + } + + /// + /// To be documented. + /// + public static void ClearSelection(ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + ClearSelectionNative((ImGuiInputTextCallbackData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte HasSelectionNative(ImGuiInputTextCallbackData* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[418])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[418])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool HasSelection(ImGuiInputTextCallbackDataPtr self) + { + byte ret = HasSelectionNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool HasSelection(ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + byte ret = HasSelectionNative((ImGuiInputTextCallbackData*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiWindowClass* ImGuiWindowClassNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[419])(); + #else + return (ImGuiWindowClass*)((delegate* unmanaged[Cdecl])funcTable[419])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiWindowClassPtr ImGuiWindowClass() + { + ImGuiWindowClassPtr ret = ImGuiWindowClassNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiWindowClass* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[420])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[420])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiWindowClassPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiWindowClass self) + { + fixed (ImGuiWindowClass* pself = &self) + { + DestroyNative((ImGuiWindowClass*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiPayload* ImGuiPayloadNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[421])(); + #else + return (ImGuiPayload*)((delegate* unmanaged[Cdecl])funcTable[421])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiPayloadPtr ImGuiPayload() + { + ImGuiPayloadPtr ret = ImGuiPayloadNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiPayload* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[422])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[422])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiPayloadPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + DestroyNative((ImGuiPayload*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearNative(ImGuiPayload* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[423])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[423])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Clear(ImGuiPayloadPtr self) + { + ClearNative(self); + } + + /// + /// To be documented. + /// + public static void Clear(ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + ClearNative((ImGuiPayload*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsDataTypeNative(ImGuiPayload* self, byte* type) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[424])(self, type); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[424])((nint)self, (nint)type); + #endif + } + + /// + /// To be documented. + /// + public static bool IsDataType(ImGuiPayloadPtr self, byte* type) + { + byte ret = IsDataTypeNative(self, type); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsDataType(ref ImGuiPayload self, byte* type) + { + fixed (ImGuiPayload* pself = &self) + { + byte ret = IsDataTypeNative((ImGuiPayload*)pself, type); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsDataType(ImGuiPayloadPtr self, ref byte type) + { + fixed (byte* ptype = &type) + { + byte ret = IsDataTypeNative(self, (byte*)ptype); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsDataType(ImGuiPayloadPtr self, ReadOnlySpan type) + { + fixed (byte* ptype = type) + { + byte ret = IsDataTypeNative(self, (byte*)ptype); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsDataType(ImGuiPayloadPtr self, string type) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = IsDataTypeNative(self, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsDataType(ref ImGuiPayload self, ref byte type) + { + fixed (ImGuiPayload* pself = &self) + { + fixed (byte* ptype = &type) + { + byte ret = IsDataTypeNative((ImGuiPayload*)pself, (byte*)ptype); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool IsDataType(ref ImGuiPayload self, ReadOnlySpan type) + { + fixed (ImGuiPayload* pself = &self) + { + fixed (byte* ptype = type) + { + byte ret = IsDataTypeNative((ImGuiPayload*)pself, (byte*)ptype); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool IsDataType(ref ImGuiPayload self, string type) + { + fixed (ImGuiPayload* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = IsDataTypeNative((ImGuiPayload*)pself, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsPreviewNative(ImGuiPayload* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[425])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[425])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsPreview(ImGuiPayloadPtr self) + { + byte ret = IsPreviewNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsPreview(ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + byte ret = IsPreviewNative((ImGuiPayload*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsDeliveryNative(ImGuiPayload* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[426])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[426])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsDelivery(ImGuiPayloadPtr self) + { + byte ret = IsDeliveryNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsDelivery(ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + byte ret = IsDeliveryNative((ImGuiPayload*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTableColumnSortSpecs* ImGuiTableColumnSortSpecsNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[427])(); + #else + return (ImGuiTableColumnSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[427])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTableColumnSortSpecsPtr ImGuiTableColumnSortSpecs() + { + ImGuiTableColumnSortSpecsPtr ret = ImGuiTableColumnSortSpecsNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTableColumnSortSpecs* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[428])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[428])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTableColumnSortSpecsPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTableColumnSortSpecs self) + { + fixed (ImGuiTableColumnSortSpecs* pself = &self) + { + DestroyNative((ImGuiTableColumnSortSpecs*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTableSortSpecs* ImGuiTableSortSpecsNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[429])(); + #else + return (ImGuiTableSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[429])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTableSortSpecsPtr ImGuiTableSortSpecs() + { + ImGuiTableSortSpecsPtr ret = ImGuiTableSortSpecsNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTableSortSpecs* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[430])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[430])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTableSortSpecsPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTableSortSpecs self) + { + fixed (ImGuiTableSortSpecs* pself = &self) + { + DestroyNative((ImGuiTableSortSpecs*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiOnceUponAFrame* ImGuiOnceUponAFrameNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[431])(); + #else + return (ImGuiOnceUponAFrame*)((delegate* unmanaged[Cdecl])funcTable[431])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiOnceUponAFramePtr ImGuiOnceUponAFrame() + { + ImGuiOnceUponAFramePtr ret = ImGuiOnceUponAFrameNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiOnceUponAFrame* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[432])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[432])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiOnceUponAFramePtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiOnceUponAFrame self) + { + fixed (ImGuiOnceUponAFrame* pself = &self) + { + DestroyNative((ImGuiOnceUponAFrame*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTextFilter* ImGuiTextFilterNative(byte* defaultFilter) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[433])(defaultFilter); + #else + return (ImGuiTextFilter*)((delegate* unmanaged[Cdecl])funcTable[433])((nint)defaultFilter); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTextFilterPtr ImGuiTextFilter(byte* defaultFilter) + { + ImGuiTextFilterPtr ret = ImGuiTextFilterNative(defaultFilter); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiTextFilterPtr ImGuiTextFilter() + { + ImGuiTextFilterPtr ret = ImGuiTextFilter((string)""); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiTextFilterPtr ImGuiTextFilter(ref byte defaultFilter) + { + fixed (byte* pdefaultFilter = &defaultFilter) + { + ImGuiTextFilterPtr ret = ImGuiTextFilterNative((byte*)pdefaultFilter); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextFilterPtr ImGuiTextFilter(ReadOnlySpan defaultFilter) + { + fixed (byte* pdefaultFilter = defaultFilter) + { + ImGuiTextFilterPtr ret = ImGuiTextFilterNative((byte*)pdefaultFilter); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextFilterPtr ImGuiTextFilter(string defaultFilter) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (defaultFilter != null) + { + pStrSize0 = Utils.GetByteCountUTF8(defaultFilter); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(defaultFilter, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGuiTextFilterPtr ret = ImGuiTextFilterNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTextFilter* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[434])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[434])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTextFilterPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + DestroyNative((ImGuiTextFilter*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DrawNative(ImGuiTextFilter* self, byte* label, float width) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[435])(self, label, width); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[435])((nint)self, (nint)label, width); + #endif + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, byte* label, float width) + { + byte ret = DrawNative(self, label, width); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, byte* label) + { + byte ret = DrawNative(self, label, (float)(0.0f)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self) + { + bool ret = Draw(self, (string)"Filter(inc,-exc)", (float)(0.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, float width) + { + bool ret = Draw(self, (string)"Filter(inc,-exc)", width); + return ret; + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, byte* label, float width) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte ret = DrawNative((ImGuiTextFilter*)pself, label, width); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, byte* label) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte ret = DrawNative((ImGuiTextFilter*)pself, label, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + bool ret = Draw((ImGuiTextFilter*)pself, (string)"Filter(inc,-exc)", (float)(0.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, float width) + { + fixed (ImGuiTextFilter* pself = &self) + { + bool ret = Draw((ImGuiTextFilter*)pself, (string)"Filter(inc,-exc)", width); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, ref byte label, float width) + { + fixed (byte* plabel = &label) + { + byte ret = DrawNative(self, (byte*)plabel, width); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = DrawNative(self, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, ReadOnlySpan label, float width) + { + fixed (byte* plabel = label) + { + byte ret = DrawNative(self, (byte*)plabel, width); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = DrawNative(self, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, string label, float width) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DrawNative(self, pStr0, width); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Draw(ImGuiTextFilterPtr self, string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DrawNative(self, pStr0, (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, ref byte label, float width) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* plabel = &label) + { + byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, width); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, ref byte label) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* plabel = &label) + { + byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, ReadOnlySpan label, float width) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* plabel = label) + { + byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, width); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, ReadOnlySpan label) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* plabel = label) + { + byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, string label, float width) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DrawNative((ImGuiTextFilter*)pself, pStr0, width); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Draw(ref ImGuiTextFilter self, string label) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = DrawNative((ImGuiTextFilter*)pself, pStr0, (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte PassFilterNative(ImGuiTextFilter* self, byte* text, byte* textEnd) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[436])(self, text, textEnd); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[436])((nint)self, (nint)text, (nint)textEnd); + #endif + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, byte* textEnd) + { + byte ret = PassFilterNative(self, text, textEnd); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, byte* text) + { + byte ret = PassFilterNative(self, text, (byte*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, byte* text, byte* textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, textEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, byte* text) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + byte ret = PassFilterNative(self, (byte*)ptext, textEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text) + { + fixed (byte* ptext = &text) + { + byte ret = PassFilterNative(self, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + byte ret = PassFilterNative(self, (byte*)ptext, textEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + byte ret = PassFilterNative(self, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, string text, byte* textEnd) + { + 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; + } + byte ret = PassFilterNative(self, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, 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; + } + byte ret = PassFilterNative(self, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, byte* textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = &text) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, textEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ref byte text) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = &text) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, byte* textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = text) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, textEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = text) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, string text, byte* textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + 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; + } + byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, string text) + { + fixed (ImGuiTextFilter* pself = &self) + { + 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; + } + byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative(self, text, (byte*)ptextEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative(self, text, (byte*)ptextEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, string textEnd) + { + 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; + } + byte ret = PassFilterNative(self, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, byte* text, ref byte textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, byte* text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, byte* text, string textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + 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; + } + byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, string text, string textEnd) + { + 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; + } + 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; + } + byte ret = PassFilterNative(self, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + byte ret = PassFilterNative(self, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + byte ret = PassFilterNative(self, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative(self, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ImGuiTextFilterPtr self, string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative(self, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, ref byte textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, string text, string textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + 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; + } + 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; + } + byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, string textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = &text) + { + 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; + } + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, ref byte textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, string textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + fixed (byte* ptext = text) + { + 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; + } + byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, string text, ref byte textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool PassFilter(ref ImGuiTextFilter self, string text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BuildNative(ImGuiTextFilter* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[437])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[437])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Build(ImGuiTextFilterPtr self) + { + BuildNative(self); + } + + /// + /// To be documented. + /// + public static void Build(ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + BuildNative((ImGuiTextFilter*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearNative(ImGuiTextFilter* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[438])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[438])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Clear(ImGuiTextFilterPtr self) + { + ClearNative(self); + } + + /// + /// To be documented. + /// + public static void Clear(ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + ClearNative((ImGuiTextFilter*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsActiveNative(ImGuiTextFilter* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[439])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[439])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsActive(ImGuiTextFilterPtr self) + { + byte ret = IsActiveNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsActive(ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte ret = IsActiveNative((ImGuiTextFilter*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTextRange* ImGuiTextRangeNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[440])(); + #else + return (ImGuiTextRange*)((delegate* unmanaged[Cdecl])funcTable[440])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange() + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTextRange* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[441])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[441])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTextRangePtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTextRange self) + { + fixed (ImGuiTextRange* pself = &self) + { + DestroyNative((ImGuiTextRange*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTextRange* ImGuiTextRangeNative(byte* b, byte* e) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[442])(b, e); + #else + return (ImGuiTextRange*)((delegate* unmanaged[Cdecl])funcTable[442])((nint)b, (nint)e); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(byte* b, byte* e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, e); + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, byte* e) + { + fixed (byte* pb = &b) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, e); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, byte* e) + { + fixed (byte* pb = b) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, e); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(string b, byte* e) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (b != null) + { + pStrSize0 = Utils.GetByteCountUTF8(b); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, e); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(byte* b, ref byte e) + { + fixed (byte* pe = &e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, (byte*)pe); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(byte* b, ReadOnlySpan e) + { + fixed (byte* pe = e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, (byte*)pe); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(byte* b, string e) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (e != null) + { + pStrSize0 = Utils.GetByteCountUTF8(e); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, ref byte e) + { + fixed (byte* pb = &b) + { + fixed (byte* pe = &e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, ReadOnlySpan e) + { + fixed (byte* pb = b) + { + fixed (byte* pe = e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(string b, string e) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (b != null) + { + pStrSize0 = Utils.GetByteCountUTF8(b); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (e != null) + { + pStrSize1 = Utils.GetByteCountUTF8(e); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(e, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, ReadOnlySpan e) + { + fixed (byte* pb = &b) + { + fixed (byte* pe = e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, string e) + { + fixed (byte* pb = &b) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (e != null) + { + pStrSize0 = Utils.GetByteCountUTF8(e); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, ref byte e) + { + fixed (byte* pb = b) + { + fixed (byte* pe = &e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, string e) + { + fixed (byte* pb = b) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (e != null) + { + pStrSize0 = Utils.GetByteCountUTF8(e); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(string b, ref byte e) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (b != null) + { + pStrSize0 = Utils.GetByteCountUTF8(b); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pe = &e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, (byte*)pe); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImGuiTextRangePtr ImGuiTextRange(string b, ReadOnlySpan e) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (b != null) + { + pStrSize0 = Utils.GetByteCountUTF8(b); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pe = e) + { + ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, (byte*)pe); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte emptyNative(ImGuiTextRange* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[443])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[443])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool empty(ImGuiTextRangePtr self) + { + byte ret = emptyNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool empty(ref ImGuiTextRange self) + { + fixed (ImGuiTextRange* pself = &self) + { + byte ret = emptyNative((ImGuiTextRange*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void splitNative(ImGuiTextRange* self, byte separator, ImVector* output) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, void>)funcTable[444])(self, separator, output); + #else + ((delegate* unmanaged[Cdecl])funcTable[444])((nint)self, separator, (nint)output); + #endif + } + + /// + /// To be documented. + /// + public static void split(ImGuiTextRangePtr self, byte separator, ImVector* output) + { + splitNative(self, separator, output); + } + + /// + /// To be documented. + /// + public static void split(ref ImGuiTextRange self, byte separator, ImVector* output) + { + fixed (ImGuiTextRange* pself = &self) + { + splitNative((ImGuiTextRange*)pself, separator, output); + } + } + + /// + /// To be documented. + /// + public static void split(ImGuiTextRangePtr self, byte separator, ref ImVector output) + { + fixed (ImVector* poutput = &output) + { + splitNative(self, separator, (ImVector*)poutput); + } + } + + /// + /// To be documented. + /// + public static void split(ref ImGuiTextRange self, byte separator, ref ImVector output) + { + fixed (ImGuiTextRange* pself = &self) + { + fixed (ImVector* poutput = &output) + { + splitNative((ImGuiTextRange*)pself, separator, (ImVector*)poutput); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiTextBuffer* ImGuiTextBufferNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[445])(); + #else + return (ImGuiTextBuffer*)((delegate* unmanaged[Cdecl])funcTable[445])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiTextBufferPtr ImGuiTextBuffer() + { + ImGuiTextBufferPtr ret = ImGuiTextBufferNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTextBuffer* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[446])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[446])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTextBufferPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + DestroyNative((ImGuiTextBuffer*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* beginNative(ImGuiTextBuffer* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[447])(self); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[447])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static byte* begin(ImGuiTextBufferPtr self) + { + byte* ret = beginNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static string beginS(ImGuiTextBufferPtr self) + { + string ret = Utils.DecodeStringUTF8(beginNative(self)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* begin(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* ret = beginNative((ImGuiTextBuffer*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static string beginS(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + string ret = Utils.DecodeStringUTF8(beginNative((ImGuiTextBuffer*)pself)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* endNative(ImGuiTextBuffer* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[448])(self); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[448])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static byte* end(ImGuiTextBufferPtr self) + { + byte* ret = endNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static string endS(ImGuiTextBufferPtr self) + { + string ret = Utils.DecodeStringUTF8(endNative(self)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* end(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* ret = endNative((ImGuiTextBuffer*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static string endS(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + string ret = Utils.DecodeStringUTF8(endNative((ImGuiTextBuffer*)pself)); + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.089.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.089.cs new file mode 100644 index 000000000..e89e6eab3 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.089.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int sizeNative(ImGuiTextBuffer* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[449])(self); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[449])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static int size(ImGuiTextBufferPtr self) + { + int ret = sizeNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static int size(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + int ret = sizeNative((ImGuiTextBuffer*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte emptyNative(ImGuiTextBuffer* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[450])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[450])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool empty(ImGuiTextBufferPtr self) + { + byte ret = emptyNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool empty(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte ret = emptyNative((ImGuiTextBuffer*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void clearNative(ImGuiTextBuffer* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[451])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[451])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void clear(ImGuiTextBufferPtr self) + { + clearNative(self); + } + + /// + /// To be documented. + /// + public static void clear(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + clearNative((ImGuiTextBuffer*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void reserveNative(ImGuiTextBuffer* self, int capacity) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[452])(self, capacity); + #else + ((delegate* unmanaged[Cdecl])funcTable[452])((nint)self, capacity); + #endif + } + + /// + /// To be documented. + /// + public static void reserve(ImGuiTextBufferPtr self, int capacity) + { + reserveNative(self, capacity); + } + + /// + /// To be documented. + /// + public static void reserve(ref ImGuiTextBuffer self, int capacity) + { + fixed (ImGuiTextBuffer* pself = &self) + { + reserveNative((ImGuiTextBuffer*)pself, capacity); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* c_strNative(ImGuiTextBuffer* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[453])(self); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[453])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static byte* c_str(ImGuiTextBufferPtr self) + { + byte* ret = c_strNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static string c_strS(ImGuiTextBufferPtr self) + { + string ret = Utils.DecodeStringUTF8(c_strNative(self)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* c_str(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* ret = c_strNative((ImGuiTextBuffer*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static string c_strS(ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + string ret = Utils.DecodeStringUTF8(c_strNative((ImGuiTextBuffer*)pself)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void appendNative(ImGuiTextBuffer* self, byte* str, byte* strEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[454])(self, str, strEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[454])((nint)self, (nint)str, (nint)strEnd); + #endif + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, byte* str, byte* strEnd) + { + appendNative(self, str, strEnd); + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, byte* str) + { + appendNative(self, str, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, byte* str, byte* strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + appendNative((ImGuiTextBuffer*)pself, str, strEnd); + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, byte* str) + { + fixed (ImGuiTextBuffer* pself = &self) + { + appendNative((ImGuiTextBuffer*)pself, str, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ref byte str, byte* strEnd) + { + fixed (byte* pstr = &str) + { + appendNative(self, (byte*)pstr, strEnd); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ref byte str) + { + fixed (byte* pstr = &str) + { + appendNative(self, (byte*)pstr, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, byte* strEnd) + { + fixed (byte* pstr = str) + { + appendNative(self, (byte*)pstr, strEnd); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str) + { + fixed (byte* pstr = str) + { + appendNative(self, (byte*)pstr, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, string str, byte* strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative(self, pStr0, strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, string str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative(self, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ref byte str, byte* strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = &str) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, strEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ref byte str) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = &str) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, byte* strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = str) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, strEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = str) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, string str, byte* strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative((ImGuiTextBuffer*)pself, pStr0, strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, string str) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, byte* str, ref byte strEnd) + { + fixed (byte* pstrEnd = &strEnd) + { + appendNative(self, str, (byte*)pstrEnd); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, byte* str, ReadOnlySpan strEnd) + { + fixed (byte* pstrEnd = strEnd) + { + appendNative(self, str, (byte*)pstrEnd); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, byte* str, string strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative(self, str, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, byte* str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstrEnd = &strEnd) + { + appendNative((ImGuiTextBuffer*)pself, str, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, byte* str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstrEnd = strEnd) + { + appendNative((ImGuiTextBuffer*)pself, str, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, byte* str, string strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative((ImGuiTextBuffer*)pself, str, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ref byte str, ref byte strEnd) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = &strEnd) + { + appendNative(self, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, ReadOnlySpan strEnd) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = strEnd) + { + appendNative(self, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, string str, string strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (strEnd != null) + { + pStrSize1 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + appendNative(self, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ref byte str, ReadOnlySpan strEnd) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = strEnd) + { + appendNative(self, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ref byte str, string strEnd) + { + fixed (byte* pstr = &str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative(self, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, ref byte strEnd) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = &strEnd) + { + appendNative(self, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, string strEnd) + { + fixed (byte* pstr = str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative(self, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, string str, ref byte strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = &strEnd) + { + appendNative(self, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ImGuiTextBufferPtr self, string str, ReadOnlySpan strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = strEnd) + { + appendNative(self, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ref byte str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = &strEnd) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = strEnd) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, string str, string strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (strEnd != null) + { + pStrSize1 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + appendNative((ImGuiTextBuffer*)pself, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ref byte str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = strEnd) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ref byte str, string strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = &str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = &strEnd) + { + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, string strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pstr = str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, string str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = &strEnd) + { + appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void append(ref ImGuiTextBuffer self, string str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = strEnd) + { + appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void appendfvNative(ImGuiTextBuffer* self, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[455])(self, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[455])((nint)self, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void appendfv(ImGuiTextBufferPtr self, byte* fmt, nuint args) + { + appendfvNative(self, fmt, args); + } + + /// + /// To be documented. + /// + public static void appendfv(ref ImGuiTextBuffer self, byte* fmt, nuint args) + { + fixed (ImGuiTextBuffer* pself = &self) + { + appendfvNative((ImGuiTextBuffer*)pself, fmt, args); + } + } + + /// + /// To be documented. + /// + public static void appendfv(ImGuiTextBufferPtr self, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + appendfvNative(self, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void appendfv(ImGuiTextBufferPtr self, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + appendfvNative(self, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void appendfv(ImGuiTextBufferPtr self, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendfvNative(self, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void appendfv(ref ImGuiTextBuffer self, ref byte fmt, nuint args) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pfmt = &fmt) + { + appendfvNative((ImGuiTextBuffer*)pself, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void appendfv(ref ImGuiTextBuffer self, ReadOnlySpan fmt, nuint args) + { + fixed (ImGuiTextBuffer* pself = &self) + { + fixed (byte* pfmt = fmt) + { + appendfvNative((ImGuiTextBuffer*)pself, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void appendfv(ref ImGuiTextBuffer self, string fmt, nuint args) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendfvNative((ImGuiTextBuffer*)pself, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, int valI) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[456])(key, valI); + #else + return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[456])(key, valI); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, int valI) + { + ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, valI); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiStoragePair* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[457])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[457])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiStoragePairPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiStoragePair self) + { + fixed (ImGuiStoragePair* pself = &self) + { + DestroyNative((ImGuiStoragePair*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, float valF) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[458])(key, valF); + #else + return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[458])(key, valF); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, float valF) + { + ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, valF); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, void* valP) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[459])(key, valP); + #else + return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[459])(key, (nint)valP); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, void* valP) + { + ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, valP); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearNative(ImGuiStorage* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[460])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[460])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Clear(ImGuiStoragePtr self) + { + ClearNative(self); + } + + /// + /// To be documented. + /// + public static void Clear(ref ImGuiStorage self) + { + fixed (ImGuiStorage* pself = &self) + { + ClearNative((ImGuiStorage*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetIntNative(ImGuiStorage* self, uint key, int defaultVal) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[461])(self, key, defaultVal); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[461])((nint)self, key, defaultVal); + #endif + } + + /// + /// To be documented. + /// + public static int GetInt(ImGuiStoragePtr self, uint key, int defaultVal) + { + int ret = GetIntNative(self, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public static int GetInt(ImGuiStoragePtr self, uint key) + { + int ret = GetIntNative(self, key, (int)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static int GetInt(ref ImGuiStorage self, uint key, int defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + int ret = GetIntNative((ImGuiStorage*)pself, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public static int GetInt(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + int ret = GetIntNative((ImGuiStorage*)pself, key, (int)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetIntNative(ImGuiStorage* self, uint key, int val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[462])(self, key, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[462])((nint)self, key, val); + #endif + } + + /// + /// To be documented. + /// + public static void SetInt(ImGuiStoragePtr self, uint key, int val) + { + SetIntNative(self, key, val); + } + + /// + /// To be documented. + /// + public static void SetInt(ref ImGuiStorage self, uint key, int val) + { + fixed (ImGuiStorage* pself = &self) + { + SetIntNative((ImGuiStorage*)pself, key, val); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte GetBoolNative(ImGuiStorage* self, uint key, byte defaultVal) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[463])(self, key, defaultVal); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[463])((nint)self, key, defaultVal); + #endif + } + + /// + /// To be documented. + /// + public static bool GetBool(ImGuiStoragePtr self, uint key, bool defaultVal) + { + byte ret = GetBoolNative(self, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool GetBool(ImGuiStoragePtr self, uint key) + { + byte ret = GetBoolNative(self, key, (byte)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool GetBool(ref ImGuiStorage self, uint key, bool defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + byte ret = GetBoolNative((ImGuiStorage*)pself, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetBool(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + byte ret = GetBoolNative((ImGuiStorage*)pself, key, (byte)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetBoolNative(ImGuiStorage* self, uint key, byte val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[464])(self, key, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[464])((nint)self, key, val); + #endif + } + + /// + /// To be documented. + /// + public static void SetBool(ImGuiStoragePtr self, uint key, bool val) + { + SetBoolNative(self, key, val ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void SetBool(ref ImGuiStorage self, uint key, bool val) + { + fixed (ImGuiStorage* pself = &self) + { + SetBoolNative((ImGuiStorage*)pself, key, val ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetFloatNative(ImGuiStorage* self, uint key, float defaultVal) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[465])(self, key, defaultVal); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[465])((nint)self, key, defaultVal); + #endif + } + + /// + /// To be documented. + /// + public static float GetFloat(ImGuiStoragePtr self, uint key, float defaultVal) + { + float ret = GetFloatNative(self, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public static float GetFloat(ImGuiStoragePtr self, uint key) + { + float ret = GetFloatNative(self, key, (float)(0.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static float GetFloat(ref ImGuiStorage self, uint key, float defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + float ret = GetFloatNative((ImGuiStorage*)pself, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public static float GetFloat(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + float ret = GetFloatNative((ImGuiStorage*)pself, key, (float)(0.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetFloatNative(ImGuiStorage* self, uint key, float val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[466])(self, key, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[466])((nint)self, key, val); + #endif + } + + /// + /// To be documented. + /// + public static void SetFloat(ImGuiStoragePtr self, uint key, float val) + { + SetFloatNative(self, key, val); + } + + /// + /// To be documented. + /// + public static void SetFloat(ref ImGuiStorage self, uint key, float val) + { + fixed (ImGuiStorage* pself = &self) + { + SetFloatNative((ImGuiStorage*)pself, key, val); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void* GetVoidPtrNative(ImGuiStorage* self, uint key) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[467])(self, key); + #else + return (void*)((delegate* unmanaged[Cdecl])funcTable[467])((nint)self, key); + #endif + } + + /// + /// To be documented. + /// + public static void* GetVoidPtr(ImGuiStoragePtr self, uint key) + { + void* ret = GetVoidPtrNative(self, key); + return ret; + } + + /// + /// To be documented. + /// + public static void* GetVoidPtr(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + void* ret = GetVoidPtrNative((ImGuiStorage*)pself, key); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetVoidPtrNative(ImGuiStorage* self, uint key, void* val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[468])(self, key, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[468])((nint)self, key, (nint)val); + #endif + } + + /// + /// To be documented. + /// + public static void SetVoidPtr(ImGuiStoragePtr self, uint key, void* val) + { + SetVoidPtrNative(self, key, val); + } + + /// + /// To be documented. + /// + public static void SetVoidPtr(ref ImGuiStorage self, uint key, void* val) + { + fixed (ImGuiStorage* pself = &self) + { + SetVoidPtrNative((ImGuiStorage*)pself, key, val); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int* GetIntRefNative(ImGuiStorage* self, uint key, int defaultVal) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[469])(self, key, defaultVal); + #else + return (int*)((delegate* unmanaged[Cdecl])funcTable[469])((nint)self, key, defaultVal); + #endif + } + + /// + /// To be documented. + /// + public static int* GetIntRef(ImGuiStoragePtr self, uint key, int defaultVal) + { + int* ret = GetIntRefNative(self, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public static int* GetIntRef(ImGuiStoragePtr self, uint key) + { + int* ret = GetIntRefNative(self, key, (int)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static int* GetIntRef(ref ImGuiStorage self, uint key, int defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + int* ret = GetIntRefNative((ImGuiStorage*)pself, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public static int* GetIntRef(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + int* ret = GetIntRefNative((ImGuiStorage*)pself, key, (int)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static bool* GetBoolRefNative(ImGuiStorage* self, uint key, byte defaultVal) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[470])(self, key, defaultVal); + #else + return (bool*)((delegate* unmanaged[Cdecl])funcTable[470])((nint)self, key, defaultVal); + #endif + } + + /// + /// To be documented. + /// + public static bool* GetBoolRef(ImGuiStoragePtr self, uint key, bool defaultVal) + { + bool* ret = GetBoolRefNative(self, key, defaultVal ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public static bool* GetBoolRef(ImGuiStoragePtr self, uint key) + { + bool* ret = GetBoolRefNative(self, key, (byte)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static bool* GetBoolRef(ref ImGuiStorage self, uint key, bool defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + bool* ret = GetBoolRefNative((ImGuiStorage*)pself, key, defaultVal ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool* GetBoolRef(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + bool* ret = GetBoolRefNative((ImGuiStorage*)pself, key, (byte)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float* GetFloatRefNative(ImGuiStorage* self, uint key, float defaultVal) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[471])(self, key, defaultVal); + #else + return (float*)((delegate* unmanaged[Cdecl])funcTable[471])((nint)self, key, defaultVal); + #endif + } + + /// + /// To be documented. + /// + public static float* GetFloatRef(ImGuiStoragePtr self, uint key, float defaultVal) + { + float* ret = GetFloatRefNative(self, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public static float* GetFloatRef(ImGuiStoragePtr self, uint key) + { + float* ret = GetFloatRefNative(self, key, (float)(0.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static float* GetFloatRef(ref ImGuiStorage self, uint key, float defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + float* ret = GetFloatRefNative((ImGuiStorage*)pself, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public static float* GetFloatRef(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + float* ret = GetFloatRefNative((ImGuiStorage*)pself, key, (float)(0.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void** GetVoidPtrRefNative(ImGuiStorage* self, uint key, void* defaultVal) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[472])(self, key, defaultVal); + #else + return (void**)((delegate* unmanaged[Cdecl])funcTable[472])((nint)self, key, (nint)defaultVal); + #endif + } + + /// + /// To be documented. + /// + public static void** GetVoidPtrRef(ImGuiStoragePtr self, uint key, void* defaultVal) + { + void** ret = GetVoidPtrRefNative(self, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public static void** GetVoidPtrRef(ImGuiStoragePtr self, uint key) + { + void** ret = GetVoidPtrRefNative(self, key, (void*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static void** GetVoidPtrRef(ref ImGuiStorage self, uint key, void* defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + void** ret = GetVoidPtrRefNative((ImGuiStorage*)pself, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public static void** GetVoidPtrRef(ref ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + void** ret = GetVoidPtrRefNative((ImGuiStorage*)pself, key, (void*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetAllIntNative(ImGuiStorage* self, int val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[473])(self, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[473])((nint)self, val); + #endif + } + + /// + /// To be documented. + /// + public static void SetAllInt(ImGuiStoragePtr self, int val) + { + SetAllIntNative(self, val); + } + + /// + /// To be documented. + /// + public static void SetAllInt(ref ImGuiStorage self, int val) + { + fixed (ImGuiStorage* pself = &self) + { + SetAllIntNative((ImGuiStorage*)pself, val); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BuildSortByKeyNative(ImGuiStorage* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[474])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[474])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void BuildSortByKey(ImGuiStoragePtr self) + { + BuildSortByKeyNative(self); + } + + /// + /// To be documented. + /// + public static void BuildSortByKey(ref ImGuiStorage self) + { + fixed (ImGuiStorage* pself = &self) + { + BuildSortByKeyNative((ImGuiStorage*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiListClipper* ImGuiListClipperNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[475])(); + #else + return (ImGuiListClipper*)((delegate* unmanaged[Cdecl])funcTable[475])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiListClipperPtr ImGuiListClipper() + { + ImGuiListClipperPtr ret = ImGuiListClipperNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiListClipper* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[476])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[476])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiListClipperPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiListClipper self) + { + fixed (ImGuiListClipper* pself = &self) + { + DestroyNative((ImGuiListClipper*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BeginNative(ImGuiListClipper* self, int itemsCount, float itemsHeight) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[477])(self, itemsCount, itemsHeight); + #else + ((delegate* unmanaged[Cdecl])funcTable[477])((nint)self, itemsCount, itemsHeight); + #endif + } + + /// + /// To be documented. + /// + public static void Begin(ImGuiListClipperPtr self, int itemsCount, float itemsHeight) + { + BeginNative(self, itemsCount, itemsHeight); + } + + /// + /// To be documented. + /// + public static void Begin(ImGuiListClipperPtr self, int itemsCount) + { + BeginNative(self, itemsCount, (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public static void Begin(ref ImGuiListClipper self, int itemsCount, float itemsHeight) + { + fixed (ImGuiListClipper* pself = &self) + { + BeginNative((ImGuiListClipper*)pself, itemsCount, itemsHeight); + } + } + + /// + /// To be documented. + /// + public static void Begin(ref ImGuiListClipper self, int itemsCount) + { + fixed (ImGuiListClipper* pself = &self) + { + BeginNative((ImGuiListClipper*)pself, itemsCount, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndNative(ImGuiListClipper* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[478])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[478])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void End(ImGuiListClipperPtr self) + { + EndNative(self); + } + + /// + /// To be documented. + /// + public static void End(ref ImGuiListClipper self) + { + fixed (ImGuiListClipper* pself = &self) + { + EndNative((ImGuiListClipper*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte StepNative(ImGuiListClipper* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[479])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[479])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool Step(ImGuiListClipperPtr self) + { + byte ret = StepNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Step(ref ImGuiListClipper self) + { + fixed (ImGuiListClipper* pself = &self) + { + byte ret = StepNative((ImGuiListClipper*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ForceDisplayRangeByIndicesNative(ImGuiListClipper* self, int itemMin, int itemMax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[480])(self, itemMin, itemMax); + #else + ((delegate* unmanaged[Cdecl])funcTable[480])((nint)self, itemMin, itemMax); + #endif + } + + /// + /// To be documented. + /// + public static void ForceDisplayRangeByIndices(ImGuiListClipperPtr self, int itemMin, int itemMax) + { + ForceDisplayRangeByIndicesNative(self, itemMin, itemMax); + } + + /// + /// To be documented. + /// + public static void ForceDisplayRangeByIndices(ref ImGuiListClipper self, int itemMin, int itemMax) + { + fixed (ImGuiListClipper* pself = &self) + { + ForceDisplayRangeByIndicesNative((ImGuiListClipper*)pself, itemMin, itemMax); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImColor* ImColorNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[481])(); + #else + return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[481])(); + #endif + } + + /// + /// To be documented. + /// + public static ImColorPtr ImColor() + { + ImColorPtr ret = ImColorNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImColor* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[482])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[482])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImColorPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImColor self) + { + fixed (ImColor* pself = &self) + { + DestroyNative((ImColor*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImColor* ImColorNative(float r, float g, float b, float a) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[483])(r, g, b, a); + #else + return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[483])(r, g, b, a); + #endif + } + + /// + /// To be documented. + /// + public static ImColorPtr ImColor(float r, float g, float b, float a) + { + ImColorPtr ret = ImColorNative(r, g, b, a); + return ret; + } + + /// + /// To be documented. + /// + public static ImColorPtr ImColor(float r, float g, float b) + { + ImColorPtr ret = ImColorNative(r, g, b, (float)(1.0f)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImColor* ImColorNative(Vector4 col) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[484])(col); + #else + return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[484])(col); + #endif + } + + /// + /// To be documented. + /// + public static ImColorPtr ImColor(Vector4 col) + { + ImColorPtr ret = ImColorNative(col); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImColor* ImColorNative(int r, int g, int b, int a) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[485])(r, g, b, a); + #else + return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[485])(r, g, b, a); + #endif + } + + /// + /// To be documented. + /// + public static ImColorPtr ImColor(int r, int g, int b, int a) + { + ImColorPtr ret = ImColorNative(r, g, b, a); + return ret; + } + + /// + /// To be documented. + /// + public static ImColorPtr ImColor(int r, int g, int b) + { + ImColorPtr ret = ImColorNative(r, g, b, (int)(255)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImColor* ImColorNative(uint rgba) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[486])(rgba); + #else + return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[486])(rgba); + #endif + } + + /// + /// To be documented. + /// + public static ImColorPtr ImColor(uint rgba) + { + ImColorPtr ret = ImColorNative(rgba); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetHSVNative(ImColor* self, float h, float s, float v, float a) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[487])(self, h, s, v, a); + #else + ((delegate* unmanaged[Cdecl])funcTable[487])((nint)self, h, s, v, a); + #endif + } + + /// + /// To be documented. + /// + public static void SetHSV(ImColorPtr self, float h, float s, float v, float a) + { + SetHSVNative(self, h, s, v, a); + } + + /// + /// To be documented. + /// + public static void SetHSV(ImColorPtr self, float h, float s, float v) + { + SetHSVNative(self, h, s, v, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void SetHSV(ref ImColor self, float h, float s, float v, float a) + { + fixed (ImColor* pself = &self) + { + SetHSVNative((ImColor*)pself, h, s, v, a); + } + } + + /// + /// To be documented. + /// + public static void SetHSV(ref ImColor self, float h, float s, float v) + { + fixed (ImColor* pself = &self) + { + SetHSVNative((ImColor*)pself, h, s, v, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void HSVNative(ImColor* pOut, float h, float s, float v, float a) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[488])(pOut, h, s, v, a); + #else + ((delegate* unmanaged[Cdecl])funcTable[488])((nint)pOut, h, s, v, a); + #endif + } + + /// + /// To be documented. + /// + public static ImColor HSV(float h, float s, float v) + { + ImColor ret; + HSVNative(&ret, h, s, v, (float)(1.0f)); + return ret; + } + + /// + /// To be documented. + /// + public static ImColor HSV(float h, float s, float v, float a) + { + ImColor ret; + HSVNative(&ret, h, s, v, a); + return ret; + } + + /// + /// To be documented. + /// + public static void HSV(ImColorPtr pOut, float h, float s, float v, float a) + { + HSVNative(pOut, h, s, v, a); + } + + /// + /// To be documented. + /// + public static void HSV(ImColorPtr pOut, float h, float s, float v) + { + HSVNative(pOut, h, s, v, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void HSV(ref ImColor pOut, float h, float s, float v, float a) + { + fixed (ImColor* ppOut = &pOut) + { + HSVNative((ImColor*)ppOut, h, s, v, a); + } + } + + /// + /// To be documented. + /// + public static void HSV(ref ImColor pOut, float h, float s, float v) + { + fixed (ImColor* ppOut = &pOut) + { + HSVNative((ImColor*)ppOut, h, s, v, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawCmd* ImDrawCmdNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[489])(); + #else + return (ImDrawCmd*)((delegate* unmanaged[Cdecl])funcTable[489])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawCmdPtr ImDrawCmd() + { + ImDrawCmdPtr ret = ImDrawCmdNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImDrawCmd* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[490])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[490])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImDrawCmdPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImDrawCmd self) + { + fixed (ImDrawCmd* pself = &self) + { + DestroyNative((ImDrawCmd*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImTextureID GetTexIDNative(ImDrawCmd* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[491])(self); + #else + return (ImTextureID)((delegate* unmanaged[Cdecl])funcTable[491])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ImTextureID GetTexID(ImDrawCmdPtr self) + { + ImTextureID ret = GetTexIDNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ImTextureID GetTexID(ref ImDrawCmd self) + { + fixed (ImDrawCmd* pself = &self) + { + ImTextureID ret = GetTexIDNative((ImDrawCmd*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawListSplitter* ImDrawListSplitterNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[492])(); + #else + return (ImDrawListSplitter*)((delegate* unmanaged[Cdecl])funcTable[492])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListSplitterPtr ImDrawListSplitter() + { + ImDrawListSplitterPtr ret = ImDrawListSplitterNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImDrawListSplitter* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[493])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[493])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImDrawListSplitterPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImDrawListSplitter self) + { + fixed (ImDrawListSplitter* pself = &self) + { + DestroyNative((ImDrawListSplitter*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearNative(ImDrawListSplitter* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[494])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[494])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Clear(ImDrawListSplitterPtr self) + { + ClearNative(self); + } + + /// + /// To be documented. + /// + public static void Clear(ref ImDrawListSplitter self) + { + fixed (ImDrawListSplitter* pself = &self) + { + ClearNative((ImDrawListSplitter*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearFreeMemoryNative(ImDrawListSplitter* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[495])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[495])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearFreeMemory(ImDrawListSplitterPtr self) + { + ClearFreeMemoryNative(self); + } + + /// + /// To be documented. + /// + public static void ClearFreeMemory(ref ImDrawListSplitter self) + { + fixed (ImDrawListSplitter* pself = &self) + { + ClearFreeMemoryNative((ImDrawListSplitter*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SplitNative(ImDrawListSplitter* self, ImDrawList* drawList, int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[496])(self, drawList, count); + #else + ((delegate* unmanaged[Cdecl])funcTable[496])((nint)self, (nint)drawList, count); + #endif + } + + /// + /// To be documented. + /// + public static void Split(ImDrawListSplitterPtr self, ImDrawListPtr drawList, int count) + { + SplitNative(self, drawList, count); + } + + /// + /// To be documented. + /// + public static void Split(ref ImDrawListSplitter self, ImDrawListPtr drawList, int count) + { + fixed (ImDrawListSplitter* pself = &self) + { + SplitNative((ImDrawListSplitter*)pself, drawList, count); + } + } + + /// + /// To be documented. + /// + public static void Split(ImDrawListSplitterPtr self, ref ImDrawList drawList, int count) + { + fixed (ImDrawList* pdrawList = &drawList) + { + SplitNative(self, (ImDrawList*)pdrawList, count); + } + } + + /// + /// To be documented. + /// + public static void Split(ref ImDrawListSplitter self, ref ImDrawList drawList, int count) + { + fixed (ImDrawListSplitter* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + SplitNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, count); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void MergeNative(ImDrawListSplitter* self, ImDrawList* drawList) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[497])(self, drawList); + #else + ((delegate* unmanaged[Cdecl])funcTable[497])((nint)self, (nint)drawList); + #endif + } + + /// + /// To be documented. + /// + public static void Merge(ImDrawListSplitterPtr self, ImDrawListPtr drawList) + { + MergeNative(self, drawList); + } + + /// + /// To be documented. + /// + public static void Merge(ref ImDrawListSplitter self, ImDrawListPtr drawList) + { + fixed (ImDrawListSplitter* pself = &self) + { + MergeNative((ImDrawListSplitter*)pself, drawList); + } + } + + /// + /// To be documented. + /// + public static void Merge(ImDrawListSplitterPtr self, ref ImDrawList drawList) + { + fixed (ImDrawList* pdrawList = &drawList) + { + MergeNative(self, (ImDrawList*)pdrawList); + } + } + + /// + /// To be documented. + /// + public static void Merge(ref ImDrawListSplitter self, ref ImDrawList drawList) + { + fixed (ImDrawListSplitter* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + MergeNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetCurrentChannelNative(ImDrawListSplitter* self, ImDrawList* drawList, int channelIdx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[498])(self, drawList, channelIdx); + #else + ((delegate* unmanaged[Cdecl])funcTable[498])((nint)self, (nint)drawList, channelIdx); + #endif + } + + /// + /// To be documented. + /// + public static void SetCurrentChannel(ImDrawListSplitterPtr self, ImDrawListPtr drawList, int channelIdx) + { + SetCurrentChannelNative(self, drawList, channelIdx); + } + + /// + /// To be documented. + /// + public static void SetCurrentChannel(ref ImDrawListSplitter self, ImDrawListPtr drawList, int channelIdx) + { + fixed (ImDrawListSplitter* pself = &self) + { + SetCurrentChannelNative((ImDrawListSplitter*)pself, drawList, channelIdx); + } + } + + /// + /// To be documented. + /// + public static void SetCurrentChannel(ImDrawListSplitterPtr self, ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawList* pdrawList = &drawList) + { + SetCurrentChannelNative(self, (ImDrawList*)pdrawList, channelIdx); + } + } + + /// + /// To be documented. + /// + public static void SetCurrentChannel(ref ImDrawListSplitter self, ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawListSplitter* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + SetCurrentChannelNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, channelIdx); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* ImDrawListNative(ImDrawListSharedData* sharedData) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[499])(sharedData); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[499])((nint)sharedData); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr ImDrawList(ImDrawListSharedDataPtr sharedData) + { + ImDrawListPtr ret = ImDrawListNative(sharedData); + return ret; + } + + /// + /// To be documented. + /// + public static ImDrawListPtr ImDrawList(ref ImDrawListSharedData sharedData) + { + fixed (ImDrawListSharedData* psharedData = &sharedData) + { + ImDrawListPtr ret = ImDrawListNative((ImDrawListSharedData*)psharedData); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[500])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[500])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImDrawListPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + DestroyNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushClipRectNative(ImDrawList* self, Vector2 clipRectMin, Vector2 clipRectMax, byte intersectWithCurrentClipRect) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[501])(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect); + #else + ((delegate* unmanaged[Cdecl])funcTable[501])((nint)self, clipRectMin, clipRectMax, intersectWithCurrentClipRect); + #endif + } + + /// + /// To be documented. + /// + public static void PushClipRect(ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + PushClipRectNative(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void PushClipRect(ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax) + { + PushClipRectNative(self, clipRectMin, clipRectMax, (byte)(0)); + } + + /// + /// To be documented. + /// + public static void PushClipRect(ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + fixed (ImDrawList* pself = &self) + { + PushClipRectNative((ImDrawList*)pself, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void PushClipRect(ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax) + { + fixed (ImDrawList* pself = &self) + { + PushClipRectNative((ImDrawList*)pself, clipRectMin, clipRectMax, (byte)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushClipRectFullScreenNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[502])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[502])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void PushClipRectFullScreen(ImDrawListPtr self) + { + PushClipRectFullScreenNative(self); + } + + /// + /// To be documented. + /// + public static void PushClipRectFullScreen(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + PushClipRectFullScreenNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopClipRectNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[503])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[503])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void PopClipRect(ImDrawListPtr self) + { + PopClipRectNative(self); + } + + /// + /// To be documented. + /// + public static void PopClipRect(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + PopClipRectNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushTextureIDNative(ImDrawList* self, ImTextureID textureId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[504])(self, textureId); + #else + ((delegate* unmanaged[Cdecl])funcTable[504])((nint)self, textureId); + #endif + } + + /// + /// To be documented. + /// + public static void PushTextureID(ImDrawListPtr self, ImTextureID textureId) + { + PushTextureIDNative(self, textureId); + } + + /// + /// To be documented. + /// + public static void PushTextureID(ref ImDrawList self, ImTextureID textureId) + { + fixed (ImDrawList* pself = &self) + { + PushTextureIDNative((ImDrawList*)pself, textureId); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopTextureIDNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[505])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[505])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void PopTextureID(ImDrawListPtr self) + { + PopTextureIDNative(self); + } + + /// + /// To be documented. + /// + public static void PopTextureID(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + PopTextureIDNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetClipRectMinNative(Vector2* pOut, ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[506])(pOut, self); + #else + ((delegate* unmanaged[Cdecl])funcTable[506])((nint)pOut, (nint)self); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetClipRectMin(ImDrawListPtr self) + { + Vector2 ret; + GetClipRectMinNative(&ret, self); + return ret; + } + + /// + /// To be documented. + /// + public static void GetClipRectMin(Vector2* pOut, ImDrawListPtr self) + { + GetClipRectMinNative(pOut, self); + } + + /// + /// To be documented. + /// + public static void GetClipRectMin(ref Vector2 pOut, ImDrawListPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + GetClipRectMinNative((Vector2*)ppOut, self); + } + } + + /// + /// To be documented. + /// + public static Vector2 GetClipRectMin(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + Vector2 ret; + GetClipRectMinNative(&ret, (ImDrawList*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static void GetClipRectMin(Vector2* pOut, ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + GetClipRectMinNative(pOut, (ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + public static void GetClipRectMin(ref Vector2 pOut, ref ImDrawList self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImDrawList* pself = &self) + { + GetClipRectMinNative((Vector2*)ppOut, (ImDrawList*)pself); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetClipRectMaxNative(Vector2* pOut, ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[507])(pOut, self); + #else + ((delegate* unmanaged[Cdecl])funcTable[507])((nint)pOut, (nint)self); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetClipRectMax(ImDrawListPtr self) + { + Vector2 ret; + GetClipRectMaxNative(&ret, self); + return ret; + } + + /// + /// To be documented. + /// + public static void GetClipRectMax(Vector2* pOut, ImDrawListPtr self) + { + GetClipRectMaxNative(pOut, self); + } + + /// + /// To be documented. + /// + public static void GetClipRectMax(ref Vector2 pOut, ImDrawListPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + GetClipRectMaxNative((Vector2*)ppOut, self); + } + } + + /// + /// To be documented. + /// + public static Vector2 GetClipRectMax(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + Vector2 ret; + GetClipRectMaxNative(&ret, (ImDrawList*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static void GetClipRectMax(Vector2* pOut, ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + GetClipRectMaxNative(pOut, (ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + public static void GetClipRectMax(ref Vector2 pOut, ref ImDrawList self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImDrawList* pself = &self) + { + GetClipRectMaxNative((Vector2*)ppOut, (ImDrawList*)pself); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddLineNative(ImDrawList* self, Vector2 p1, Vector2 p2, uint col, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[508])(self, p1, p2, col, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[508])((nint)self, p1, p2, col, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void AddLine(ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col, float thickness) + { + AddLineNative(self, p1, p2, col, thickness); + } + + /// + /// To be documented. + /// + public static void AddLine(ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col) + { + AddLineNative(self, p1, p2, col, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddLine(ref ImDrawList self, Vector2 p1, Vector2 p2, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddLineNative((ImDrawList*)pself, p1, p2, col, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddLine(ref ImDrawList self, Vector2 p1, Vector2 p2, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddLineNative((ImDrawList*)pself, p1, p2, col, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddRectNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[509])(self, pMin, pMax, col, rounding, flags, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[509])((nint)self, pMin, pMax, col, rounding, flags, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + AddRectNative(self, pMin, pMax, col, rounding, flags, thickness); + } + + /// + /// To be documented. + /// + public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + AddRectNative(self, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + AddRectNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col) + { + AddRectNative(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + AddRectNative(self, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + AddRectNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + + /// + /// To be documented. + /// + public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + AddRectNative(self, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + + /// + /// To be documented. + /// + public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* pself = &self) + { + AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + } + + /// + /// To be documented. + /// + public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddRectFilledNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[510])(self, pMin, pMax, col, rounding, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[510])((nint)self, pMin, pMax, col, rounding, flags); + #endif + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + AddRectFilledNative(self, pMin, pMax, col, rounding, flags); + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + AddRectFilledNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col) + { + AddRectFilledNative(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + AddRectFilledNative(self, pMin, pMax, col, (float)(0.0f), flags); + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags); + } + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* pself = &self) + { + AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddRectFilledMultiColorNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[511])(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + #else + ((delegate* unmanaged[Cdecl])funcTable[511])((nint)self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + #endif + } + + /// + /// To be documented. + /// + public static void AddRectFilledMultiColor(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + AddRectFilledMultiColorNative(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + + /// + /// To be documented. + /// + public static void AddRectFilledMultiColor(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + fixed (ImDrawList* pself = &self) + { + AddRectFilledMultiColorNative((ImDrawList*)pself, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddQuadNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[512])(self, p1, p2, p3, p4, col, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[512])((nint)self, p1, p2, p3, p4, col, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void AddQuad(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + AddQuadNative(self, p1, p2, p3, p4, col, thickness); + } + + /// + /// To be documented. + /// + public static void AddQuad(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + AddQuadNative(self, p1, p2, p3, p4, col, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddQuad(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddQuadNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddQuad(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddQuadNative((ImDrawList*)pself, p1, p2, p3, p4, col, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddQuadFilledNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[513])(self, p1, p2, p3, p4, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[513])((nint)self, p1, p2, p3, p4, col); + #endif + } + + /// + /// To be documented. + /// + public static void AddQuadFilled(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + AddQuadFilledNative(self, p1, p2, p3, p4, col); + } + + /// + /// To be documented. + /// + public static void AddQuadFilled(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddQuadFilledNative((ImDrawList*)pself, p1, p2, p3, p4, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddTriangleNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[514])(self, p1, p2, p3, col, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[514])((nint)self, p1, p2, p3, col, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void AddTriangle(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + AddTriangleNative(self, p1, p2, p3, col, thickness); + } + + /// + /// To be documented. + /// + public static void AddTriangle(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + AddTriangleNative(self, p1, p2, p3, col, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddTriangle(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddTriangleNative((ImDrawList*)pself, p1, p2, p3, col, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddTriangle(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddTriangleNative((ImDrawList*)pself, p1, p2, p3, col, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddTriangleFilledNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[515])(self, p1, p2, p3, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[515])((nint)self, p1, p2, p3, col); + #endif + } + + /// + /// To be documented. + /// + public static void AddTriangleFilled(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + AddTriangleFilledNative(self, p1, p2, p3, col); + } + + /// + /// To be documented. + /// + public static void AddTriangleFilled(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddTriangleFilledNative((ImDrawList*)pself, p1, p2, p3, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddCircleNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[516])(self, center, radius, col, numSegments, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[516])((nint)self, center, radius, col, numSegments, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + AddCircleNative(self, center, radius, col, numSegments, thickness); + } + + /// + /// To be documented. + /// + public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + AddCircleNative(self, center, radius, col, numSegments, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col) + { + AddCircleNative(self, center, radius, col, (int)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, float thickness) + { + AddCircleNative(self, center, radius, col, (int)(0), thickness); + } + + /// + /// To be documented. + /// + public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddCircleNative((ImDrawList*)pself, center, radius, col, numSegments, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + AddCircleNative((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddCircleNative((ImDrawList*)pself, center, radius, col, (int)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddCircleNative((ImDrawList*)pself, center, radius, col, (int)(0), thickness); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddCircleFilledNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[517])(self, center, radius, col, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[517])((nint)self, center, radius, col, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void AddCircleFilled(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + AddCircleFilledNative(self, center, radius, col, numSegments); + } + + /// + /// To be documented. + /// + public static void AddCircleFilled(ImDrawListPtr self, Vector2 center, float radius, uint col) + { + AddCircleFilledNative(self, center, radius, col, (int)(0)); + } + + /// + /// To be documented. + /// + public static void AddCircleFilled(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + AddCircleFilledNative((ImDrawList*)pself, center, radius, col, numSegments); + } + } + + /// + /// To be documented. + /// + public static void AddCircleFilled(ref ImDrawList self, Vector2 center, float radius, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddCircleFilledNative((ImDrawList*)pself, center, radius, col, (int)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddNgonNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[518])(self, center, radius, col, numSegments, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[518])((nint)self, center, radius, col, numSegments, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void AddNgon(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + AddNgonNative(self, center, radius, col, numSegments, thickness); + } + + /// + /// To be documented. + /// + public static void AddNgon(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + AddNgonNative(self, center, radius, col, numSegments, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void AddNgon(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddNgonNative((ImDrawList*)pself, center, radius, col, numSegments, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddNgon(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + AddNgonNative((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddNgonFilledNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[519])(self, center, radius, col, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[519])((nint)self, center, radius, col, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void AddNgonFilled(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + AddNgonFilledNative(self, center, radius, col, numSegments); + } + + /// + /// To be documented. + /// + public static void AddNgonFilled(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + AddNgonFilledNative((ImDrawList*)pself, center, radius, col, numSegments); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddTextNative(ImDrawList* self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[520])(self, pos, col, textBegin, textEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[520])((nint)self, pos, col, (nint)textBegin, (nint)textEnd); + #endif + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + AddTextNative(self, pos, col, textBegin, textEnd); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin) + { + AddTextNative(self, pos, col, textBegin, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, pos, col, textBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, pos, col, textBegin, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin, 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; + } + AddTextNative(self, pos, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin) + { + 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; + } + AddTextNative(self, pos, col, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, pos, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, pos, col, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, pos, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, pos, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + 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; + } + AddTextNative(self, pos, col, textBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, pos, col, textBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, pos, col, textBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, pos, col, textBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, 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; + } + AddTextNative(self, pos, col, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, 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; + } + AddTextNative(self, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, 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; + } + AddTextNative(self, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, 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) + { + AddTextNative(self, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, Vector2 pos, 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) + { + AddTextNative(self, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, pos, col, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddTextNative(ImDrawList* self, ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[521])(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + #else + ((delegate* unmanaged[Cdecl])funcTable[521])((nint)self, (nint)font, fontSize, pos, col, (nint)textBegin, (nint)textEnd, wrapWidth, (nint)cpuFineClipRect); + #endif + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.090.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.090.cs new file mode 100644 index 000000000..8de479446 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.090.cs @@ -0,0 +1,5048 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + 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) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.091.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.091.cs new file mode 100644 index 000000000..1d248bbd6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.091.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.092.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.092.cs new file mode 100644 index 000000000..b2c7f283a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.092.cs @@ -0,0 +1,5030 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* pself = &self) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddPolylineNative(ImDrawList* self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[522])(self, points, numPoints, col, flags, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[522])((nint)self, (nint)points, numPoints, col, flags, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void AddPolyline(ImDrawListPtr self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + AddPolylineNative(self, points, numPoints, col, flags, thickness); + } + + /// + /// To be documented. + /// + public static void AddPolyline(ref ImDrawList self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddPolylineNative((ImDrawList*)pself, points, numPoints, col, flags, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddPolyline(ImDrawListPtr self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (Vector2* ppoints = &points) + { + AddPolylineNative(self, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + + /// + /// To be documented. + /// + public static void AddPolyline(ref ImDrawList self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector2* ppoints = &points) + { + AddPolylineNative((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddConvexPolyFilledNative(ImDrawList* self, Vector2* points, int numPoints, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[523])(self, points, numPoints, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[523])((nint)self, (nint)points, numPoints, col); + #endif + } + + /// + /// To be documented. + /// + public static void AddConvexPolyFilled(ImDrawListPtr self, Vector2* points, int numPoints, uint col) + { + AddConvexPolyFilledNative(self, points, numPoints, col); + } + + /// + /// To be documented. + /// + public static void AddConvexPolyFilled(ref ImDrawList self, Vector2* points, int numPoints, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddConvexPolyFilledNative((ImDrawList*)pself, points, numPoints, col); + } + } + + /// + /// To be documented. + /// + public static void AddConvexPolyFilled(ImDrawListPtr self, ref Vector2 points, int numPoints, uint col) + { + fixed (Vector2* ppoints = &points) + { + AddConvexPolyFilledNative(self, (Vector2*)ppoints, numPoints, col); + } + } + + /// + /// To be documented. + /// + public static void AddConvexPolyFilled(ref ImDrawList self, ref Vector2 points, int numPoints, uint col) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector2* ppoints = &points) + { + AddConvexPolyFilledNative((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddBezierCubicNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[524])(self, p1, p2, p3, p4, col, thickness, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[524])((nint)self, p1, p2, p3, p4, col, thickness, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void AddBezierCubic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + AddBezierCubicNative(self, p1, p2, p3, p4, col, thickness, numSegments); + } + + /// + /// To be documented. + /// + public static void AddBezierCubic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + AddBezierCubicNative(self, p1, p2, p3, p4, col, thickness, (int)(0)); + } + + /// + /// To be documented. + /// + public static void AddBezierCubic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + AddBezierCubicNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, numSegments); + } + } + + /// + /// To be documented. + /// + public static void AddBezierCubic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddBezierCubicNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, (int)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddBezierQuadraticNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[525])(self, p1, p2, p3, col, thickness, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[525])((nint)self, p1, p2, p3, col, thickness, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void AddBezierQuadratic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + AddBezierQuadraticNative(self, p1, p2, p3, col, thickness, numSegments); + } + + /// + /// To be documented. + /// + public static void AddBezierQuadratic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + AddBezierQuadraticNative(self, p1, p2, p3, col, thickness, (int)(0)); + } + + /// + /// To be documented. + /// + public static void AddBezierQuadratic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + AddBezierQuadraticNative((ImDrawList*)pself, p1, p2, p3, col, thickness, numSegments); + } + } + + /// + /// To be documented. + /// + public static void AddBezierQuadratic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + AddBezierQuadraticNative((ImDrawList*)pself, p1, p2, p3, col, thickness, (int)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddImageNative(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[526])(self, userTextureId, pMin, pMax, uvMin, uvMax, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[526])((nint)self, userTextureId, pMin, pMax, uvMin, uvMax, col); + #endif + } + + /// + /// To be documented. + /// + public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + AddImageNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + + /// + /// To be documented. + /// + public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + AddImageNative(self, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + AddImageNative(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + AddImageNative(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + AddImageNative(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + + /// + /// To be documented. + /// + public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + AddImageNative(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + + /// + /// To be documented. + /// + public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + } + + /// + /// To be documented. + /// + public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + fixed (ImDrawList* pself = &self) + { + AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + fixed (ImDrawList* pself = &self) + { + AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + fixed (ImDrawList* pself = &self) + { + AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + } + + /// + /// To be documented. + /// + public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddImageQuadNative(ImDrawList* self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[527])(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[527])((nint)self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + #endif + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* pself = &self) + { + AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddImageRoundedNative(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[528])(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[528])((nint)self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + #endif + } + + /// + /// To be documented. + /// + public static void AddImageRounded(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + AddImageRoundedNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + + /// + /// To be documented. + /// + public static void AddImageRounded(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + AddImageRoundedNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public static void AddImageRounded(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + AddImageRoundedNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + } + + /// + /// To be documented. + /// + public static void AddImageRounded(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + fixed (ImDrawList* pself = &self) + { + AddImageRoundedNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathClearNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[529])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[529])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void PathClear(ImDrawListPtr self) + { + PathClearNative(self); + } + + /// + /// To be documented. + /// + public static void PathClear(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + PathClearNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathLineToNative(ImDrawList* self, Vector2 pos) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[530])(self, pos); + #else + ((delegate* unmanaged[Cdecl])funcTable[530])((nint)self, pos); + #endif + } + + /// + /// To be documented. + /// + public static void PathLineTo(ImDrawListPtr self, Vector2 pos) + { + PathLineToNative(self, pos); + } + + /// + /// To be documented. + /// + public static void PathLineTo(ref ImDrawList self, Vector2 pos) + { + fixed (ImDrawList* pself = &self) + { + PathLineToNative((ImDrawList*)pself, pos); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathLineToMergeDuplicateNative(ImDrawList* self, Vector2 pos) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[531])(self, pos); + #else + ((delegate* unmanaged[Cdecl])funcTable[531])((nint)self, pos); + #endif + } + + /// + /// To be documented. + /// + public static void PathLineToMergeDuplicate(ImDrawListPtr self, Vector2 pos) + { + PathLineToMergeDuplicateNative(self, pos); + } + + /// + /// To be documented. + /// + public static void PathLineToMergeDuplicate(ref ImDrawList self, Vector2 pos) + { + fixed (ImDrawList* pself = &self) + { + PathLineToMergeDuplicateNative((ImDrawList*)pself, pos); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathFillConvexNative(ImDrawList* self, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[532])(self, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[532])((nint)self, col); + #endif + } + + /// + /// To be documented. + /// + public static void PathFillConvex(ImDrawListPtr self, uint col) + { + PathFillConvexNative(self, col); + } + + /// + /// To be documented. + /// + public static void PathFillConvex(ref ImDrawList self, uint col) + { + fixed (ImDrawList* pself = &self) + { + PathFillConvexNative((ImDrawList*)pself, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathStrokeNative(ImDrawList* self, uint col, ImDrawFlags flags, float thickness) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[533])(self, col, flags, thickness); + #else + ((delegate* unmanaged[Cdecl])funcTable[533])((nint)self, col, flags, thickness); + #endif + } + + /// + /// To be documented. + /// + public static void PathStroke(ImDrawListPtr self, uint col, ImDrawFlags flags, float thickness) + { + PathStrokeNative(self, col, flags, thickness); + } + + /// + /// To be documented. + /// + public static void PathStroke(ImDrawListPtr self, uint col, ImDrawFlags flags) + { + PathStrokeNative(self, col, flags, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void PathStroke(ImDrawListPtr self, uint col) + { + PathStrokeNative(self, col, (ImDrawFlags)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public static void PathStroke(ImDrawListPtr self, uint col, float thickness) + { + PathStrokeNative(self, col, (ImDrawFlags)(0), thickness); + } + + /// + /// To be documented. + /// + public static void PathStroke(ref ImDrawList self, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + PathStrokeNative((ImDrawList*)pself, col, flags, thickness); + } + } + + /// + /// To be documented. + /// + public static void PathStroke(ref ImDrawList self, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + PathStrokeNative((ImDrawList*)pself, col, flags, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void PathStroke(ref ImDrawList self, uint col) + { + fixed (ImDrawList* pself = &self) + { + PathStrokeNative((ImDrawList*)pself, col, (ImDrawFlags)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public static void PathStroke(ref ImDrawList self, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + PathStrokeNative((ImDrawList*)pself, col, (ImDrawFlags)(0), thickness); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathArcToNative(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[534])(self, center, radius, aMin, aMax, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[534])((nint)self, center, radius, aMin, aMax, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void PathArcTo(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + PathArcToNative(self, center, radius, aMin, aMax, numSegments); + } + + /// + /// To be documented. + /// + public static void PathArcTo(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax) + { + PathArcToNative(self, center, radius, aMin, aMax, (int)(0)); + } + + /// + /// To be documented. + /// + public static void PathArcTo(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + PathArcToNative((ImDrawList*)pself, center, radius, aMin, aMax, numSegments); + } + } + + /// + /// To be documented. + /// + public static void PathArcTo(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax) + { + fixed (ImDrawList* pself = &self) + { + PathArcToNative((ImDrawList*)pself, center, radius, aMin, aMax, (int)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathArcToFastNative(ImDrawList* self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[535])(self, center, radius, aMinOf12, aMaxOf12); + #else + ((delegate* unmanaged[Cdecl])funcTable[535])((nint)self, center, radius, aMinOf12, aMaxOf12); + #endif + } + + /// + /// To be documented. + /// + public static void PathArcToFast(ImDrawListPtr self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + PathArcToFastNative(self, center, radius, aMinOf12, aMaxOf12); + } + + /// + /// To be documented. + /// + public static void PathArcToFast(ref ImDrawList self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + fixed (ImDrawList* pself = &self) + { + PathArcToFastNative((ImDrawList*)pself, center, radius, aMinOf12, aMaxOf12); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathBezierCubicCurveToNative(ImDrawList* self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[536])(self, p2, p3, p4, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[536])((nint)self, p2, p3, p4, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void PathBezierCubicCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + PathBezierCubicCurveToNative(self, p2, p3, p4, numSegments); + } + + /// + /// To be documented. + /// + public static void PathBezierCubicCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4) + { + PathBezierCubicCurveToNative(self, p2, p3, p4, (int)(0)); + } + + /// + /// To be documented. + /// + public static void PathBezierCubicCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + PathBezierCubicCurveToNative((ImDrawList*)pself, p2, p3, p4, numSegments); + } + } + + /// + /// To be documented. + /// + public static void PathBezierCubicCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* pself = &self) + { + PathBezierCubicCurveToNative((ImDrawList*)pself, p2, p3, p4, (int)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathBezierQuadraticCurveToNative(ImDrawList* self, Vector2 p2, Vector2 p3, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[537])(self, p2, p3, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[537])((nint)self, p2, p3, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void PathBezierQuadraticCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, int numSegments) + { + PathBezierQuadraticCurveToNative(self, p2, p3, numSegments); + } + + /// + /// To be documented. + /// + public static void PathBezierQuadraticCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3) + { + PathBezierQuadraticCurveToNative(self, p2, p3, (int)(0)); + } + + /// + /// To be documented. + /// + public static void PathBezierQuadraticCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + PathBezierQuadraticCurveToNative((ImDrawList*)pself, p2, p3, numSegments); + } + } + + /// + /// To be documented. + /// + public static void PathBezierQuadraticCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3) + { + fixed (ImDrawList* pself = &self) + { + PathBezierQuadraticCurveToNative((ImDrawList*)pself, p2, p3, (int)(0)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PathRectNative(ImDrawList* self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[538])(self, rectMin, rectMax, rounding, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[538])((nint)self, rectMin, rectMax, rounding, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + PathRectNative(self, rectMin, rectMax, rounding, flags); + } + + /// + /// To be documented. + /// + public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding) + { + PathRectNative(self, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax) + { + PathRectNative(self, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + PathRectNative(self, rectMin, rectMax, (float)(0.0f), flags); + } + + /// + /// To be documented. + /// + public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + PathRectNative((ImDrawList*)pself, rectMin, rectMax, rounding, flags); + } + } + + /// + /// To be documented. + /// + public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding) + { + fixed (ImDrawList* pself = &self) + { + PathRectNative((ImDrawList*)pself, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax) + { + fixed (ImDrawList* pself = &self) + { + PathRectNative((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + PathRectNative((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), flags); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddCallbackNative(ImDrawList* self, ImDrawCallback callback, void* callbackData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, void>)funcTable[539])(self, (delegate*)Utils.GetFunctionPointerForDelegate(callback), callbackData); + #else + ((delegate* unmanaged[Cdecl])funcTable[539])((nint)self, (nint)Utils.GetFunctionPointerForDelegate(callback), (nint)callbackData); + #endif + } + + /// + /// To be documented. + /// + public static void AddCallback(ImDrawListPtr self, ImDrawCallback callback, void* callbackData) + { + AddCallbackNative(self, callback, callbackData); + } + + /// + /// To be documented. + /// + public static void AddCallback(ref ImDrawList self, ImDrawCallback callback, void* callbackData) + { + fixed (ImDrawList* pself = &self) + { + AddCallbackNative((ImDrawList*)pself, callback, callbackData); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddDrawCmdNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[540])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[540])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void AddDrawCmd(ImDrawListPtr self) + { + AddDrawCmdNative(self); + } + + /// + /// To be documented. + /// + public static void AddDrawCmd(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + AddDrawCmdNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* CloneOutputNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[541])(self); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[541])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr CloneOutput(ImDrawListPtr self) + { + ImDrawListPtr ret = CloneOutputNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ImDrawListPtr CloneOutput(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImDrawListPtr ret = CloneOutputNative((ImDrawList*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ChannelsSplitNative(ImDrawList* self, int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[542])(self, count); + #else + ((delegate* unmanaged[Cdecl])funcTable[542])((nint)self, count); + #endif + } + + /// + /// To be documented. + /// + public static void ChannelsSplit(ImDrawListPtr self, int count) + { + ChannelsSplitNative(self, count); + } + + /// + /// To be documented. + /// + public static void ChannelsSplit(ref ImDrawList self, int count) + { + fixed (ImDrawList* pself = &self) + { + ChannelsSplitNative((ImDrawList*)pself, count); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ChannelsMergeNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[543])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[543])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ChannelsMerge(ImDrawListPtr self) + { + ChannelsMergeNative(self); + } + + /// + /// To be documented. + /// + public static void ChannelsMerge(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ChannelsMergeNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ChannelsSetCurrentNative(ImDrawList* self, int n) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[544])(self, n); + #else + ((delegate* unmanaged[Cdecl])funcTable[544])((nint)self, n); + #endif + } + + /// + /// To be documented. + /// + public static void ChannelsSetCurrent(ImDrawListPtr self, int n) + { + ChannelsSetCurrentNative(self, n); + } + + /// + /// To be documented. + /// + public static void ChannelsSetCurrent(ref ImDrawList self, int n) + { + fixed (ImDrawList* pself = &self) + { + ChannelsSetCurrentNative((ImDrawList*)pself, n); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimReserveNative(ImDrawList* self, int idxCount, int vtxCount) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[545])(self, idxCount, vtxCount); + #else + ((delegate* unmanaged[Cdecl])funcTable[545])((nint)self, idxCount, vtxCount); + #endif + } + + /// + /// To be documented. + /// + public static void PrimReserve(ImDrawListPtr self, int idxCount, int vtxCount) + { + PrimReserveNative(self, idxCount, vtxCount); + } + + /// + /// To be documented. + /// + public static void PrimReserve(ref ImDrawList self, int idxCount, int vtxCount) + { + fixed (ImDrawList* pself = &self) + { + PrimReserveNative((ImDrawList*)pself, idxCount, vtxCount); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimUnreserveNative(ImDrawList* self, int idxCount, int vtxCount) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[546])(self, idxCount, vtxCount); + #else + ((delegate* unmanaged[Cdecl])funcTable[546])((nint)self, idxCount, vtxCount); + #endif + } + + /// + /// To be documented. + /// + public static void PrimUnreserve(ImDrawListPtr self, int idxCount, int vtxCount) + { + PrimUnreserveNative(self, idxCount, vtxCount); + } + + /// + /// To be documented. + /// + public static void PrimUnreserve(ref ImDrawList self, int idxCount, int vtxCount) + { + fixed (ImDrawList* pself = &self) + { + PrimUnreserveNative((ImDrawList*)pself, idxCount, vtxCount); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimRectNative(ImDrawList* self, Vector2 a, Vector2 b, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[547])(self, a, b, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[547])((nint)self, a, b, col); + #endif + } + + /// + /// To be documented. + /// + public static void PrimRect(ImDrawListPtr self, Vector2 a, Vector2 b, uint col) + { + PrimRectNative(self, a, b, col); + } + + /// + /// To be documented. + /// + public static void PrimRect(ref ImDrawList self, Vector2 a, Vector2 b, uint col) + { + fixed (ImDrawList* pself = &self) + { + PrimRectNative((ImDrawList*)pself, a, b, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimRectUVNative(ImDrawList* self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[548])(self, a, b, uvA, uvB, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[548])((nint)self, a, b, uvA, uvB, col); + #endif + } + + /// + /// To be documented. + /// + public static void PrimRectUV(ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + PrimRectUVNative(self, a, b, uvA, uvB, col); + } + + /// + /// To be documented. + /// + public static void PrimRectUV(ref ImDrawList self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + fixed (ImDrawList* pself = &self) + { + PrimRectUVNative((ImDrawList*)pself, a, b, uvA, uvB, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimQuadUVNative(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[549])(self, a, b, c, d, uvA, uvB, uvC, uvD, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[549])((nint)self, a, b, c, d, uvA, uvB, uvC, uvD, col); + #endif + } + + /// + /// To be documented. + /// + public static void PrimQuadUV(ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + PrimQuadUVNative(self, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + + /// + /// To be documented. + /// + public static void PrimQuadUV(ref ImDrawList self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + fixed (ImDrawList* pself = &self) + { + PrimQuadUVNative((ImDrawList*)pself, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimWriteVtxNative(ImDrawList* self, Vector2 pos, Vector2 uv, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[550])(self, pos, uv, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[550])((nint)self, pos, uv, col); + #endif + } + + /// + /// To be documented. + /// + public static void PrimWriteVtx(ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col) + { + PrimWriteVtxNative(self, pos, uv, col); + } + + /// + /// To be documented. + /// + public static void PrimWriteVtx(ref ImDrawList self, Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* pself = &self) + { + PrimWriteVtxNative((ImDrawList*)pself, pos, uv, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimWriteIdxNative(ImDrawList* self, ushort idx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[551])(self, idx); + #else + ((delegate* unmanaged[Cdecl])funcTable[551])((nint)self, idx); + #endif + } + + /// + /// To be documented. + /// + public static void PrimWriteIdx(ImDrawListPtr self, ushort idx) + { + PrimWriteIdxNative(self, idx); + } + + /// + /// To be documented. + /// + public static void PrimWriteIdx(ref ImDrawList self, ushort idx) + { + fixed (ImDrawList* pself = &self) + { + PrimWriteIdxNative((ImDrawList*)pself, idx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PrimVtxNative(ImDrawList* self, Vector2 pos, Vector2 uv, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[552])(self, pos, uv, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[552])((nint)self, pos, uv, col); + #endif + } + + /// + /// To be documented. + /// + public static void PrimVtx(ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col) + { + PrimVtxNative(self, pos, uv, col); + } + + /// + /// To be documented. + /// + public static void PrimVtx(ref ImDrawList self, Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* pself = &self) + { + PrimVtxNative((ImDrawList*)pself, pos, uv, col); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _ResetForNewFrameNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[553])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[553])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void _ResetForNewFrame(ImDrawListPtr self) + { + _ResetForNewFrameNative(self); + } + + /// + /// To be documented. + /// + public static void _ResetForNewFrame(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + _ResetForNewFrameNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _ClearFreeMemoryNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[554])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[554])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void _ClearFreeMemory(ImDrawListPtr self) + { + _ClearFreeMemoryNative(self); + } + + /// + /// To be documented. + /// + public static void _ClearFreeMemory(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + _ClearFreeMemoryNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _PopUnusedDrawCmdNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[555])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[555])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void _PopUnusedDrawCmd(ImDrawListPtr self) + { + _PopUnusedDrawCmdNative(self); + } + + /// + /// To be documented. + /// + public static void _PopUnusedDrawCmd(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + _PopUnusedDrawCmdNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _TryMergeDrawCmdsNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[556])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[556])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void _TryMergeDrawCmds(ImDrawListPtr self) + { + _TryMergeDrawCmdsNative(self); + } + + /// + /// To be documented. + /// + public static void _TryMergeDrawCmds(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + _TryMergeDrawCmdsNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _OnChangedClipRectNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[557])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[557])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void _OnChangedClipRect(ImDrawListPtr self) + { + _OnChangedClipRectNative(self); + } + + /// + /// To be documented. + /// + public static void _OnChangedClipRect(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + _OnChangedClipRectNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _OnChangedTextureIDNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[558])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[558])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void _OnChangedTextureID(ImDrawListPtr self) + { + _OnChangedTextureIDNative(self); + } + + /// + /// To be documented. + /// + public static void _OnChangedTextureID(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + _OnChangedTextureIDNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _OnChangedVtxOffsetNative(ImDrawList* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[559])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[559])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void _OnChangedVtxOffset(ImDrawListPtr self) + { + _OnChangedVtxOffsetNative(self); + } + + /// + /// To be documented. + /// + public static void _OnChangedVtxOffset(ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + _OnChangedVtxOffsetNative((ImDrawList*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int _CalcCircleAutoSegmentCountNative(ImDrawList* self, float radius) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[560])(self, radius); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[560])((nint)self, radius); + #endif + } + + /// + /// To be documented. + /// + public static int _CalcCircleAutoSegmentCount(ImDrawListPtr self, float radius) + { + int ret = _CalcCircleAutoSegmentCountNative(self, radius); + return ret; + } + + /// + /// To be documented. + /// + public static int _CalcCircleAutoSegmentCount(ref ImDrawList self, float radius) + { + fixed (ImDrawList* pself = &self) + { + int ret = _CalcCircleAutoSegmentCountNative((ImDrawList*)pself, radius); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _PathArcToFastExNative(ImDrawList* self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[561])(self, center, radius, aMinSample, aMaxSample, aStep); + #else + ((delegate* unmanaged[Cdecl])funcTable[561])((nint)self, center, radius, aMinSample, aMaxSample, aStep); + #endif + } + + /// + /// To be documented. + /// + public static void _PathArcToFastEx(ImDrawListPtr self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + _PathArcToFastExNative(self, center, radius, aMinSample, aMaxSample, aStep); + } + + /// + /// To be documented. + /// + public static void _PathArcToFastEx(ref ImDrawList self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + fixed (ImDrawList* pself = &self) + { + _PathArcToFastExNative((ImDrawList*)pself, center, radius, aMinSample, aMaxSample, aStep); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _PathArcToNNative(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[562])(self, center, radius, aMin, aMax, numSegments); + #else + ((delegate* unmanaged[Cdecl])funcTable[562])((nint)self, center, radius, aMin, aMax, numSegments); + #endif + } + + /// + /// To be documented. + /// + public static void _PathArcToN(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + _PathArcToNNative(self, center, radius, aMin, aMax, numSegments); + } + + /// + /// To be documented. + /// + public static void _PathArcToN(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + _PathArcToNNative((ImDrawList*)pself, center, radius, aMin, aMax, numSegments); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawData* ImDrawDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[563])(); + #else + return (ImDrawData*)((delegate* unmanaged[Cdecl])funcTable[563])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawDataPtr ImDrawData() + { + ImDrawDataPtr ret = ImDrawDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImDrawData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[564])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[564])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImDrawDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImDrawData self) + { + fixed (ImDrawData* pself = &self) + { + DestroyNative((ImDrawData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearNative(ImDrawData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[565])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[565])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Clear(ImDrawDataPtr self) + { + ClearNative(self); + } + + /// + /// To be documented. + /// + public static void Clear(ref ImDrawData self) + { + fixed (ImDrawData* pself = &self) + { + ClearNative((ImDrawData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DeIndexAllBuffersNative(ImDrawData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[566])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[566])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void DeIndexAllBuffers(ImDrawDataPtr self) + { + DeIndexAllBuffersNative(self); + } + + /// + /// To be documented. + /// + public static void DeIndexAllBuffers(ref ImDrawData self) + { + fixed (ImDrawData* pself = &self) + { + DeIndexAllBuffersNative((ImDrawData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ScaleClipRectsNative(ImDrawData* self, Vector2 fbScale) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[567])(self, fbScale); + #else + ((delegate* unmanaged[Cdecl])funcTable[567])((nint)self, fbScale); + #endif + } + + /// + /// To be documented. + /// + public static void ScaleClipRects(ImDrawDataPtr self, Vector2 fbScale) + { + ScaleClipRectsNative(self, fbScale); + } + + /// + /// To be documented. + /// + public static void ScaleClipRects(ref ImDrawData self, Vector2 fbScale) + { + fixed (ImDrawData* pself = &self) + { + ScaleClipRectsNative((ImDrawData*)pself, fbScale); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFontConfig* ImFontConfigNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[568])(); + #else + return (ImFontConfig*)((delegate* unmanaged[Cdecl])funcTable[568])(); + #endif + } + + /// + /// To be documented. + /// + public static ImFontConfigPtr ImFontConfig() + { + ImFontConfigPtr ret = ImFontConfigNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImFontConfig* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[569])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[569])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImFontConfigPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImFontConfig self) + { + fixed (ImFontConfig* pself = &self) + { + DestroyNative((ImFontConfig*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilderNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[570])(); + #else + return (ImFontGlyphRangesBuilder*)((delegate* unmanaged[Cdecl])funcTable[570])(); + #endif + } + + /// + /// To be documented. + /// + public static ImFontGlyphRangesBuilderPtr ImFontGlyphRangesBuilder() + { + ImFontGlyphRangesBuilderPtr ret = ImFontGlyphRangesBuilderNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImFontGlyphRangesBuilder* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[571])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[571])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImFontGlyphRangesBuilderPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImFontGlyphRangesBuilder self) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + DestroyNative((ImFontGlyphRangesBuilder*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearNative(ImFontGlyphRangesBuilder* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[572])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[572])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Clear(ImFontGlyphRangesBuilderPtr self) + { + ClearNative(self); + } + + /// + /// To be documented. + /// + public static void Clear(ref ImFontGlyphRangesBuilder self) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + ClearNative((ImFontGlyphRangesBuilder*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte GetBitNative(ImFontGlyphRangesBuilder* self, ulong n) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[573])(self, n); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[573])((nint)self, n); + #endif + } + + /// + /// To be documented. + /// + public static bool GetBit(ImFontGlyphRangesBuilderPtr self, ulong n) + { + byte ret = GetBitNative(self, n); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool GetBit(ref ImFontGlyphRangesBuilder self, ulong n) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + byte ret = GetBitNative((ImFontGlyphRangesBuilder*)pself, n); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetBit(ImFontGlyphRangesBuilderPtr self, nuint n) + { + byte ret = GetBitNative(self, n); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool GetBit(ref ImFontGlyphRangesBuilder self, nuint n) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + byte ret = GetBitNative((ImFontGlyphRangesBuilder*)pself, n); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetBitNative(ImFontGlyphRangesBuilder* self, ulong n) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[574])(self, n); + #else + ((delegate* unmanaged[Cdecl])funcTable[574])((nint)self, n); + #endif + } + + /// + /// To be documented. + /// + public static void SetBit(ImFontGlyphRangesBuilderPtr self, ulong n) + { + SetBitNative(self, n); + } + + /// + /// To be documented. + /// + public static void SetBit(ref ImFontGlyphRangesBuilder self, ulong n) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + SetBitNative((ImFontGlyphRangesBuilder*)pself, n); + } + } + + /// + /// To be documented. + /// + public static void SetBit(ImFontGlyphRangesBuilderPtr self, nuint n) + { + SetBitNative(self, n); + } + + /// + /// To be documented. + /// + public static void SetBit(ref ImFontGlyphRangesBuilder self, nuint n) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + SetBitNative((ImFontGlyphRangesBuilder*)pself, n); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddCharNative(ImFontGlyphRangesBuilder* self, ushort c) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[575])(self, c); + #else + ((delegate* unmanaged[Cdecl])funcTable[575])((nint)self, c); + #endif + } + + /// + /// To be documented. + /// + public static void AddChar(ImFontGlyphRangesBuilderPtr self, ushort c) + { + AddCharNative(self, c); + } + + /// + /// To be documented. + /// + public static void AddChar(ref ImFontGlyphRangesBuilder self, ushort c) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + AddCharNative((ImFontGlyphRangesBuilder*)pself, c); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddTextNative(ImFontGlyphRangesBuilder* self, byte* text, byte* textEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[576])(self, text, textEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[576])((nint)self, (nint)text, (nint)textEnd); + #endif + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, byte* textEnd) + { + AddTextNative(self, text, textEnd); + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text) + { + AddTextNative(self, text, (byte*)(default)); + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, text, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + AddTextNative(self, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text) + { + fixed (byte* ptext = &text) + { + AddTextNative(self, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + AddTextNative(self, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + AddTextNative(self, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, byte* textEnd) + { + 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; + } + AddTextNative(self, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, 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; + } + AddTextNative(self, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = &text) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = &text) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = text) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = text) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, string text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + 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; + } + AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, string text) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + 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; + } + AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, string textEnd) + { + 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; + } + AddTextNative(self, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + 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; + } + AddTextNative((ImFontGlyphRangesBuilder*)pself, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, string textEnd) + { + 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; + } + 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; + } + AddTextNative(self, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + AddTextNative(self, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + AddTextNative(self, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative(self, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + AddTextNative(self, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, string text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + 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; + } + 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; + } + AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = &text) + { + 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; + } + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (byte* ptext = text) + { + 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; + } + AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, string text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddText(ref ImFontGlyphRangesBuilder self, string text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddRangesNative(ImFontGlyphRangesBuilder* self, ushort* ranges) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[577])(self, ranges); + #else + ((delegate* unmanaged[Cdecl])funcTable[577])((nint)self, (nint)ranges); + #endif + } + + /// + /// To be documented. + /// + public static void AddRanges(ImFontGlyphRangesBuilderPtr self, ushort* ranges) + { + AddRangesNative(self, ranges); + } + + /// + /// To be documented. + /// + public static void AddRanges(ref ImFontGlyphRangesBuilder self, ushort* ranges) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + AddRangesNative((ImFontGlyphRangesBuilder*)pself, ranges); + } + } + + /// + /// To be documented. + /// + public static void AddRanges(ImFontGlyphRangesBuilderPtr self, ref ushort ranges) + { + fixed (ushort* pranges = &ranges) + { + AddRangesNative(self, (ushort*)pranges); + } + } + + /// + /// To be documented. + /// + public static void AddRanges(ref ImFontGlyphRangesBuilder self, ref ushort ranges) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (ushort* pranges = &ranges) + { + AddRangesNative((ImFontGlyphRangesBuilder*)pself, (ushort*)pranges); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BuildRangesNative(ImFontGlyphRangesBuilder* self, ImVector* outRanges) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, void>)funcTable[578])(self, outRanges); + #else + ((delegate* unmanaged[Cdecl])funcTable[578])((nint)self, (nint)outRanges); + #endif + } + + /// + /// To be documented. + /// + public static void BuildRanges(ImFontGlyphRangesBuilderPtr self, ImVector* outRanges) + { + BuildRangesNative(self, outRanges); + } + + /// + /// To be documented. + /// + public static void BuildRanges(ref ImFontGlyphRangesBuilder self, ImVector* outRanges) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + BuildRangesNative((ImFontGlyphRangesBuilder*)pself, outRanges); + } + } + + /// + /// To be documented. + /// + public static void BuildRanges(ImFontGlyphRangesBuilderPtr self, ref ImVector outRanges) + { + fixed (ImVector* poutRanges = &outRanges) + { + BuildRangesNative(self, (ImVector*)poutRanges); + } + } + + /// + /// To be documented. + /// + public static void BuildRanges(ref ImFontGlyphRangesBuilder self, ref ImVector outRanges) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (ImVector* poutRanges = &outRanges) + { + BuildRangesNative((ImFontGlyphRangesBuilder*)pself, (ImVector*)poutRanges); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFontAtlasCustomRect* ImFontAtlasCustomRectNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[579])(); + #else + return (ImFontAtlasCustomRect*)((delegate* unmanaged[Cdecl])funcTable[579])(); + #endif + } + + /// + /// To be documented. + /// + public static ImFontAtlasCustomRectPtr ImFontAtlasCustomRect() + { + ImFontAtlasCustomRectPtr ret = ImFontAtlasCustomRectNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImFontAtlasCustomRect* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[580])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[580])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImFontAtlasCustomRectPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImFontAtlasCustomRect self) + { + fixed (ImFontAtlasCustomRect* pself = &self) + { + DestroyNative((ImFontAtlasCustomRect*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsPackedNative(ImFontAtlasCustomRect* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[581])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[581])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsPacked(ImFontAtlasCustomRectPtr self) + { + byte ret = IsPackedNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsPacked(ref ImFontAtlasCustomRect self) + { + fixed (ImFontAtlasCustomRect* pself = &self) + { + byte ret = IsPackedNative((ImFontAtlasCustomRect*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFontAtlas* ImFontAtlasNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[582])(); + #else + return (ImFontAtlas*)((delegate* unmanaged[Cdecl])funcTable[582])(); + #endif + } + + /// + /// To be documented. + /// + public static ImFontAtlasPtr ImFontAtlas() + { + ImFontAtlasPtr ret = ImFontAtlasNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[583])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[583])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImFontAtlasPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + DestroyNative((ImFontAtlas*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* AddFontNative(ImFontAtlas* self, ImFontConfig* fontCfg) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[584])(self, fontCfg); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[584])((nint)self, (nint)fontCfg); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFont(ImFontAtlasPtr self, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = AddFontNative(self, fontCfg); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFont(ref ImFontAtlas self, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontNative((ImFontAtlas*)pself, fontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFont(ImFontAtlasPtr self, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontNative(self, (ImFontConfig*)pfontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFont(ref ImFontAtlas self, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontNative((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* AddFontDefaultNative(ImFontAtlas* self, ImFontConfig* fontCfg) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[585])(self, fontCfg); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[585])((nint)self, (nint)fontCfg); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontDefault(ImFontAtlasPtr self, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = AddFontDefaultNative(self, fontCfg); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontDefault(ImFontAtlasPtr self) + { + ImFontPtr ret = AddFontDefaultNative(self, (ImFontConfig*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontDefault(ref ImFontAtlas self, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, fontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontDefault(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, (ImFontConfig*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontDefault(ImFontAtlasPtr self, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontDefaultNative(self, (ImFontConfig*)pfontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontDefault(ref ImFontAtlas self, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* AddFontFromFileTTFNative(ImFontAtlas* self, byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[586])(self, filename, sizePixels, fontCfg, glyphRanges); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[586])((nint)self, (nint)filename, sizePixels, (nint)fontCfg, (nint)glyphRanges); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.093.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.093.cs new file mode 100644 index 000000000..0771e5b87 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.093.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* AddFontFromMemoryTTFNative(ImFontAtlas* self, void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[587])(self, fontData, fontSize, sizePixels, fontCfg, glyphRanges); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[587])((nint)self, (nint)fontData, fontSize, sizePixels, (nint)fontCfg, (nint)glyphRanges); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* AddFontFromMemoryCompressedTTFNative(ImFontAtlas* self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[588])(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[588])((nint)self, (nint)compressedFontData, compressedFontSize, sizePixels, (nint)fontCfg, (nint)glyphRanges); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* AddFontFromMemoryCompressedBase85TTFNative(ImFontAtlas* self, byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[589])(self, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[589])((nint)self, (nint)compressedFontDatabase85, sizePixels, (nint)fontCfg, (nint)glyphRanges); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearInputDataNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[590])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[590])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearInputData(ImFontAtlasPtr self) + { + ClearInputDataNative(self); + } + + /// + /// To be documented. + /// + public static void ClearInputData(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ClearInputDataNative((ImFontAtlas*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearTexDataNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[591])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[591])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearTexData(ImFontAtlasPtr self) + { + ClearTexDataNative(self); + } + + /// + /// To be documented. + /// + public static void ClearTexData(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ClearTexDataNative((ImFontAtlas*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearFontsNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[592])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[592])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearFonts(ImFontAtlasPtr self) + { + ClearFontsNative(self); + } + + /// + /// To be documented. + /// + public static void ClearFonts(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ClearFontsNative((ImFontAtlas*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[593])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[593])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Clear(ImFontAtlasPtr self) + { + ClearNative(self); + } + + /// + /// To be documented. + /// + public static void Clear(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ClearNative((ImFontAtlas*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BuildNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[594])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[594])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool Build(ImFontAtlasPtr self) + { + byte ret = BuildNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Build(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + byte ret = BuildNative((ImFontAtlas*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetTexDataAsAlpha8Native(ImFontAtlas* self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[595])(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + #else + ((delegate* unmanaged[Cdecl])funcTable[595])((nint)self, textureIndex, (nint)outPixels, (nint)outWidth, (nint)outHeight, (nint)outBytesPerPixel); + #endif + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsAlpha8(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsAlpha8Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetTexDataAsRGBA32Native(ImFontAtlas* self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[596])(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + #else + ((delegate* unmanaged[Cdecl])funcTable[596])((nint)self, textureIndex, (nint)outPixels, (nint)outWidth, (nint)outHeight, (nint)outBytesPerPixel); + #endif + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void GetTexDataAsRGBA32(ref ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + GetTexDataAsRGBA32Native((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsBuiltNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[597])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[597])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsBuilt(ImFontAtlasPtr self) + { + byte ret = IsBuiltNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsBuilt(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + byte ret = IsBuiltNative((ImFontAtlas*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetTexIDNative(ImFontAtlas* self, int textureIndex, ImTextureID id) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[598])(self, textureIndex, id); + #else + ((delegate* unmanaged[Cdecl])funcTable[598])((nint)self, textureIndex, id); + #endif + } + + /// + /// To be documented. + /// + public static void SetTexID(ImFontAtlasPtr self, int textureIndex, ImTextureID id) + { + SetTexIDNative(self, textureIndex, id); + } + + /// + /// To be documented. + /// + public static void SetTexID(ref ImFontAtlas self, int textureIndex, ImTextureID id) + { + fixed (ImFontAtlas* pself = &self) + { + SetTexIDNative((ImFontAtlas*)pself, textureIndex, id); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearTexIDNative(ImFontAtlas* self, ImTextureID nullId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[599])(self, nullId); + #else + ((delegate* unmanaged[Cdecl])funcTable[599])((nint)self, nullId); + #endif + } + + /// + /// To be documented. + /// + public static void ClearTexID(ImFontAtlasPtr self, ImTextureID nullId) + { + ClearTexIDNative(self, nullId); + } + + /// + /// To be documented. + /// + public static void ClearTexID(ref ImFontAtlas self, ImTextureID nullId) + { + fixed (ImFontAtlas* pself = &self) + { + ClearTexIDNative((ImFontAtlas*)pself, nullId); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesDefaultNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[600])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[600])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesDefault(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesDefaultNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesDefault(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesDefaultNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesKoreanNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[601])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[601])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesKorean(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesKoreanNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesKorean(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesKoreanNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesJapaneseNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[602])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[602])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesJapanese(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesJapaneseNative(self); + return ret; + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.094.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.094.cs new file mode 100644 index 000000000..9a68e12b6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.094.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesJapanese(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesJapaneseNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesChineseFullNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[603])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[603])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesChineseFull(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesChineseFullNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesChineseFull(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesChineseFullNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesChineseSimplifiedCommonNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[604])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[604])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesChineseSimplifiedCommon(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesChineseSimplifiedCommonNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesChineseSimplifiedCommon(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesChineseSimplifiedCommonNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesCyrillicNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[605])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[605])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesCyrillic(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesCyrillicNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesCyrillic(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesCyrillicNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesThaiNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[606])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[606])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesThai(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesThaiNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesThai(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesThaiNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort* GetGlyphRangesVietnameseNative(ImFontAtlas* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[607])(self); + #else + return (ushort*)((delegate* unmanaged[Cdecl])funcTable[607])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesVietnamese(ImFontAtlasPtr self) + { + ushort* ret = GetGlyphRangesVietnameseNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static ushort* GetGlyphRangesVietnamese(ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = GetGlyphRangesVietnameseNative((ImFontAtlas*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int AddCustomRectRegularNative(ImFontAtlas* self, int width, int height) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[608])(self, width, height); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[608])((nint)self, width, height); + #endif + } + + /// + /// To be documented. + /// + public static int AddCustomRectRegular(ImFontAtlasPtr self, int width, int height) + { + int ret = AddCustomRectRegularNative(self, width, height); + return ret; + } + + /// + /// To be documented. + /// + public static int AddCustomRectRegular(ref ImFontAtlas self, int width, int height) + { + fixed (ImFontAtlas* pself = &self) + { + int ret = AddCustomRectRegularNative((ImFontAtlas*)pself, width, height); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int AddCustomRectFontGlyphNative(ImFontAtlas* self, ImFont* font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[609])(self, font, id, width, height, advanceX, offset); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[609])((nint)self, (nint)font, id, width, height, advanceX, offset); + #endif + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + int ret = AddCustomRectFontGlyphNative(self, font, id, width, height, advanceX, offset); + return ret; + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ImFontPtr font, ushort id, int width, int height, float advanceX) + { + int ret = AddCustomRectFontGlyphNative(self, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* pself = &self) + { + int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, font, id, width, height, advanceX, offset); + return ret; + } + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ImFontPtr font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* pself = &self) + { + int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFont* pfont = &font) + { + int ret = AddCustomRectFontGlyphNative(self, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFont* pfont = &font) + { + int ret = AddCustomRectFontGlyphNative(self, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFont* pfont = &font) + { + int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFont* pfont = &font) + { + int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFontAtlasCustomRect* GetCustomRectByIndexNative(ImFontAtlas* self, int index) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[610])(self, index); + #else + return (ImFontAtlasCustomRect*)((delegate* unmanaged[Cdecl])funcTable[610])((nint)self, index); + #endif + } + + /// + /// To be documented. + /// + public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(ImFontAtlasPtr self, int index) + { + ImFontAtlasCustomRectPtr ret = GetCustomRectByIndexNative(self, index); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(ref ImFontAtlas self, int index) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontAtlasCustomRectPtr ret = GetCustomRectByIndexNative((ImFontAtlas*)pself, index); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void CalcCustomRectUVNative(ImFontAtlas* self, ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[611])(self, rect, outUvMin, outUvMax); + #else + ((delegate* unmanaged[Cdecl])funcTable[611])((nint)self, (nint)rect, (nint)outUvMin, (nint)outUvMax); + #endif + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax) + { + CalcCustomRectUVNative(self, rect, outUvMin, outUvMax); + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, rect, outUvMin, outUvMax); + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + CalcCustomRectUVNative(self, rect, (Vector2*)poutUvMin, outUvMax); + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, rect, (Vector2*)poutUvMin, outUvMax); + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative(self, rect, outUvMin, (Vector2*)poutUvMax); + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, rect, outUvMin, (Vector2*)poutUvMax); + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative(self, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte GetMouseCursorTexDataNative(ImFontAtlas* self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[612])(self, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[612])((nint)self, cursor, (nint)outOffset, (nint)outSize, (nint)outUvBorder, (nint)outUvFill, (nint)textureIndex); + #endif + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool GetMouseCursorTexData(ref ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = GetMouseCursorTexDataNative((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFont* ImFontNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[613])(); + #else + return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[613])(); + #endif + } + + /// + /// To be documented. + /// + public static ImFontPtr ImFont() + { + ImFontPtr ret = ImFontNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImFont* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[614])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[614])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImFontPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImFont self) + { + fixed (ImFont* pself = &self) + { + DestroyNative((ImFont*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFontGlyph* FindGlyphNative(ImFont* self, ushort c) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[615])(self, c); + #else + return (ImFontGlyph*)((delegate* unmanaged[Cdecl])funcTable[615])((nint)self, c); + #endif + } + + /// + /// To be documented. + /// + public static ImFontGlyphPtr FindGlyph(ImFontPtr self, ushort c) + { + ImFontGlyphPtr ret = FindGlyphNative(self, c); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontGlyphPtr FindGlyph(ref ImFont self, ushort c) + { + fixed (ImFont* pself = &self) + { + ImFontGlyphPtr ret = FindGlyphNative((ImFont*)pself, c); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImFontGlyph* FindGlyphNoFallbackNative(ImFont* self, ushort c) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[616])(self, c); + #else + return (ImFontGlyph*)((delegate* unmanaged[Cdecl])funcTable[616])((nint)self, c); + #endif + } + + /// + /// To be documented. + /// + public static ImFontGlyphPtr FindGlyphNoFallback(ImFontPtr self, ushort c) + { + ImFontGlyphPtr ret = FindGlyphNoFallbackNative(self, c); + return ret; + } + + /// + /// To be documented. + /// + public static ImFontGlyphPtr FindGlyphNoFallback(ref ImFont self, ushort c) + { + fixed (ImFont* pself = &self) + { + ImFontGlyphPtr ret = FindGlyphNoFallbackNative((ImFont*)pself, c); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetDistanceAdjustmentForPairNative(ImFont* self, ushort leftC, ushort rightC) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[617])(self, leftC, rightC); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[617])((nint)self, leftC, rightC); + #endif + } + + /// + /// To be documented. + /// + public static float GetDistanceAdjustmentForPair(ImFontPtr self, ushort leftC, ushort rightC) + { + float ret = GetDistanceAdjustmentForPairNative(self, leftC, rightC); + return ret; + } + + /// + /// To be documented. + /// + public static float GetDistanceAdjustmentForPair(ref ImFont self, ushort leftC, ushort rightC) + { + fixed (ImFont* pself = &self) + { + float ret = GetDistanceAdjustmentForPairNative((ImFont*)pself, leftC, rightC); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetCharAdvanceNative(ImFont* self, ushort c) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[618])(self, c); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[618])((nint)self, c); + #endif + } + + /// + /// To be documented. + /// + public static float GetCharAdvance(ImFontPtr self, ushort c) + { + float ret = GetCharAdvanceNative(self, c); + return ret; + } + + /// + /// To be documented. + /// + public static float GetCharAdvance(ref ImFont self, ushort c) + { + fixed (ImFont* pself = &self) + { + float ret = GetCharAdvanceNative((ImFont*)pself, c); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsLoadedNative(ImFont* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[619])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[619])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsLoaded(ImFontPtr self) + { + byte ret = IsLoadedNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsLoaded(ref ImFont self) + { + fixed (ImFont* pself = &self) + { + byte ret = IsLoadedNative((ImFont*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetDebugNameNative(ImFont* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[620])(self); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[620])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetDebugName(ImFontPtr self) + { + byte* ret = GetDebugNameNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static string GetDebugNameS(ImFontPtr self) + { + string ret = Utils.DecodeStringUTF8(GetDebugNameNative(self)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetDebugName(ref ImFont self) + { + fixed (ImFont* pself = &self) + { + byte* ret = GetDebugNameNative((ImFont*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetDebugNameS(ref ImFont self) + { + fixed (ImFont* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetDebugNameNative((ImFont*)pself)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void CalcTextSizeANative(Vector2* pOut, ImFont* self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[621])(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + #else + ((delegate* unmanaged[Cdecl])funcTable[621])((nint)pOut, (nint)self, size, maxWidth, wrapWidth, (nint)textBegin, (nint)textEnd, (nint)remaining); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin) + { + fixed (ImFont* pself = &self) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.095.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.095.cs new file mode 100644 index 000000000..e40d2a240 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.095.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) + { + 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) + { + 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) + { + 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, 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; + } + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) + { + 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) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, 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) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) + { + 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) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, 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) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) + { + 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** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) + { + 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** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) + { + 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** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) + { + 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** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.096.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.096.cs new file mode 100644 index 000000000..4f72cd850 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.096.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) + { + 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) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + 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) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + fixed (byte** premaining = &remaining) + { + Vector2 ret; + CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImFont* pself = &self) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) + { + fixed (ImFont* pself = &self) + { + 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) + { + fixed (byte** premaining = &remaining) + { + CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* CalcWordWrapPositionANative(ImFont* self, float scale, byte* text, byte* textEnd, float wrapWidth) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[622])(self, scale, text, textEnd, wrapWidth); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[622])((nint)self, scale, (nint)text, (nint)textEnd, wrapWidth); + #endif + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, byte* textEnd, float wrapWidth) + { + byte* ret = CalcWordWrapPositionANative(self, scale, text, textEnd, wrapWidth); + return ret; + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, byte* textEnd, float wrapWidth) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, textEnd, wrapWidth)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, textEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, textEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, byte* textEnd, float wrapWidth) + { + 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; + } + byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, textEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, byte* textEnd, float wrapWidth) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, textEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, textEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, textEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, string textEnd, float wrapWidth) + { + 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; + } + byte* ret = CalcWordWrapPositionANative(self, scale, text, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, string textEnd, float wrapWidth) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, string textEnd, float wrapWidth) + { + 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; + } + 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; + } + byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, pStr1, wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, string textEnd, float wrapWidth) + { + 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; + } + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, pStr1, wrapWidth)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, ref byte textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, ref byte textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + 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; + } + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, pStr1, wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, pStr1, wrapWidth)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + 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; + } + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = &text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + 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; + } + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptext = text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void RenderCharNative(ImFont* self, ImDrawList* drawList, float size, Vector2 pos, uint col, ushort c) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[623])(self, drawList, size, pos, col, c); + #else + ((delegate* unmanaged[Cdecl])funcTable[623])((nint)self, (nint)drawList, size, pos, col, c); + #endif + } + + /// + /// To be documented. + /// + public static void RenderChar(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + RenderCharNative(self, drawList, size, pos, col, c); + } + + /// + /// To be documented. + /// + public static void RenderChar(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* pself = &self) + { + RenderCharNative((ImFont*)pself, drawList, size, pos, col, c); + } + } + + /// + /// To be documented. + /// + public static void RenderChar(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderCharNative(self, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + + /// + /// To be documented. + /// + public static void RenderChar(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderCharNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void RenderTextNative(ImFont* self, ImDrawList* drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, byte cpuFineClip) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[624])(self, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip); + #else + ((delegate* unmanaged[Cdecl])funcTable[624])((nint)self, (nint)drawList, size, pos, col, clipRect, (nint)textBegin, (nint)textEnd, wrapWidth, cpuFineClip); + #endif + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.097.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.097.cs new file mode 100644 index 000000000..9b9d7a533 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.097.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + 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) + { + RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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; + } + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* pself = &self) + { + 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) + { + RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BuildLookupTableNative(ImFont* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[625])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[625])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void BuildLookupTable(ImFontPtr self) + { + BuildLookupTableNative(self); + } + + /// + /// To be documented. + /// + public static void BuildLookupTable(ref ImFont self) + { + fixed (ImFont* pself = &self) + { + BuildLookupTableNative((ImFont*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearOutputDataNative(ImFont* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[626])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[626])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearOutputData(ImFontPtr self) + { + ClearOutputDataNative(self); + } + + /// + /// To be documented. + /// + public static void ClearOutputData(ref ImFont self) + { + fixed (ImFont* pself = &self) + { + ClearOutputDataNative((ImFont*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GrowIndexNative(ImFont* self, int newSize) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[627])(self, newSize); + #else + ((delegate* unmanaged[Cdecl])funcTable[627])((nint)self, newSize); + #endif + } + + /// + /// To be documented. + /// + public static void GrowIndex(ImFontPtr self, int newSize) + { + GrowIndexNative(self, newSize); + } + + /// + /// To be documented. + /// + public static void GrowIndex(ref ImFont self, int newSize) + { + fixed (ImFont* pself = &self) + { + GrowIndexNative((ImFont*)pself, newSize); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddGlyphNative(ImFont* self, ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[628])(self, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + #else + ((delegate* unmanaged[Cdecl])funcTable[628])((nint)self, (nint)srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + #endif + } + + /// + /// To be documented. + /// + public static void AddGlyph(ImFontPtr self, ImFontConfigPtr srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + AddGlyphNative(self, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + + /// + /// To be documented. + /// + public static void AddGlyph(ref ImFont self, ImFontConfigPtr srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* pself = &self) + { + AddGlyphNative((ImFont*)pself, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + + /// + /// To be documented. + /// + public static void AddGlyph(ImFontPtr self, ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + AddGlyphNative(self, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + + /// + /// To be documented. + /// + public static void AddGlyph(ref ImFont self, ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* pself = &self) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + AddGlyphNative((ImFont*)pself, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddRemapCharNative(ImFont* self, ushort dst, ushort src, byte overwriteDst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[629])(self, dst, src, overwriteDst); + #else + ((delegate* unmanaged[Cdecl])funcTable[629])((nint)self, dst, src, overwriteDst); + #endif + } + + /// + /// To be documented. + /// + public static void AddRemapChar(ImFontPtr self, ushort dst, ushort src, bool overwriteDst) + { + AddRemapCharNative(self, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void AddRemapChar(ImFontPtr self, ushort dst, ushort src) + { + AddRemapCharNative(self, dst, src, (byte)(1)); + } + + /// + /// To be documented. + /// + public static void AddRemapChar(ref ImFont self, ushort dst, ushort src, bool overwriteDst) + { + fixed (ImFont* pself = &self) + { + AddRemapCharNative((ImFont*)pself, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void AddRemapChar(ref ImFont self, ushort dst, ushort src) + { + fixed (ImFont* pself = &self) + { + AddRemapCharNative((ImFont*)pself, dst, src, (byte)(1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetGlyphVisibleNative(ImFont* self, ushort c, byte visible) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[630])(self, c, visible); + #else + ((delegate* unmanaged[Cdecl])funcTable[630])((nint)self, c, visible); + #endif + } + + /// + /// To be documented. + /// + public static void SetGlyphVisible(ImFontPtr self, ushort c, bool visible) + { + SetGlyphVisibleNative(self, c, visible ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void SetGlyphVisible(ref ImFont self, ushort c, bool visible) + { + fixed (ImFont* pself = &self) + { + SetGlyphVisibleNative((ImFont*)pself, c, visible ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsGlyphRangeUnusedNative(ImFont* self, uint cBegin, uint cLast) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[631])(self, cBegin, cLast); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[631])((nint)self, cBegin, cLast); + #endif + } + + /// + /// To be documented. + /// + public static bool IsGlyphRangeUnused(ImFontPtr self, uint cBegin, uint cLast) + { + byte ret = IsGlyphRangeUnusedNative(self, cBegin, cLast); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsGlyphRangeUnused(ref ImFont self, uint cBegin, uint cLast) + { + fixed (ImFont* pself = &self) + { + byte ret = IsGlyphRangeUnusedNative((ImFont*)pself, cBegin, cLast); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddKerningPairNative(ImFont* self, ushort leftC, ushort rightC, float distanceAdjustment) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[632])(self, leftC, rightC, distanceAdjustment); + #else + ((delegate* unmanaged[Cdecl])funcTable[632])((nint)self, leftC, rightC, distanceAdjustment); + #endif + } + + /// + /// To be documented. + /// + public static void AddKerningPair(ImFontPtr self, ushort leftC, ushort rightC, float distanceAdjustment) + { + AddKerningPairNative(self, leftC, rightC, distanceAdjustment); + } + + /// + /// To be documented. + /// + public static void AddKerningPair(ref ImFont self, ushort leftC, ushort rightC, float distanceAdjustment) + { + fixed (ImFont* pself = &self) + { + AddKerningPairNative((ImFont*)pself, leftC, rightC, distanceAdjustment); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GetDistanceAdjustmentForPairFromHotDataNative(ImFont* self, ushort leftC, ImFontGlyphHotData* rightCInfo) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[633])(self, leftC, rightCInfo); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[633])((nint)self, leftC, (nint)rightCInfo); + #endif + } + + /// + /// To be documented. + /// + public static float GetDistanceAdjustmentForPairFromHotData(ImFontPtr self, ushort leftC, ImFontGlyphHotDataPtr rightCInfo) + { + float ret = GetDistanceAdjustmentForPairFromHotDataNative(self, leftC, rightCInfo); + return ret; + } + + /// + /// To be documented. + /// + public static float GetDistanceAdjustmentForPairFromHotData(ref ImFont self, ushort leftC, ImFontGlyphHotDataPtr rightCInfo) + { + fixed (ImFont* pself = &self) + { + float ret = GetDistanceAdjustmentForPairFromHotDataNative((ImFont*)pself, leftC, rightCInfo); + return ret; + } + } + + /// + /// To be documented. + /// + public static float GetDistanceAdjustmentForPairFromHotData(ImFontPtr self, ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = GetDistanceAdjustmentForPairFromHotDataNative(self, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + + /// + /// To be documented. + /// + public static float GetDistanceAdjustmentForPairFromHotData(ref ImFont self, ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFont* pself = &self) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = GetDistanceAdjustmentForPairFromHotDataNative((ImFont*)pself, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiViewport* ImGuiViewportNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[634])(); + #else + return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[634])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiViewportPtr ImGuiViewport() + { + ImGuiViewportPtr ret = ImGuiViewportNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiViewport* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[635])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[635])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiViewportPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + DestroyNative((ImGuiViewport*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetCenterNative(Vector2* pOut, ImGuiViewport* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[636])(pOut, self); + #else + ((delegate* unmanaged[Cdecl])funcTable[636])((nint)pOut, (nint)self); + #endif + } + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Functions/Functions.098.cs b/imgui/Dalamud.ImGui/Generated/Functions/Functions.098.cs new file mode 100644 index 000000000..5d17236e2 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Functions/Functions.098.cs @@ -0,0 +1,1931 @@ +// ------------------------------------------------------------------------------ +// +// 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; + +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + + /// + /// To be documented. + /// + public static Vector2 GetCenter(ImGuiViewportPtr self) + { + Vector2 ret; + GetCenterNative(&ret, self); + return ret; + } + + /// + /// To be documented. + /// + public static void GetCenter(Vector2* pOut, ImGuiViewportPtr self) + { + GetCenterNative(pOut, self); + } + + /// + /// To be documented. + /// + public static void GetCenter(ref Vector2 pOut, ImGuiViewportPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + GetCenterNative((Vector2*)ppOut, self); + } + } + + /// + /// To be documented. + /// + public static Vector2 GetCenter(ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + Vector2 ret; + GetCenterNative(&ret, (ImGuiViewport*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static void GetCenter(Vector2* pOut, ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + GetCenterNative(pOut, (ImGuiViewport*)pself); + } + } + + /// + /// To be documented. + /// + public static void GetCenter(ref Vector2 pOut, ref ImGuiViewport self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiViewport* pself = &self) + { + GetCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetWorkCenterNative(Vector2* pOut, ImGuiViewport* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[637])(pOut, self); + #else + ((delegate* unmanaged[Cdecl])funcTable[637])((nint)pOut, (nint)self); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetWorkCenter(ImGuiViewportPtr self) + { + Vector2 ret; + GetWorkCenterNative(&ret, self); + return ret; + } + + /// + /// To be documented. + /// + public static void GetWorkCenter(Vector2* pOut, ImGuiViewportPtr self) + { + GetWorkCenterNative(pOut, self); + } + + /// + /// To be documented. + /// + public static void GetWorkCenter(ref Vector2 pOut, ImGuiViewportPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + GetWorkCenterNative((Vector2*)ppOut, self); + } + } + + /// + /// To be documented. + /// + public static Vector2 GetWorkCenter(ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + Vector2 ret; + GetWorkCenterNative(&ret, (ImGuiViewport*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static void GetWorkCenter(Vector2* pOut, ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + GetWorkCenterNative(pOut, (ImGuiViewport*)pself); + } + } + + /// + /// To be documented. + /// + public static void GetWorkCenter(ref Vector2 pOut, ref ImGuiViewport self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiViewport* pself = &self) + { + GetWorkCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiPlatformIO* ImGuiPlatformIONative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[638])(); + #else + return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl])funcTable[638])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiPlatformIOPtr ImGuiPlatformIO() + { + ImGuiPlatformIOPtr ret = ImGuiPlatformIONative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiPlatformIO* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[639])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[639])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiPlatformIOPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiPlatformIO self) + { + fixed (ImGuiPlatformIO* pself = &self) + { + DestroyNative((ImGuiPlatformIO*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiPlatformMonitor* ImGuiPlatformMonitorNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[640])(); + #else + return (ImGuiPlatformMonitor*)((delegate* unmanaged[Cdecl])funcTable[640])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiPlatformMonitorPtr ImGuiPlatformMonitor() + { + ImGuiPlatformMonitorPtr ret = ImGuiPlatformMonitorNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiPlatformMonitor* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[641])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[641])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiPlatformMonitorPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiPlatformMonitor self) + { + fixed (ImGuiPlatformMonitor* pself = &self) + { + DestroyNative((ImGuiPlatformMonitor*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiPlatformImeData* ImGuiPlatformImeDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[642])(); + #else + return (ImGuiPlatformImeData*)((delegate* unmanaged[Cdecl])funcTable[642])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiPlatformImeDataPtr ImGuiPlatformImeData() + { + ImGuiPlatformImeDataPtr ret = ImGuiPlatformImeDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiPlatformImeData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[643])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[643])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiPlatformImeDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiPlatformImeData self) + { + fixed (ImGuiPlatformImeData* pself = &self) + { + DestroyNative((ImGuiPlatformImeData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetKeyIndexNative(ImGuiKey key) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[644])(key); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[644])(key); + #endif + } + + /// + /// To be documented. + /// + public static int GetKeyIndex(ImGuiKey key) + { + int ret = GetKeyIndexNative(key); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImVec1* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[645])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[645])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImVec1Ptr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImVec1 self) + { + fixed (ImVec1* pself = &self) + { + DestroyNative((ImVec1*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImVec2Ih* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[646])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[646])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImVec2IhPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImVec2Ih self) + { + fixed (ImVec2Ih* pself = &self) + { + DestroyNative((ImVec2Ih*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImRect* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[647])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[647])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImRectPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImRect self) + { + fixed (ImRect* pself = &self) + { + DestroyNative((ImRect*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImDrawListSharedData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[648])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[648])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImDrawListSharedDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImDrawListSharedData self) + { + fixed (ImDrawListSharedData* pself = &self) + { + DestroyNative((ImDrawListSharedData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiStyleMod* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[649])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[649])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiStyleModPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiStyleMod self) + { + fixed (ImGuiStyleMod* pself = &self) + { + DestroyNative((ImGuiStyleMod*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiComboPreviewData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[650])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[650])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiComboPreviewDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiComboPreviewData self) + { + fixed (ImGuiComboPreviewData* pself = &self) + { + DestroyNative((ImGuiComboPreviewData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiMenuColumns* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[651])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[651])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiMenuColumnsPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiMenuColumns self) + { + fixed (ImGuiMenuColumns* pself = &self) + { + DestroyNative((ImGuiMenuColumns*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiInputTextState* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[652])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[652])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiInputTextStatePtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + DestroyNative((ImGuiInputTextState*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiPopupData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[653])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[653])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiPopupDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiPopupData self) + { + fixed (ImGuiPopupData* pself = &self) + { + DestroyNative((ImGuiPopupData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiNextWindowData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[654])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[654])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiNextWindowDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiNextWindowData self) + { + fixed (ImGuiNextWindowData* pself = &self) + { + DestroyNative((ImGuiNextWindowData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiNextItemData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[655])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[655])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiNextItemDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiNextItemData self) + { + fixed (ImGuiNextItemData* pself = &self) + { + DestroyNative((ImGuiNextItemData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiLastItemData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[656])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[656])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiLastItemDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiLastItemData self) + { + fixed (ImGuiLastItemData* pself = &self) + { + DestroyNative((ImGuiLastItemData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStackSizes* StackSizesImGuiStackSizesNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[657])(); + #else + return (ImGuiStackSizes*)((delegate* unmanaged[Cdecl])funcTable[657])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStackSizesPtr StackSizesImGuiStackSizes() + { + ImGuiStackSizesPtr ret = StackSizesImGuiStackSizesNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StackSizesDestroyNative(ImGuiStackSizes* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[658])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[658])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void StackSizesDestroy(ImGuiStackSizesPtr self) + { + StackSizesDestroyNative(self); + } + + /// + /// To be documented. + /// + public static void StackSizesDestroy(ref ImGuiStackSizes self) + { + fixed (ImGuiStackSizes* pself = &self) + { + StackSizesDestroyNative((ImGuiStackSizes*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StackSizesSetToCurrentStateNative(ImGuiStackSizes* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[659])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[659])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void StackSizesSetToCurrentState(ImGuiStackSizesPtr self) + { + StackSizesSetToCurrentStateNative(self); + } + + /// + /// To be documented. + /// + public static void StackSizesSetToCurrentState(ref ImGuiStackSizes self) + { + fixed (ImGuiStackSizes* pself = &self) + { + StackSizesSetToCurrentStateNative((ImGuiStackSizes*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StackSizesCompareWithCurrentStateNative(ImGuiStackSizes* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[660])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[660])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void StackSizesCompareWithCurrentState(ImGuiStackSizesPtr self) + { + StackSizesCompareWithCurrentStateNative(self); + } + + /// + /// To be documented. + /// + public static void StackSizesCompareWithCurrentState(ref ImGuiStackSizes self) + { + fixed (ImGuiStackSizes* pself = &self) + { + StackSizesCompareWithCurrentStateNative((ImGuiStackSizes*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiPtrOrIndex* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[661])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[661])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiPtrOrIndexPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiPtrOrIndex self) + { + fixed (ImGuiPtrOrIndex* pself = &self) + { + DestroyNative((ImGuiPtrOrIndex*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiInputEvent* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[662])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[662])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiInputEventPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiInputEvent self) + { + fixed (ImGuiInputEvent* pself = &self) + { + DestroyNative((ImGuiInputEvent*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiListClipperData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[663])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[663])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiListClipperDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiListClipperData self) + { + fixed (ImGuiListClipperData* pself = &self) + { + DestroyNative((ImGuiListClipperData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiNavItemData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[664])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[664])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiNavItemDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiNavItemData self) + { + fixed (ImGuiNavItemData* pself = &self) + { + DestroyNative((ImGuiNavItemData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiOldColumnData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[665])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[665])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiOldColumnDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiOldColumnData self) + { + fixed (ImGuiOldColumnData* pself = &self) + { + DestroyNative((ImGuiOldColumnData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiOldColumns* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[666])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[666])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiOldColumnsPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiOldColumns self) + { + fixed (ImGuiOldColumns* pself = &self) + { + DestroyNative((ImGuiOldColumns*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiDockContext* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[667])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[667])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiDockContextPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiDockContext self) + { + fixed (ImGuiDockContext* pself = &self) + { + DestroyNative((ImGuiDockContext*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiWindowSettings* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[668])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[668])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiWindowSettingsPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiWindowSettings self) + { + fixed (ImGuiWindowSettings* pself = &self) + { + DestroyNative((ImGuiWindowSettings*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiSettingsHandler* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[669])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[669])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiSettingsHandlerPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiSettingsHandler self) + { + fixed (ImGuiSettingsHandler* pself = &self) + { + DestroyNative((ImGuiSettingsHandler*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiMetricsConfig* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[670])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[670])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiMetricsConfigPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiMetricsConfig self) + { + fixed (ImGuiMetricsConfig* pself = &self) + { + DestroyNative((ImGuiMetricsConfig*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiStackLevelInfo* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[671])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[671])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiStackLevelInfoPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiStackLevelInfo self) + { + fixed (ImGuiStackLevelInfo* pself = &self) + { + DestroyNative((ImGuiStackLevelInfo*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImGuiStackTool* StackToolImGuiStackToolNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[672])(); + #else + return (ImGuiStackTool*)((delegate* unmanaged[Cdecl])funcTable[672])(); + #endif + } + + /// + /// To be documented. + /// + public static ImGuiStackToolPtr StackToolImGuiStackTool() + { + ImGuiStackToolPtr ret = StackToolImGuiStackToolNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StackToolDestroyNative(ImGuiStackTool* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[673])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[673])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void StackToolDestroy(ImGuiStackToolPtr self) + { + StackToolDestroyNative(self); + } + + /// + /// To be documented. + /// + public static void StackToolDestroy(ref ImGuiStackTool self) + { + fixed (ImGuiStackTool* pself = &self) + { + StackToolDestroyNative((ImGuiStackTool*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiContextHook* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[674])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[674])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiContextHookPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiContextHook self) + { + fixed (ImGuiContextHook* pself = &self) + { + DestroyNative((ImGuiContextHook*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiContext* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[675])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[675])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiContextPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiContext self) + { + fixed (ImGuiContext* pself = &self) + { + DestroyNative((ImGuiContext*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTabItem* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[676])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[676])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTabItemPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTabItem self) + { + fixed (ImGuiTabItem* pself = &self) + { + DestroyNative((ImGuiTabItem*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTabBar* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[677])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[677])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTabBarPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTabBar self) + { + fixed (ImGuiTabBar* pself = &self) + { + DestroyNative((ImGuiTabBar*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTableColumn* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[678])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[678])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTableColumnPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTableColumn self) + { + fixed (ImGuiTableColumn* pself = &self) + { + DestroyNative((ImGuiTableColumn*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTableInstanceData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[679])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[679])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTableInstanceDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTableInstanceData self) + { + fixed (ImGuiTableInstanceData* pself = &self) + { + DestroyNative((ImGuiTableInstanceData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTableTempData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[680])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[680])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTableTempDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTableTempData self) + { + fixed (ImGuiTableTempData* pself = &self) + { + DestroyNative((ImGuiTableTempData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTableColumnSettings* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[681])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[681])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTableColumnSettingsPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTableColumnSettings self) + { + fixed (ImGuiTableColumnSettings* pself = &self) + { + DestroyNative((ImGuiTableColumnSettings*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImGuiTableSettings* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[682])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[682])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImGuiTableSettingsPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImGuiTableSettings self) + { + fixed (ImGuiTableSettings* pself = &self) + { + DestroyNative((ImGuiTableSettings*)pself); + } + } + + /// + /// //////////////////////hand written functions
+ /// no LogTextV
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LogTextNative(byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[683])(fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[683])((nint)fmt); + #endif + } + + /// + /// //////////////////////hand written functions
+ /// no LogTextV
+ ///
+ public static void LogText(byte* fmt) + { + LogTextNative(fmt); + } + + /// + /// //////////////////////hand written functions
+ /// no LogTextV
+ ///
+ public static void LogText(ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + LogTextNative((byte*)pfmt); + } + } + + /// + /// //////////////////////hand written functions
+ /// no LogTextV
+ ///
+ public static void LogText(ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + LogTextNative((byte*)pfmt); + } + } + + /// + /// //////////////////////hand written functions
+ /// no LogTextV
+ ///
+ public static void LogText(string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LogTextNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// no appendfV
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void appendfNative(ImGuiTextBuffer* buffer, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[684])(buffer, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[684])((nint)buffer, (nint)fmt); + #endif + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ImGuiTextBufferPtr buffer, byte* fmt) + { + appendfNative(buffer, fmt); + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ref ImGuiTextBuffer buffer, byte* fmt) + { + fixed (ImGuiTextBuffer* pbuffer = &buffer) + { + appendfNative((ImGuiTextBuffer*)pbuffer, fmt); + } + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ImGuiTextBufferPtr buffer, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + appendfNative(buffer, (byte*)pfmt); + } + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ImGuiTextBufferPtr buffer, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + appendfNative(buffer, (byte*)pfmt); + } + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ImGuiTextBufferPtr buffer, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendfNative(buffer, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ref ImGuiTextBuffer buffer, ref byte fmt) + { + fixed (ImGuiTextBuffer* pbuffer = &buffer) + { + fixed (byte* pfmt = &fmt) + { + appendfNative((ImGuiTextBuffer*)pbuffer, (byte*)pfmt); + } + } + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ref ImGuiTextBuffer buffer, ReadOnlySpan fmt) + { + fixed (ImGuiTextBuffer* pbuffer = &buffer) + { + fixed (byte* pfmt = fmt) + { + appendfNative((ImGuiTextBuffer*)pbuffer, (byte*)pfmt); + } + } + } + + /// + /// no appendfV
+ ///
+ public static void appendf(ref ImGuiTextBuffer buffer, string fmt) + { + fixed (ImGuiTextBuffer* pbuffer = &buffer) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + appendfNative((ImGuiTextBuffer*)pbuffer, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// for getting FLT_MAX in bindings
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GETFLTMAXNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[685])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[685])(); + #endif + } + + /// + /// for getting FLT_MAX in bindings
+ ///
+ public static float GETFLTMAX() + { + float ret = GETFLTMAXNative(); + return ret; + } + + /// + /// for getting FLT_MIN in bindings
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float GETFLTMINNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[686])(); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[686])(); + #endif + } + + /// + /// for getting FLT_MIN in bindings
+ ///
+ public static float GETFLTMIN() + { + float ret = GETFLTMINNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImVector* ImVectorImWcharCreateNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl]*>)funcTable[687])(); + #else + return (ImVector*)((delegate* unmanaged[Cdecl])funcTable[687])(); + #endif + } + + /// + /// To be documented. + /// + public static ImVector* ImVectorImWcharCreate() + { + ImVector* ret = ImVectorImWcharCreateNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImVectorImWcharDestroyNative(ImVector* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, void>)funcTable[688])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[688])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ImVectorImWcharDestroy(ImVector* self) + { + ImVectorImWcharDestroyNative(self); + } + + /// + /// To be documented. + /// + public static void ImVectorImWcharDestroy(ref ImVector self) + { + fixed (ImVector* pself = &self) + { + ImVectorImWcharDestroyNative((ImVector*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImVectorImWcharInitNative(ImVector* p) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, void>)funcTable[689])(p); + #else + ((delegate* unmanaged[Cdecl])funcTable[689])((nint)p); + #endif + } + + /// + /// To be documented. + /// + public static void ImVectorImWcharInit(ImVector* p) + { + ImVectorImWcharInitNative(p); + } + + /// + /// To be documented. + /// + public static void ImVectorImWcharInit(ref ImVector p) + { + fixed (ImVector* pp = &p) + { + ImVectorImWcharInitNative((ImVector*)pp); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImVectorImWcharUnInitNative(ImVector* p) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, void>)funcTable[690])(p); + #else + ((delegate* unmanaged[Cdecl])funcTable[690])((nint)p); + #endif + } + + /// + /// To be documented. + /// + public static void ImVectorImWcharUnInit(ImVector* p) + { + ImVectorImWcharUnInitNative(p); + } + + /// + /// To be documented. + /// + public static void ImVectorImWcharUnInit(ref ImVector p) + { + fixed (ImVector* pp = &p) + { + ImVectorImWcharUnInitNative((ImVector*)pp); + } + } + + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Handles/ImFileHandle.cs b/imgui/Dalamud.ImGui/Generated/Handles/ImFileHandle.cs new file mode 100644 index 000000000..709f7b546 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Handles/ImFileHandle.cs @@ -0,0 +1,44 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public readonly partial struct ImFileHandle : IEquatable + { + public ImFileHandle(nint handle) { Handle = handle; } + public nint Handle { get; } + public bool IsNull => Handle == 0; + public static ImFileHandle Null => new ImFileHandle(0); + public static implicit operator ImFileHandle(nint handle) => new ImFileHandle(handle); + public static bool operator ==(ImFileHandle left, ImFileHandle right) => left.Handle == right.Handle; + public static bool operator !=(ImFileHandle left, ImFileHandle right) => left.Handle != right.Handle; + public static bool operator ==(ImFileHandle left, nint right) => left.Handle == right; + public static bool operator !=(ImFileHandle left, nint right) => left.Handle != right; + public bool Equals(ImFileHandle other) => Handle == other.Handle; + /// + public override bool Equals(object obj) => obj is ImFileHandle handle && Equals(handle); + /// + public override int GetHashCode() => Handle.GetHashCode(); + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFileHandle [0x{0}]", Handle.ToString("X")); + #endif + } +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs new file mode 100644 index 000000000..94a5fbdba --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs @@ -0,0 +1,68 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN + { + /// + /// To be documented. + /// + public uint Storage_0; + public uint Storage_1; + public uint Storage_2; + public uint Storage_3; + public uint Storage_4; + + + /// + /// To be documented. + /// + public unsafe ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN(uint* storage = default) + { + if (storage != default(uint*)) + { + Storage_0 = storage[0]; + Storage_1 = storage[1]; + Storage_2 = storage[2]; + Storage_3 = storage[3]; + Storage_4 = storage[4]; + } + } + + /// + /// To be documented. + /// + public unsafe ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN(Span storage = default) + { + if (storage != default(Span)) + { + Storage_0 = storage[0]; + Storage_1 = storage[1]; + Storage_2 = storage[2]; + Storage_3 = storage[3]; + Storage_4 = storage[4]; + } + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImBitVector.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImBitVector.cs new file mode 100644 index 000000000..22f41158e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImBitVector.cs @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: ImBitVector
+ /// Store 1-bit per value.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImBitVector + { + /// + /// To be documented. + /// + public ImVector Storage; + + + /// + /// To be documented. + /// + public unsafe ImBitVector(ImVector storage = default) + { + Storage = storage; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImBitVectorPtr : IEquatable + { + public ImBitVectorPtr(ImBitVector* handle) { Handle = handle; } + + public ImBitVector* Handle; + + public bool IsNull => Handle == null; + + public static ImBitVectorPtr Null => new ImBitVectorPtr(null); + + public ImBitVector this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImBitVectorPtr(ImBitVector* handle) => new ImBitVectorPtr(handle); + + public static implicit operator ImBitVector*(ImBitVectorPtr handle) => handle.Handle; + + public static bool operator ==(ImBitVectorPtr left, ImBitVectorPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImBitVectorPtr left, ImBitVectorPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImBitVectorPtr left, ImBitVector* right) => left.Handle == right; + + public static bool operator !=(ImBitVectorPtr left, ImBitVector* right) => left.Handle != right; + + public bool Equals(ImBitVectorPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImBitVectorPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImBitVectorPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Storage => ref Unsafe.AsRef>(&Handle->Storage); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImChunkStreamImGuiTableSettings.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImChunkStreamImGuiTableSettings.cs new file mode 100644 index 000000000..a8ec1d70b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImChunkStreamImGuiTableSettings.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImChunkStreamImGuiTableSettings + { + /// + /// To be documented. + /// + public ImVector Buf; + + + /// + /// To be documented. + /// + public unsafe ImChunkStreamImGuiTableSettings(ImVector buf = default) + { + Buf = buf; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImChunkStreamImGuiWindowSettings.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImChunkStreamImGuiWindowSettings.cs new file mode 100644 index 000000000..952c2250a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImChunkStreamImGuiWindowSettings.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImChunkStreamImGuiWindowSettings + { + /// + /// To be documented. + /// + public ImVector Buf; + + + /// + /// To be documented. + /// + public unsafe ImChunkStreamImGuiWindowSettings(ImVector buf = default) + { + Buf = buf; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImColor.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImColor.cs new file mode 100644 index 000000000..52597883b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImColor.cs @@ -0,0 +1,195 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helpers: ImVec2ImVec4 operators
+ /// - It is important that we are keeping those disabled by default so they don't leak in user space.
+ /// - This is in order to allow user enabling implicit cast operators between ImVec2ImVec4 and their own types (using IM_VEC2_CLASS_EXTRA in imconfig.h)
+ /// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4.
+ /// - We intentionally provide ImVec2*float but not float*ImVec2: this is rare enough and we want to reduce the surface for possible user mistake.
+ /// Helpers macros to generate 32-bit encoded colors
+ /// - User can declare their own format by #defining the 5 _SHIFT_MASK macros in their imconfig file.
+ /// - Any setting other than the default will need custom backend support. The only standard backend that supports anything else than the default is DirectX9.
+ /// Helper: ImColor() implicitly converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float)
+ /// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API.
+ /// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE.
+ /// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImColor + { + /// + /// To be documented. + /// + public Vector4 Value; + + + /// + /// To be documented. + /// + public unsafe ImColor(Vector4 value = default) + { + Value = value; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImColor* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void HSV(float h, float s, float v, float a) + { + fixed (ImColor* @this = &this) + { + ImGui.HSVNative(@this, h, s, v, a); + } + } + + /// + /// To be documented. + /// + public unsafe void HSV(float h, float s, float v) + { + fixed (ImColor* @this = &this) + { + ImGui.HSVNative(@this, h, s, v, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void SetHSV(float h, float s, float v, float a) + { + fixed (ImColor* @this = &this) + { + ImGui.SetHSVNative(@this, h, s, v, a); + } + } + + /// + /// To be documented. + /// + public unsafe void SetHSV(float h, float s, float v) + { + fixed (ImColor* @this = &this) + { + ImGui.SetHSVNative(@this, h, s, v, (float)(1.0f)); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImColorPtr : IEquatable + { + public ImColorPtr(ImColor* handle) { Handle = handle; } + + public ImColor* Handle; + + public bool IsNull => Handle == null; + + public static ImColorPtr Null => new ImColorPtr(null); + + public ImColor this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImColorPtr(ImColor* handle) => new ImColorPtr(handle); + + public static implicit operator ImColor*(ImColorPtr handle) => handle.Handle; + + public static bool operator ==(ImColorPtr left, ImColorPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImColorPtr left, ImColorPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImColorPtr left, ImColor* right) => left.Handle == right; + + public static bool operator !=(ImColorPtr left, ImColor* right) => left.Handle != right; + + public bool Equals(ImColorPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImColorPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImColorPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref Vector4 Value => ref Unsafe.AsRef(&Handle->Value); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void HSV(float h, float s, float v, float a) + { + ImGui.HSVNative(Handle, h, s, v, a); + } + + /// + /// To be documented. + /// + public unsafe void HSV(float h, float s, float v) + { + ImGui.HSVNative(Handle, h, s, v, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void SetHSV(float h, float s, float v, float a) + { + ImGui.SetHSVNative(Handle, h, s, v, a); + } + + /// + /// To be documented. + /// + public unsafe void SetHSV(float h, float s, float v) + { + ImGui.SetHSVNative(Handle, h, s, v, (float)(1.0f)); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawChannel.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawChannel.cs new file mode 100644 index 000000000..e40c21bab --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawChannel.cs @@ -0,0 +1,99 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// [Internal] For use by ImDrawListSplitter
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawChannel + { + /// + /// To be documented. + /// + public ImVector CmdBuffer; + + /// + /// To be documented. + /// + public ImVector IdxBuffer; + + + /// + /// To be documented. + /// + public unsafe ImDrawChannel(ImVector cmdBuffer = default, ImVector idxBuffer = default) + { + CmdBuffer = cmdBuffer; + IdxBuffer = idxBuffer; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawChannelPtr : IEquatable + { + public ImDrawChannelPtr(ImDrawChannel* handle) { Handle = handle; } + + public ImDrawChannel* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawChannelPtr Null => new ImDrawChannelPtr(null); + + public ImDrawChannel this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawChannelPtr(ImDrawChannel* handle) => new ImDrawChannelPtr(handle); + + public static implicit operator ImDrawChannel*(ImDrawChannelPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawChannelPtr left, ImDrawChannelPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawChannelPtr left, ImDrawChannelPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawChannelPtr left, ImDrawChannel* right) => left.Handle == right; + + public static bool operator !=(ImDrawChannelPtr left, ImDrawChannel* right) => left.Handle != right; + + public bool Equals(ImDrawChannelPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawChannelPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawChannelPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector CmdBuffer => ref Unsafe.AsRef>(&Handle->CmdBuffer); + /// + /// To be documented. + /// + public ref ImVector IdxBuffer => ref Unsafe.AsRef>(&Handle->IdxBuffer); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawCmd.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawCmd.cs new file mode 100644 index 000000000..1d304bdbd --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawCmd.cs @@ -0,0 +1,192 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Typically, 1 command = 1 GPU draw call (unless command is a callback)
+ /// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled,
+ /// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices.
+ /// Backends made for <1.71. will typically ignore the VtxOffset fields.
+ /// - The ClipRectTextureIdVtxOffset fields must be contiguous as we memcmp() them together (this is asserted for).
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawCmd + { + /// + /// To be documented. + /// + public Vector4 ClipRect; + + /// + /// To be documented. + /// + public ImTextureID TextureId; + + /// + /// To be documented. + /// + public uint VtxOffset; + + /// + /// To be documented. + /// + public uint IdxOffset; + + /// + /// To be documented. + /// + public uint ElemCount; + + /// + /// To be documented. + /// + public unsafe void* UserCallback; + /// + /// To be documented. + /// + public unsafe void* UserCallbackData; + + + /// + /// To be documented. + /// + public unsafe ImDrawCmd(Vector4 clipRect = default, ImTextureID textureId = default, uint vtxOffset = default, uint idxOffset = default, uint elemCount = default, ImDrawCallback userCallback = default, void* userCallbackData = default) + { + ClipRect = clipRect; + TextureId = textureId; + VtxOffset = vtxOffset; + IdxOffset = idxOffset; + ElemCount = elemCount; + UserCallback = (void*)Marshal.GetFunctionPointerForDelegate(userCallback); + UserCallbackData = userCallbackData; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImDrawCmd* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe ImTextureID GetTexID() + { + fixed (ImDrawCmd* @this = &this) + { + ImTextureID ret = ImGui.GetTexIDNative(@this); + return ret; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawCmdPtr : IEquatable + { + public ImDrawCmdPtr(ImDrawCmd* handle) { Handle = handle; } + + public ImDrawCmd* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawCmdPtr Null => new ImDrawCmdPtr(null); + + public ImDrawCmd this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawCmdPtr(ImDrawCmd* handle) => new ImDrawCmdPtr(handle); + + public static implicit operator ImDrawCmd*(ImDrawCmdPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawCmdPtr left, ImDrawCmdPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawCmdPtr left, ImDrawCmdPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawCmdPtr left, ImDrawCmd* right) => left.Handle == right; + + public static bool operator !=(ImDrawCmdPtr left, ImDrawCmd* right) => left.Handle != right; + + public bool Equals(ImDrawCmdPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawCmdPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawCmdPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref Vector4 ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + /// + /// To be documented. + /// + public ref ImTextureID TextureId => ref Unsafe.AsRef(&Handle->TextureId); + /// + /// To be documented. + /// + public ref uint VtxOffset => ref Unsafe.AsRef(&Handle->VtxOffset); + /// + /// To be documented. + /// + public ref uint IdxOffset => ref Unsafe.AsRef(&Handle->IdxOffset); + /// + /// To be documented. + /// + public ref uint ElemCount => ref Unsafe.AsRef(&Handle->ElemCount); + /// + /// To be documented. + /// + public void* UserCallback { get => Handle->UserCallback; set => Handle->UserCallback = value; } + /// + /// To be documented. + /// + public void* UserCallbackData { get => Handle->UserCallbackData; set => Handle->UserCallbackData = value; } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe ImTextureID GetTexID() + { + ImTextureID ret = ImGui.GetTexIDNative(Handle); + return ret; + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawCmdHeader.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawCmdHeader.cs new file mode 100644 index 000000000..66d37ac84 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawCmdHeader.cs @@ -0,0 +1,54 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// [Internal] For use by ImDrawList
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawCmdHeader + { + /// + /// To be documented. + /// + public Vector4 ClipRect; + + /// + /// To be documented. + /// + public ImTextureID TextureId; + + /// + /// To be documented. + /// + public uint VtxOffset; + + + /// + /// To be documented. + /// + public unsafe ImDrawCmdHeader(Vector4 clipRect = default, ImTextureID textureId = default, uint vtxOffset = default) + { + ClipRect = clipRect; + TextureId = textureId; + VtxOffset = vtxOffset; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawData.cs new file mode 100644 index 000000000..770bb575c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawData.cs @@ -0,0 +1,247 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// All draw data to render a Dear ImGui frame
+ /// (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose,
+ /// as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawData + { + /// + /// To be documented. + /// + public byte Valid; + + /// + /// To be documented. + /// + public int CmdListsCount; + + /// + /// To be documented. + /// + public int TotalIdxCount; + + /// + /// To be documented. + /// + public int TotalVtxCount; + + /// + /// To be documented. + /// + public unsafe ImDrawList** CmdLists; + + /// + /// To be documented. + /// + public Vector2 DisplayPos; + + /// + /// To be documented. + /// + public Vector2 DisplaySize; + + /// + /// To be documented. + /// + public Vector2 FramebufferScale; + + /// + /// To be documented. + /// + public unsafe ImGuiViewport* OwnerViewport; + + + /// + /// To be documented. + /// + public unsafe ImDrawData(bool valid = default, int cmdListsCount = default, int totalIdxCount = default, int totalVtxCount = default, ImDrawListPtrPtr cmdLists = default, Vector2 displayPos = default, Vector2 displaySize = default, Vector2 framebufferScale = default, ImGuiViewport* ownerViewport = default) + { + Valid = valid ? (byte)1 : (byte)0; + CmdListsCount = cmdListsCount; + TotalIdxCount = totalIdxCount; + TotalVtxCount = totalVtxCount; + CmdLists = cmdLists; + DisplayPos = displayPos; + DisplaySize = displaySize; + FramebufferScale = framebufferScale; + OwnerViewport = ownerViewport; + } + + + /// + /// To be documented. + /// + public unsafe void Clear() + { + fixed (ImDrawData* @this = &this) + { + ImGui.ClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void DeIndexAllBuffers() + { + fixed (ImDrawData* @this = &this) + { + ImGui.DeIndexAllBuffersNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImDrawData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ScaleClipRects(Vector2 fbScale) + { + fixed (ImDrawData* @this = &this) + { + ImGui.ScaleClipRectsNative(@this, fbScale); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawDataPtr : IEquatable + { + public ImDrawDataPtr(ImDrawData* handle) { Handle = handle; } + + public ImDrawData* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawDataPtr Null => new ImDrawDataPtr(null); + + public ImDrawData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawDataPtr(ImDrawData* handle) => new ImDrawDataPtr(handle); + + public static implicit operator ImDrawData*(ImDrawDataPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawDataPtr left, ImDrawDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawDataPtr left, ImDrawDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawDataPtr left, ImDrawData* right) => left.Handle == right; + + public static bool operator !=(ImDrawDataPtr left, ImDrawData* right) => left.Handle != right; + + public bool Equals(ImDrawDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref bool Valid => ref Unsafe.AsRef(&Handle->Valid); + /// + /// To be documented. + /// + public ref int CmdListsCount => ref Unsafe.AsRef(&Handle->CmdListsCount); + /// + /// To be documented. + /// + public ref int TotalIdxCount => ref Unsafe.AsRef(&Handle->TotalIdxCount); + /// + /// To be documented. + /// + public ref int TotalVtxCount => ref Unsafe.AsRef(&Handle->TotalVtxCount); + /// + /// To be documented. + /// + public ref ImDrawListPtrPtr CmdLists => ref Unsafe.AsRef(&Handle->CmdLists); + /// + /// To be documented. + /// + public ref Vector2 DisplayPos => ref Unsafe.AsRef(&Handle->DisplayPos); + /// + /// To be documented. + /// + public ref Vector2 DisplaySize => ref Unsafe.AsRef(&Handle->DisplaySize); + /// + /// To be documented. + /// + public ref Vector2 FramebufferScale => ref Unsafe.AsRef(&Handle->FramebufferScale); + /// + /// To be documented. + /// + public ref ImGuiViewportPtr OwnerViewport => ref Unsafe.AsRef(&Handle->OwnerViewport); + /// + /// To be documented. + /// + public unsafe void Clear() + { + ImGui.ClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void DeIndexAllBuffers() + { + ImGui.DeIndexAllBuffersNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ScaleClipRects(Vector2 fbScale) + { + ImGui.ScaleClipRectsNative(Handle, fbScale); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawDataBuilder.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawDataBuilder.cs new file mode 100644 index 000000000..616b34a3e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawDataBuilder.cs @@ -0,0 +1,127 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawDataBuilder + { + /// + /// To be documented. + /// + public ImVector Layers_0; + public ImVector Layers_1; + + + /// + /// To be documented. + /// + public unsafe ImDrawDataBuilder(ImVector* layers = default) + { + if (layers != default(ImVector*)) + { + Layers_0 = layers[0]; + Layers_1 = layers[1]; + } + } + + /// + /// To be documented. + /// + public unsafe ImDrawDataBuilder(Span> layers = default) + { + if (layers != default(Span>)) + { + Layers_0 = layers[0]; + Layers_1 = layers[1]; + } + } + + + /// + /// To be documented. + /// + public unsafe Span> Layers + + { + get + { + fixed (ImVector* p = &this.Layers_0) + { + return new Span>(p, 2); + } + } + } + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawDataBuilderPtr : IEquatable + { + public ImDrawDataBuilderPtr(ImDrawDataBuilder* handle) { Handle = handle; } + + public ImDrawDataBuilder* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawDataBuilderPtr Null => new ImDrawDataBuilderPtr(null); + + public ImDrawDataBuilder this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawDataBuilderPtr(ImDrawDataBuilder* handle) => new ImDrawDataBuilderPtr(handle); + + public static implicit operator ImDrawDataBuilder*(ImDrawDataBuilderPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawDataBuilderPtr left, ImDrawDataBuilderPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawDataBuilderPtr left, ImDrawDataBuilderPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawDataBuilderPtr left, ImDrawDataBuilder* right) => left.Handle == right; + + public static bool operator !=(ImDrawDataBuilderPtr left, ImDrawDataBuilder* right) => left.Handle != right; + + public bool Equals(ImDrawDataBuilderPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawDataBuilderPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawDataBuilderPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public unsafe Span> Layers + + { + get + { + return new Span>(&Handle->Layers_0, 2); + } + } + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawList.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawList.cs new file mode 100644 index 000000000..fd773257c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawList.cs @@ -0,0 +1,14749 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Draw command list
+ /// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame,
+ /// all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering.
+ /// Each dear imgui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to
+ /// access the current window draw list and draw custom primitives.
+ /// You can interleave normal ImGui:: calls and adding primitives to the current draw list.
+ /// In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize).
+ /// You are totally free to apply whatever transformation matrix you want to the data (depending on the use of the transformation you may want to apply it to ClipRect as well!)
+ /// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawList + { + /// + /// To be documented. + /// + public ImVector CmdBuffer; + + /// + /// To be documented. + /// + public ImVector IdxBuffer; + + /// + /// To be documented. + /// + public ImVector VtxBuffer; + + /// + /// To be documented. + /// + public ImDrawListFlags Flags; + + /// + /// To be documented. + /// + public uint VtxCurrentIdx; + + /// + /// To be documented. + /// + public unsafe ImDrawListSharedData* Data; + + /// + /// To be documented. + /// + public unsafe byte* OwnerName; + + /// + /// To be documented. + /// + public unsafe ImDrawVert* VtxWritePtr; + + /// + /// To be documented. + /// + public unsafe ushort* IdxWritePtr; + + /// + /// To be documented. + /// + public ImVector ClipRectStack; + + /// + /// To be documented. + /// + public ImVector TextureIdStack; + + /// + /// To be documented. + /// + public ImVector Path; + + /// + /// To be documented. + /// + public ImDrawCmdHeader CmdHeader; + + /// + /// To be documented. + /// + public ImDrawListSplitter Splitter; + + /// + /// To be documented. + /// + public float FringeScale; + + + /// + /// To be documented. + /// + public unsafe ImDrawList(ImVector cmdBuffer = default, ImVector idxBuffer = default, ImVector vtxBuffer = default, ImDrawListFlags flags = default, uint vtxCurrentIdx = default, ImDrawListSharedData* data = default, byte* ownerName = default, ImDrawVert* vtxWritePtr = default, ushort* idxWritePtr = default, ImVector clipRectStack = default, ImVector textureIdStack = default, ImVector path = default, ImDrawCmdHeader cmdHeader = default, ImDrawListSplitter splitter = default, float fringeScale = default) + { + CmdBuffer = cmdBuffer; + IdxBuffer = idxBuffer; + VtxBuffer = vtxBuffer; + Flags = flags; + VtxCurrentIdx = vtxCurrentIdx; + Data = data; + OwnerName = ownerName; + VtxWritePtr = vtxWritePtr; + IdxWritePtr = idxWritePtr; + ClipRectStack = clipRectStack; + TextureIdStack = textureIdStack; + Path = path; + CmdHeader = cmdHeader; + Splitter = splitter; + FringeScale = fringeScale; + } + + + /// + /// To be documented. + /// + public unsafe int _CalcCircleAutoSegmentCount(float radius) + { + fixed (ImDrawList* @this = &this) + { + int ret = ImGui._CalcCircleAutoSegmentCountNative(@this, radius); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void _ClearFreeMemory() + { + fixed (ImDrawList* @this = &this) + { + ImGui._ClearFreeMemoryNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void _OnChangedClipRect() + { + fixed (ImDrawList* @this = &this) + { + ImGui._OnChangedClipRectNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void _OnChangedTextureID() + { + fixed (ImDrawList* @this = &this) + { + ImGui._OnChangedTextureIDNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void _OnChangedVtxOffset() + { + fixed (ImDrawList* @this = &this) + { + ImGui._OnChangedVtxOffsetNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + fixed (ImDrawList* @this = &this) + { + ImGui._PathArcToFastExNative(@this, center, radius, aMinSample, aMaxSample, aStep); + } + } + + /// + /// To be documented. + /// + public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui._PathArcToNNative(@this, center, radius, aMin, aMax, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void _PopUnusedDrawCmd() + { + fixed (ImDrawList* @this = &this) + { + ImGui._PopUnusedDrawCmdNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void _ResetForNewFrame() + { + fixed (ImDrawList* @this = &this) + { + ImGui._ResetForNewFrameNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void _TryMergeDrawCmds() + { + fixed (ImDrawList* @this = &this) + { + ImGui._TryMergeDrawCmdsNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddBezierCubicNative(@this, p1, p2, p3, p4, col, thickness, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddBezierCubicNative(@this, p1, p2, p3, p4, col, thickness, (int)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddBezierQuadraticNative(@this, p1, p2, p3, col, thickness, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddBezierQuadraticNative(@this, p1, p2, p3, col, thickness, (int)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddCallback(ImDrawCallback callback, void* callbackData) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddCallbackNative(@this, callback, callbackData); + } + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddCircleNative(@this, center, radius, col, numSegments, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddCircleNative(@this, center, radius, col, numSegments, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddCircleNative(@this, center, radius, col, (int)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddCircleNative(@this, center, radius, col, (int)(0), thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddCircleFilledNative(@this, center, radius, col, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddCircleFilledNative(@this, center, radius, col, (int)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddConvexPolyFilledNative(@this, points, numPoints, col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector2* ppoints = &points) + { + ImGui.AddConvexPolyFilledNative(@this, (Vector2*)ppoints, numPoints, col); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddDrawCmd() + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddDrawCmdNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageNative(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageNative(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageRoundedNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + } + + /// + /// To be documented. + /// + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddImageRoundedNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddLineNative(@this, p1, p2, col, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddLineNative(@this, p1, p2, col, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddNgonNative(@this, center, radius, col, numSegments, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddNgonNative(@this, center, radius, col, numSegments, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddNgonFilledNative(@this, center, radius, col, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddPolylineNative(@this, points, numPoints, col, flags, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector2* ppoints = &points) + { + ImGui.AddPolylineNative(@this, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddQuadNative(@this, p1, p2, p3, p4, col, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddQuadNative(@this, p1, p2, p3, p4, col, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddQuadFilledNative(@this, p1, p2, p3, p4, col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectNative(@this, pMin, pMax, col, rounding, flags, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectNative(@this, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectNative(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectNative(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectNative(@this, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectNative(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectNative(@this, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectFilledNative(@this, pMin, pMax, col, rounding, flags); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectFilledNative(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectFilledNative(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectFilledNative(@this, pMin, pMax, col, (float)(0.0f), flags); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddRectFilledMultiColorNative(@this, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, pos, col, textBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, pos, col, textBegin, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pos, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, string textBegin) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pos, col, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, pos, col, textBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, pos, col, textBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pos, col, textBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pos, col, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImDrawList* @this = &this) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTriangleNative(@this, p1, p2, p3, col, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTriangleNative(@this, p1, p2, p3, col, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.AddTriangleFilledNative(@this, p1, p2, p3, col); + } + } + + /// + /// To be documented. + /// + public unsafe void ChannelsMerge() + { + fixed (ImDrawList* @this = &this) + { + ImGui.ChannelsMergeNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ChannelsSetCurrent(int n) + { + fixed (ImDrawList* @this = &this) + { + ImGui.ChannelsSetCurrentNative(@this, n); + } + } + + /// + /// To be documented. + /// + public unsafe void ChannelsSplit(int count) + { + fixed (ImDrawList* @this = &this) + { + ImGui.ChannelsSplitNative(@this, count); + } + } + + /// + /// To be documented. + /// + public unsafe ImDrawList* CloneOutput() + { + fixed (ImDrawList* @this = &this) + { + ImDrawList* ret = ImGui.CloneOutputNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImDrawList* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathArcToNative(@this, center, radius, aMin, aMax, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathArcToNative(@this, center, radius, aMin, aMax, (int)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathArcToFastNative(@this, center, radius, aMinOf12, aMaxOf12); + } + } + + /// + /// To be documented. + /// + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathBezierCubicCurveToNative(@this, p2, p3, p4, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathBezierCubicCurveToNative(@this, p2, p3, p4, (int)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathBezierQuadraticCurveToNative(@this, p2, p3, numSegments); + } + } + + /// + /// To be documented. + /// + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathBezierQuadraticCurveToNative(@this, p2, p3, (int)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void PathClear() + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void PathFillConvex(uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathFillConvexNative(@this, col); + } + } + + /// + /// To be documented. + /// + public unsafe void PathLineTo(Vector2 pos) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathLineToNative(@this, pos); + } + } + + /// + /// To be documented. + /// + public unsafe void PathLineToMergeDuplicate(Vector2 pos) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathLineToMergeDuplicateNative(@this, pos); + } + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathRectNative(@this, rectMin, rectMax, rounding, flags); + } + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathRectNative(@this, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathRectNative(@this, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathRectNative(@this, rectMin, rectMax, (float)(0.0f), flags); + } + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathStrokeNative(@this, col, flags, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathStrokeNative(@this, col, flags, (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathStrokeNative(@this, col, (ImDrawFlags)(0), (float)(1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PathStrokeNative(@this, col, (ImDrawFlags)(0), thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void PopClipRect() + { + fixed (ImDrawList* @this = &this) + { + ImGui.PopClipRectNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void PopTextureID() + { + fixed (ImDrawList* @this = &this) + { + ImGui.PopTextureIDNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimQuadUVNative(@this, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimRect(Vector2 a, Vector2 b, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimRectNative(@this, a, b, col); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimRectUVNative(@this, a, b, uvA, uvB, col); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimReserve(int idxCount, int vtxCount) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimReserveNative(@this, idxCount, vtxCount); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimUnreserve(int idxCount, int vtxCount) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimUnreserveNative(@this, idxCount, vtxCount); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimVtxNative(@this, pos, uv, col); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimWriteIdx(ushort idx) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimWriteIdxNative(@this, idx); + } + } + + /// + /// To be documented. + /// + public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PrimWriteVtxNative(@this, pos, uv, col); + } + } + + /// + /// To be documented. + /// + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PushClipRectNative(@this, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PushClipRectNative(@this, clipRectMin, clipRectMax, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void PushClipRectFullScreen() + { + fixed (ImDrawList* @this = &this) + { + ImGui.PushClipRectFullScreenNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void PushTextureID(ImTextureID textureId) + { + fixed (ImDrawList* @this = &this) + { + ImGui.PushTextureIDNative(@this, textureId); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawListPtr : IEquatable + { + public ImDrawListPtr(ImDrawList* handle) { Handle = handle; } + + public ImDrawList* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawListPtr Null => new ImDrawListPtr(null); + + public ImDrawList this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawListPtr(ImDrawList* handle) => new ImDrawListPtr(handle); + + public static implicit operator ImDrawList*(ImDrawListPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawListPtr left, ImDrawListPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawListPtr left, ImDrawListPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawListPtr left, ImDrawList* right) => left.Handle == right; + + public static bool operator !=(ImDrawListPtr left, ImDrawList* right) => left.Handle != right; + + public bool Equals(ImDrawListPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawListPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawListPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector CmdBuffer => ref Unsafe.AsRef>(&Handle->CmdBuffer); + /// + /// To be documented. + /// + public ref ImVector IdxBuffer => ref Unsafe.AsRef>(&Handle->IdxBuffer); + /// + /// To be documented. + /// + public ref ImVector VtxBuffer => ref Unsafe.AsRef>(&Handle->VtxBuffer); + /// + /// To be documented. + /// + public ref ImDrawListFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref uint VtxCurrentIdx => ref Unsafe.AsRef(&Handle->VtxCurrentIdx); + /// + /// To be documented. + /// + public ref ImDrawListSharedDataPtr Data => ref Unsafe.AsRef(&Handle->Data); + /// + /// To be documented. + /// + public byte* OwnerName { get => Handle->OwnerName; set => Handle->OwnerName = value; } + /// + /// To be documented. + /// + public ref ImDrawVertPtr VtxWritePtr => ref Unsafe.AsRef(&Handle->VtxWritePtr); + /// + /// To be documented. + /// + public ushort* IdxWritePtr { get => Handle->IdxWritePtr; set => Handle->IdxWritePtr = value; } + /// + /// To be documented. + /// + public ref ImVector ClipRectStack => ref Unsafe.AsRef>(&Handle->ClipRectStack); + /// + /// To be documented. + /// + public ref ImVector TextureIdStack => ref Unsafe.AsRef>(&Handle->TextureIdStack); + /// + /// To be documented. + /// + public ref ImVector Path => ref Unsafe.AsRef>(&Handle->Path); + /// + /// To be documented. + /// + public ref ImDrawCmdHeader CmdHeader => ref Unsafe.AsRef(&Handle->CmdHeader); + /// + /// To be documented. + /// + public ref ImDrawListSplitter Splitter => ref Unsafe.AsRef(&Handle->Splitter); + /// + /// To be documented. + /// + public ref float FringeScale => ref Unsafe.AsRef(&Handle->FringeScale); + /// + /// To be documented. + /// + public unsafe int _CalcCircleAutoSegmentCount(float radius) + { + int ret = ImGui._CalcCircleAutoSegmentCountNative(Handle, radius); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void _ClearFreeMemory() + { + ImGui._ClearFreeMemoryNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void _OnChangedClipRect() + { + ImGui._OnChangedClipRectNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void _OnChangedTextureID() + { + ImGui._OnChangedTextureIDNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void _OnChangedVtxOffset() + { + ImGui._OnChangedVtxOffsetNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + ImGui._PathArcToFastExNative(Handle, center, radius, aMinSample, aMaxSample, aStep); + } + + /// + /// To be documented. + /// + public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + ImGui._PathArcToNNative(Handle, center, radius, aMin, aMax, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void _PopUnusedDrawCmd() + { + ImGui._PopUnusedDrawCmdNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void _ResetForNewFrame() + { + ImGui._ResetForNewFrameNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void _TryMergeDrawCmds() + { + ImGui._TryMergeDrawCmdsNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + ImGui.AddBezierCubicNative(Handle, p1, p2, p3, p4, col, thickness, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + ImGui.AddBezierCubicNative(Handle, p1, p2, p3, p4, col, thickness, (int)(0)); + } + + /// + /// To be documented. + /// + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + ImGui.AddBezierQuadraticNative(Handle, p1, p2, p3, col, thickness, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + ImGui.AddBezierQuadraticNative(Handle, p1, p2, p3, col, thickness, (int)(0)); + } + + /// + /// To be documented. + /// + public unsafe void AddCallback(ImDrawCallback callback, void* callbackData) + { + ImGui.AddCallbackNative(Handle, callback, callbackData); + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + ImGui.AddCircleNative(Handle, center, radius, col, numSegments, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments) + { + ImGui.AddCircleNative(Handle, center, radius, col, numSegments, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col) + { + ImGui.AddCircleNative(Handle, center, radius, col, (int)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness) + { + ImGui.AddCircleNative(Handle, center, radius, col, (int)(0), thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments) + { + ImGui.AddCircleFilledNative(Handle, center, radius, col, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col) + { + ImGui.AddCircleFilledNative(Handle, center, radius, col, (int)(0)); + } + + /// + /// To be documented. + /// + public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col) + { + ImGui.AddConvexPolyFilledNative(Handle, points, numPoints, col); + } + + /// + /// To be documented. + /// + public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col) + { + fixed (Vector2* ppoints = &points) + { + ImGui.AddConvexPolyFilledNative(Handle, (Vector2*)ppoints, numPoints, col); + } + } + + /// + /// To be documented. + /// + public unsafe void AddDrawCmd() + { + ImGui.AddDrawCmdNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + + /// + /// To be documented. + /// + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + + /// + /// To be documented. + /// + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + ImGui.AddImageRoundedNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + + /// + /// To be documented. + /// + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + ImGui.AddImageRoundedNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness) + { + ImGui.AddLineNative(Handle, p1, p2, col, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col) + { + ImGui.AddLineNative(Handle, p1, p2, col, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + ImGui.AddNgonNative(Handle, center, radius, col, numSegments, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments) + { + ImGui.AddNgonNative(Handle, center, radius, col, numSegments, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments) + { + ImGui.AddNgonFilledNative(Handle, center, radius, col, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + ImGui.AddPolylineNative(Handle, points, numPoints, col, flags, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (Vector2* ppoints = &points) + { + ImGui.AddPolylineNative(Handle, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + + /// + /// To be documented. + /// + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + ImGui.AddQuadNative(Handle, p1, p2, p3, p4, col, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGui.AddQuadNative(Handle, p1, p2, p3, p4, col, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGui.AddQuadFilledNative(Handle, p1, p2, p3, p4, col); + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, flags, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col) + { + ImGui.AddRectNative(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + ImGui.AddRectNative(Handle, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + ImGui.AddRectNative(Handle, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + ImGui.AddRectFilledNative(Handle, pMin, pMax, col, rounding, flags); + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + ImGui.AddRectFilledNative(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col) + { + ImGui.AddRectFilledNative(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + ImGui.AddRectFilledNative(Handle, pMin, pMax, col, (float)(0.0f), flags); + } + + /// + /// To be documented. + /// + public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + ImGui.AddRectFilledMultiColorNative(Handle, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + ImGui.AddTextNative(Handle, pos, col, textBegin, textEnd); + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin) + { + ImGui.AddTextNative(Handle, pos, col, textBegin, (byte*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, string textBegin, 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; + } + ImGui.AddTextNative(Handle, pos, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, string textBegin) + { + 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; + } + ImGui.AddTextNative(Handle, pos, col, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, pos, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, pos, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, string textEnd) + { + 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; + } + ImGui.AddTextNative(Handle, pos, col, textBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, 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; + } + ImGui.AddTextNative(Handle, pos, col, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, 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; + } + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, 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; + } + ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, 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) + { + ImGui.AddTextNative(Handle, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(Vector2 pos, 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) + { + ImGui.AddTextNative(Handle, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + 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; + } + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + 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) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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 (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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; + } + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) + { + fixed (ImFont* pfont = &font) + { + 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) + { + fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) + { + ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + ImGui.AddTriangleNative(Handle, p1, p2, p3, col, thickness); + } + + /// + /// To be documented. + /// + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + ImGui.AddTriangleNative(Handle, p1, p2, p3, col, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + ImGui.AddTriangleFilledNative(Handle, p1, p2, p3, col); + } + + /// + /// To be documented. + /// + public unsafe void ChannelsMerge() + { + ImGui.ChannelsMergeNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ChannelsSetCurrent(int n) + { + ImGui.ChannelsSetCurrentNative(Handle, n); + } + + /// + /// To be documented. + /// + public unsafe void ChannelsSplit(int count) + { + ImGui.ChannelsSplitNative(Handle, count); + } + + /// + /// To be documented. + /// + public unsafe ImDrawList* CloneOutput() + { + ImDrawList* ret = ImGui.CloneOutputNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + ImGui.PathArcToNative(Handle, center, radius, aMin, aMax, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax) + { + ImGui.PathArcToNative(Handle, center, radius, aMin, aMax, (int)(0)); + } + + /// + /// To be documented. + /// + public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + ImGui.PathArcToFastNative(Handle, center, radius, aMinOf12, aMaxOf12); + } + + /// + /// To be documented. + /// + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + ImGui.PathBezierCubicCurveToNative(Handle, p2, p3, p4, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4) + { + ImGui.PathBezierCubicCurveToNative(Handle, p2, p3, p4, (int)(0)); + } + + /// + /// To be documented. + /// + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments) + { + ImGui.PathBezierQuadraticCurveToNative(Handle, p2, p3, numSegments); + } + + /// + /// To be documented. + /// + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3) + { + ImGui.PathBezierQuadraticCurveToNative(Handle, p2, p3, (int)(0)); + } + + /// + /// To be documented. + /// + public unsafe void PathClear() + { + ImGui.PathClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void PathFillConvex(uint col) + { + ImGui.PathFillConvexNative(Handle, col); + } + + /// + /// To be documented. + /// + public unsafe void PathLineTo(Vector2 pos) + { + ImGui.PathLineToNative(Handle, pos); + } + + /// + /// To be documented. + /// + public unsafe void PathLineToMergeDuplicate(Vector2 pos) + { + ImGui.PathLineToMergeDuplicateNative(Handle, pos); + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + ImGui.PathRectNative(Handle, rectMin, rectMax, rounding, flags); + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding) + { + ImGui.PathRectNative(Handle, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax) + { + ImGui.PathRectNative(Handle, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + + /// + /// To be documented. + /// + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + ImGui.PathRectNative(Handle, rectMin, rectMax, (float)(0.0f), flags); + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness) + { + ImGui.PathStrokeNative(Handle, col, flags, thickness); + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col, ImDrawFlags flags) + { + ImGui.PathStrokeNative(Handle, col, flags, (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col) + { + ImGui.PathStrokeNative(Handle, col, (ImDrawFlags)(0), (float)(1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void PathStroke(uint col, float thickness) + { + ImGui.PathStrokeNative(Handle, col, (ImDrawFlags)(0), thickness); + } + + /// + /// To be documented. + /// + public unsafe void PopClipRect() + { + ImGui.PopClipRectNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void PopTextureID() + { + ImGui.PopTextureIDNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + ImGui.PrimQuadUVNative(Handle, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + + /// + /// To be documented. + /// + public unsafe void PrimRect(Vector2 a, Vector2 b, uint col) + { + ImGui.PrimRectNative(Handle, a, b, col); + } + + /// + /// To be documented. + /// + public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + ImGui.PrimRectUVNative(Handle, a, b, uvA, uvB, col); + } + + /// + /// To be documented. + /// + public unsafe void PrimReserve(int idxCount, int vtxCount) + { + ImGui.PrimReserveNative(Handle, idxCount, vtxCount); + } + + /// + /// To be documented. + /// + public unsafe void PrimUnreserve(int idxCount, int vtxCount) + { + ImGui.PrimUnreserveNative(Handle, idxCount, vtxCount); + } + + /// + /// To be documented. + /// + public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col) + { + ImGui.PrimVtxNative(Handle, pos, uv, col); + } + + /// + /// To be documented. + /// + public unsafe void PrimWriteIdx(ushort idx) + { + ImGui.PrimWriteIdxNative(Handle, idx); + } + + /// + /// To be documented. + /// + public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col) + { + ImGui.PrimWriteVtxNative(Handle, pos, uv, col); + } + + /// + /// To be documented. + /// + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + ImGui.PushClipRectNative(Handle, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax) + { + ImGui.PushClipRectNative(Handle, clipRectMin, clipRectMax, (byte)(0)); + } + + /// + /// To be documented. + /// + public unsafe void PushClipRectFullScreen() + { + ImGui.PushClipRectFullScreenNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void PushTextureID(ImTextureID textureId) + { + ImGui.PushTextureIDNative(Handle, textureId); + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawListPtrPtr : IEquatable + { + public ImDrawListPtrPtr(ImDrawList** handle) { Handle = handle; } + + public ImDrawList** Handle; + + public bool IsNull => Handle == null; + + public static ImDrawListPtrPtr Null => new ImDrawListPtrPtr(null); + + public ImDrawList* this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawListPtrPtr(ImDrawList** handle) => new ImDrawListPtrPtr(handle); + + public static implicit operator ImDrawList**(ImDrawListPtrPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawListPtrPtr left, ImDrawListPtrPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawListPtrPtr left, ImDrawListPtrPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawListPtrPtr left, ImDrawList** right) => left.Handle == right; + + public static bool operator !=(ImDrawListPtrPtr left, ImDrawList** right) => left.Handle != right; + + public bool Equals(ImDrawListPtrPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawListPtrPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawListPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawListSharedData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawListSharedData.cs new file mode 100644 index 000000000..e22f94879 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawListSharedData.cs @@ -0,0 +1,599 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Data shared between all ImDrawList instances
+ /// Conceptually this could have been called e.g. ImDrawListSharedContext
+ /// Typically one ImGui context would create and maintain one of this.
+ /// You may want to create your own instance of you try to ImDrawList completely without ImGui. In that case, watch out for future changes to this structure.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawListSharedData + { + /// + /// To be documented. + /// + public Vector2 TexUvWhitePixel; + + /// + /// To be documented. + /// + public unsafe ImFont* Font; + + /// + /// To be documented. + /// + public float FontSize; + + /// + /// To be documented. + /// + public float CurveTessellationTol; + + /// + /// To be documented. + /// + public float CircleSegmentMaxError; + + /// + /// To be documented. + /// + public Vector4 ClipRectFullscreen; + + /// + /// To be documented. + /// + public ImDrawListFlags InitialFlags; + + /// + /// To be documented. + /// + public Vector2 ArcFastVtx_0; + public Vector2 ArcFastVtx_1; + public Vector2 ArcFastVtx_2; + public Vector2 ArcFastVtx_3; + public Vector2 ArcFastVtx_4; + public Vector2 ArcFastVtx_5; + public Vector2 ArcFastVtx_6; + public Vector2 ArcFastVtx_7; + public Vector2 ArcFastVtx_8; + public Vector2 ArcFastVtx_9; + public Vector2 ArcFastVtx_10; + public Vector2 ArcFastVtx_11; + public Vector2 ArcFastVtx_12; + public Vector2 ArcFastVtx_13; + public Vector2 ArcFastVtx_14; + public Vector2 ArcFastVtx_15; + public Vector2 ArcFastVtx_16; + public Vector2 ArcFastVtx_17; + public Vector2 ArcFastVtx_18; + public Vector2 ArcFastVtx_19; + public Vector2 ArcFastVtx_20; + public Vector2 ArcFastVtx_21; + public Vector2 ArcFastVtx_22; + public Vector2 ArcFastVtx_23; + public Vector2 ArcFastVtx_24; + public Vector2 ArcFastVtx_25; + public Vector2 ArcFastVtx_26; + public Vector2 ArcFastVtx_27; + public Vector2 ArcFastVtx_28; + public Vector2 ArcFastVtx_29; + public Vector2 ArcFastVtx_30; + public Vector2 ArcFastVtx_31; + public Vector2 ArcFastVtx_32; + public Vector2 ArcFastVtx_33; + public Vector2 ArcFastVtx_34; + public Vector2 ArcFastVtx_35; + public Vector2 ArcFastVtx_36; + public Vector2 ArcFastVtx_37; + public Vector2 ArcFastVtx_38; + public Vector2 ArcFastVtx_39; + public Vector2 ArcFastVtx_40; + public Vector2 ArcFastVtx_41; + public Vector2 ArcFastVtx_42; + public Vector2 ArcFastVtx_43; + public Vector2 ArcFastVtx_44; + public Vector2 ArcFastVtx_45; + public Vector2 ArcFastVtx_46; + public Vector2 ArcFastVtx_47; + + /// + /// To be documented. + /// + public float ArcFastRadiusCutoff; + + /// + /// To be documented. + /// + public byte CircleSegmentCounts_0; + public byte CircleSegmentCounts_1; + public byte CircleSegmentCounts_2; + public byte CircleSegmentCounts_3; + public byte CircleSegmentCounts_4; + public byte CircleSegmentCounts_5; + public byte CircleSegmentCounts_6; + public byte CircleSegmentCounts_7; + public byte CircleSegmentCounts_8; + public byte CircleSegmentCounts_9; + public byte CircleSegmentCounts_10; + public byte CircleSegmentCounts_11; + public byte CircleSegmentCounts_12; + public byte CircleSegmentCounts_13; + public byte CircleSegmentCounts_14; + public byte CircleSegmentCounts_15; + public byte CircleSegmentCounts_16; + public byte CircleSegmentCounts_17; + public byte CircleSegmentCounts_18; + public byte CircleSegmentCounts_19; + public byte CircleSegmentCounts_20; + public byte CircleSegmentCounts_21; + public byte CircleSegmentCounts_22; + public byte CircleSegmentCounts_23; + public byte CircleSegmentCounts_24; + public byte CircleSegmentCounts_25; + public byte CircleSegmentCounts_26; + public byte CircleSegmentCounts_27; + public byte CircleSegmentCounts_28; + public byte CircleSegmentCounts_29; + public byte CircleSegmentCounts_30; + public byte CircleSegmentCounts_31; + public byte CircleSegmentCounts_32; + public byte CircleSegmentCounts_33; + public byte CircleSegmentCounts_34; + public byte CircleSegmentCounts_35; + public byte CircleSegmentCounts_36; + public byte CircleSegmentCounts_37; + public byte CircleSegmentCounts_38; + public byte CircleSegmentCounts_39; + public byte CircleSegmentCounts_40; + public byte CircleSegmentCounts_41; + public byte CircleSegmentCounts_42; + public byte CircleSegmentCounts_43; + public byte CircleSegmentCounts_44; + public byte CircleSegmentCounts_45; + public byte CircleSegmentCounts_46; + public byte CircleSegmentCounts_47; + public byte CircleSegmentCounts_48; + public byte CircleSegmentCounts_49; + public byte CircleSegmentCounts_50; + public byte CircleSegmentCounts_51; + public byte CircleSegmentCounts_52; + public byte CircleSegmentCounts_53; + public byte CircleSegmentCounts_54; + public byte CircleSegmentCounts_55; + public byte CircleSegmentCounts_56; + public byte CircleSegmentCounts_57; + public byte CircleSegmentCounts_58; + public byte CircleSegmentCounts_59; + public byte CircleSegmentCounts_60; + public byte CircleSegmentCounts_61; + public byte CircleSegmentCounts_62; + public byte CircleSegmentCounts_63; + + /// + /// To be documented. + /// + public unsafe Vector4* TexUvLines; + + + /// + /// To be documented. + /// + public unsafe ImDrawListSharedData(Vector2 texUvWhitePixel = default, ImFont* font = default, float fontSize = default, float curveTessellationTol = default, float circleSegmentMaxError = default, Vector4 clipRectFullscreen = default, ImDrawListFlags initialFlags = default, Vector2* arcFastVtx = default, float arcFastRadiusCutoff = default, byte* circleSegmentCounts = default, Vector4* texUvLines = default) + { + TexUvWhitePixel = texUvWhitePixel; + Font = font; + FontSize = fontSize; + CurveTessellationTol = curveTessellationTol; + CircleSegmentMaxError = circleSegmentMaxError; + ClipRectFullscreen = clipRectFullscreen; + InitialFlags = initialFlags; + if (arcFastVtx != default(Vector2*)) + { + ArcFastVtx_0 = arcFastVtx[0]; + ArcFastVtx_1 = arcFastVtx[1]; + ArcFastVtx_2 = arcFastVtx[2]; + ArcFastVtx_3 = arcFastVtx[3]; + ArcFastVtx_4 = arcFastVtx[4]; + ArcFastVtx_5 = arcFastVtx[5]; + ArcFastVtx_6 = arcFastVtx[6]; + ArcFastVtx_7 = arcFastVtx[7]; + ArcFastVtx_8 = arcFastVtx[8]; + ArcFastVtx_9 = arcFastVtx[9]; + ArcFastVtx_10 = arcFastVtx[10]; + ArcFastVtx_11 = arcFastVtx[11]; + ArcFastVtx_12 = arcFastVtx[12]; + ArcFastVtx_13 = arcFastVtx[13]; + ArcFastVtx_14 = arcFastVtx[14]; + ArcFastVtx_15 = arcFastVtx[15]; + ArcFastVtx_16 = arcFastVtx[16]; + ArcFastVtx_17 = arcFastVtx[17]; + ArcFastVtx_18 = arcFastVtx[18]; + ArcFastVtx_19 = arcFastVtx[19]; + ArcFastVtx_20 = arcFastVtx[20]; + ArcFastVtx_21 = arcFastVtx[21]; + ArcFastVtx_22 = arcFastVtx[22]; + ArcFastVtx_23 = arcFastVtx[23]; + ArcFastVtx_24 = arcFastVtx[24]; + ArcFastVtx_25 = arcFastVtx[25]; + ArcFastVtx_26 = arcFastVtx[26]; + ArcFastVtx_27 = arcFastVtx[27]; + ArcFastVtx_28 = arcFastVtx[28]; + ArcFastVtx_29 = arcFastVtx[29]; + ArcFastVtx_30 = arcFastVtx[30]; + ArcFastVtx_31 = arcFastVtx[31]; + ArcFastVtx_32 = arcFastVtx[32]; + ArcFastVtx_33 = arcFastVtx[33]; + ArcFastVtx_34 = arcFastVtx[34]; + ArcFastVtx_35 = arcFastVtx[35]; + ArcFastVtx_36 = arcFastVtx[36]; + ArcFastVtx_37 = arcFastVtx[37]; + ArcFastVtx_38 = arcFastVtx[38]; + ArcFastVtx_39 = arcFastVtx[39]; + ArcFastVtx_40 = arcFastVtx[40]; + ArcFastVtx_41 = arcFastVtx[41]; + ArcFastVtx_42 = arcFastVtx[42]; + ArcFastVtx_43 = arcFastVtx[43]; + ArcFastVtx_44 = arcFastVtx[44]; + ArcFastVtx_45 = arcFastVtx[45]; + ArcFastVtx_46 = arcFastVtx[46]; + ArcFastVtx_47 = arcFastVtx[47]; + } + ArcFastRadiusCutoff = arcFastRadiusCutoff; + if (circleSegmentCounts != default(byte*)) + { + CircleSegmentCounts_0 = circleSegmentCounts[0]; + CircleSegmentCounts_1 = circleSegmentCounts[1]; + CircleSegmentCounts_2 = circleSegmentCounts[2]; + CircleSegmentCounts_3 = circleSegmentCounts[3]; + CircleSegmentCounts_4 = circleSegmentCounts[4]; + CircleSegmentCounts_5 = circleSegmentCounts[5]; + CircleSegmentCounts_6 = circleSegmentCounts[6]; + CircleSegmentCounts_7 = circleSegmentCounts[7]; + CircleSegmentCounts_8 = circleSegmentCounts[8]; + CircleSegmentCounts_9 = circleSegmentCounts[9]; + CircleSegmentCounts_10 = circleSegmentCounts[10]; + CircleSegmentCounts_11 = circleSegmentCounts[11]; + CircleSegmentCounts_12 = circleSegmentCounts[12]; + CircleSegmentCounts_13 = circleSegmentCounts[13]; + CircleSegmentCounts_14 = circleSegmentCounts[14]; + CircleSegmentCounts_15 = circleSegmentCounts[15]; + CircleSegmentCounts_16 = circleSegmentCounts[16]; + CircleSegmentCounts_17 = circleSegmentCounts[17]; + CircleSegmentCounts_18 = circleSegmentCounts[18]; + CircleSegmentCounts_19 = circleSegmentCounts[19]; + CircleSegmentCounts_20 = circleSegmentCounts[20]; + CircleSegmentCounts_21 = circleSegmentCounts[21]; + CircleSegmentCounts_22 = circleSegmentCounts[22]; + CircleSegmentCounts_23 = circleSegmentCounts[23]; + CircleSegmentCounts_24 = circleSegmentCounts[24]; + CircleSegmentCounts_25 = circleSegmentCounts[25]; + CircleSegmentCounts_26 = circleSegmentCounts[26]; + CircleSegmentCounts_27 = circleSegmentCounts[27]; + CircleSegmentCounts_28 = circleSegmentCounts[28]; + CircleSegmentCounts_29 = circleSegmentCounts[29]; + CircleSegmentCounts_30 = circleSegmentCounts[30]; + CircleSegmentCounts_31 = circleSegmentCounts[31]; + CircleSegmentCounts_32 = circleSegmentCounts[32]; + CircleSegmentCounts_33 = circleSegmentCounts[33]; + CircleSegmentCounts_34 = circleSegmentCounts[34]; + CircleSegmentCounts_35 = circleSegmentCounts[35]; + CircleSegmentCounts_36 = circleSegmentCounts[36]; + CircleSegmentCounts_37 = circleSegmentCounts[37]; + CircleSegmentCounts_38 = circleSegmentCounts[38]; + CircleSegmentCounts_39 = circleSegmentCounts[39]; + CircleSegmentCounts_40 = circleSegmentCounts[40]; + CircleSegmentCounts_41 = circleSegmentCounts[41]; + CircleSegmentCounts_42 = circleSegmentCounts[42]; + CircleSegmentCounts_43 = circleSegmentCounts[43]; + CircleSegmentCounts_44 = circleSegmentCounts[44]; + CircleSegmentCounts_45 = circleSegmentCounts[45]; + CircleSegmentCounts_46 = circleSegmentCounts[46]; + CircleSegmentCounts_47 = circleSegmentCounts[47]; + CircleSegmentCounts_48 = circleSegmentCounts[48]; + CircleSegmentCounts_49 = circleSegmentCounts[49]; + CircleSegmentCounts_50 = circleSegmentCounts[50]; + CircleSegmentCounts_51 = circleSegmentCounts[51]; + CircleSegmentCounts_52 = circleSegmentCounts[52]; + CircleSegmentCounts_53 = circleSegmentCounts[53]; + CircleSegmentCounts_54 = circleSegmentCounts[54]; + CircleSegmentCounts_55 = circleSegmentCounts[55]; + CircleSegmentCounts_56 = circleSegmentCounts[56]; + CircleSegmentCounts_57 = circleSegmentCounts[57]; + CircleSegmentCounts_58 = circleSegmentCounts[58]; + CircleSegmentCounts_59 = circleSegmentCounts[59]; + CircleSegmentCounts_60 = circleSegmentCounts[60]; + CircleSegmentCounts_61 = circleSegmentCounts[61]; + CircleSegmentCounts_62 = circleSegmentCounts[62]; + CircleSegmentCounts_63 = circleSegmentCounts[63]; + } + TexUvLines = texUvLines; + } + + /// + /// To be documented. + /// + public unsafe ImDrawListSharedData(Vector2 texUvWhitePixel = default, ImFont* font = default, float fontSize = default, float curveTessellationTol = default, float circleSegmentMaxError = default, Vector4 clipRectFullscreen = default, ImDrawListFlags initialFlags = default, Span arcFastVtx = default, float arcFastRadiusCutoff = default, Span circleSegmentCounts = default, Vector4* texUvLines = default) + { + TexUvWhitePixel = texUvWhitePixel; + Font = font; + FontSize = fontSize; + CurveTessellationTol = curveTessellationTol; + CircleSegmentMaxError = circleSegmentMaxError; + ClipRectFullscreen = clipRectFullscreen; + InitialFlags = initialFlags; + if (arcFastVtx != default(Span)) + { + ArcFastVtx_0 = arcFastVtx[0]; + ArcFastVtx_1 = arcFastVtx[1]; + ArcFastVtx_2 = arcFastVtx[2]; + ArcFastVtx_3 = arcFastVtx[3]; + ArcFastVtx_4 = arcFastVtx[4]; + ArcFastVtx_5 = arcFastVtx[5]; + ArcFastVtx_6 = arcFastVtx[6]; + ArcFastVtx_7 = arcFastVtx[7]; + ArcFastVtx_8 = arcFastVtx[8]; + ArcFastVtx_9 = arcFastVtx[9]; + ArcFastVtx_10 = arcFastVtx[10]; + ArcFastVtx_11 = arcFastVtx[11]; + ArcFastVtx_12 = arcFastVtx[12]; + ArcFastVtx_13 = arcFastVtx[13]; + ArcFastVtx_14 = arcFastVtx[14]; + ArcFastVtx_15 = arcFastVtx[15]; + ArcFastVtx_16 = arcFastVtx[16]; + ArcFastVtx_17 = arcFastVtx[17]; + ArcFastVtx_18 = arcFastVtx[18]; + ArcFastVtx_19 = arcFastVtx[19]; + ArcFastVtx_20 = arcFastVtx[20]; + ArcFastVtx_21 = arcFastVtx[21]; + ArcFastVtx_22 = arcFastVtx[22]; + ArcFastVtx_23 = arcFastVtx[23]; + ArcFastVtx_24 = arcFastVtx[24]; + ArcFastVtx_25 = arcFastVtx[25]; + ArcFastVtx_26 = arcFastVtx[26]; + ArcFastVtx_27 = arcFastVtx[27]; + ArcFastVtx_28 = arcFastVtx[28]; + ArcFastVtx_29 = arcFastVtx[29]; + ArcFastVtx_30 = arcFastVtx[30]; + ArcFastVtx_31 = arcFastVtx[31]; + ArcFastVtx_32 = arcFastVtx[32]; + ArcFastVtx_33 = arcFastVtx[33]; + ArcFastVtx_34 = arcFastVtx[34]; + ArcFastVtx_35 = arcFastVtx[35]; + ArcFastVtx_36 = arcFastVtx[36]; + ArcFastVtx_37 = arcFastVtx[37]; + ArcFastVtx_38 = arcFastVtx[38]; + ArcFastVtx_39 = arcFastVtx[39]; + ArcFastVtx_40 = arcFastVtx[40]; + ArcFastVtx_41 = arcFastVtx[41]; + ArcFastVtx_42 = arcFastVtx[42]; + ArcFastVtx_43 = arcFastVtx[43]; + ArcFastVtx_44 = arcFastVtx[44]; + ArcFastVtx_45 = arcFastVtx[45]; + ArcFastVtx_46 = arcFastVtx[46]; + ArcFastVtx_47 = arcFastVtx[47]; + } + ArcFastRadiusCutoff = arcFastRadiusCutoff; + if (circleSegmentCounts != default(Span)) + { + CircleSegmentCounts_0 = circleSegmentCounts[0]; + CircleSegmentCounts_1 = circleSegmentCounts[1]; + CircleSegmentCounts_2 = circleSegmentCounts[2]; + CircleSegmentCounts_3 = circleSegmentCounts[3]; + CircleSegmentCounts_4 = circleSegmentCounts[4]; + CircleSegmentCounts_5 = circleSegmentCounts[5]; + CircleSegmentCounts_6 = circleSegmentCounts[6]; + CircleSegmentCounts_7 = circleSegmentCounts[7]; + CircleSegmentCounts_8 = circleSegmentCounts[8]; + CircleSegmentCounts_9 = circleSegmentCounts[9]; + CircleSegmentCounts_10 = circleSegmentCounts[10]; + CircleSegmentCounts_11 = circleSegmentCounts[11]; + CircleSegmentCounts_12 = circleSegmentCounts[12]; + CircleSegmentCounts_13 = circleSegmentCounts[13]; + CircleSegmentCounts_14 = circleSegmentCounts[14]; + CircleSegmentCounts_15 = circleSegmentCounts[15]; + CircleSegmentCounts_16 = circleSegmentCounts[16]; + CircleSegmentCounts_17 = circleSegmentCounts[17]; + CircleSegmentCounts_18 = circleSegmentCounts[18]; + CircleSegmentCounts_19 = circleSegmentCounts[19]; + CircleSegmentCounts_20 = circleSegmentCounts[20]; + CircleSegmentCounts_21 = circleSegmentCounts[21]; + CircleSegmentCounts_22 = circleSegmentCounts[22]; + CircleSegmentCounts_23 = circleSegmentCounts[23]; + CircleSegmentCounts_24 = circleSegmentCounts[24]; + CircleSegmentCounts_25 = circleSegmentCounts[25]; + CircleSegmentCounts_26 = circleSegmentCounts[26]; + CircleSegmentCounts_27 = circleSegmentCounts[27]; + CircleSegmentCounts_28 = circleSegmentCounts[28]; + CircleSegmentCounts_29 = circleSegmentCounts[29]; + CircleSegmentCounts_30 = circleSegmentCounts[30]; + CircleSegmentCounts_31 = circleSegmentCounts[31]; + CircleSegmentCounts_32 = circleSegmentCounts[32]; + CircleSegmentCounts_33 = circleSegmentCounts[33]; + CircleSegmentCounts_34 = circleSegmentCounts[34]; + CircleSegmentCounts_35 = circleSegmentCounts[35]; + CircleSegmentCounts_36 = circleSegmentCounts[36]; + CircleSegmentCounts_37 = circleSegmentCounts[37]; + CircleSegmentCounts_38 = circleSegmentCounts[38]; + CircleSegmentCounts_39 = circleSegmentCounts[39]; + CircleSegmentCounts_40 = circleSegmentCounts[40]; + CircleSegmentCounts_41 = circleSegmentCounts[41]; + CircleSegmentCounts_42 = circleSegmentCounts[42]; + CircleSegmentCounts_43 = circleSegmentCounts[43]; + CircleSegmentCounts_44 = circleSegmentCounts[44]; + CircleSegmentCounts_45 = circleSegmentCounts[45]; + CircleSegmentCounts_46 = circleSegmentCounts[46]; + CircleSegmentCounts_47 = circleSegmentCounts[47]; + CircleSegmentCounts_48 = circleSegmentCounts[48]; + CircleSegmentCounts_49 = circleSegmentCounts[49]; + CircleSegmentCounts_50 = circleSegmentCounts[50]; + CircleSegmentCounts_51 = circleSegmentCounts[51]; + CircleSegmentCounts_52 = circleSegmentCounts[52]; + CircleSegmentCounts_53 = circleSegmentCounts[53]; + CircleSegmentCounts_54 = circleSegmentCounts[54]; + CircleSegmentCounts_55 = circleSegmentCounts[55]; + CircleSegmentCounts_56 = circleSegmentCounts[56]; + CircleSegmentCounts_57 = circleSegmentCounts[57]; + CircleSegmentCounts_58 = circleSegmentCounts[58]; + CircleSegmentCounts_59 = circleSegmentCounts[59]; + CircleSegmentCounts_60 = circleSegmentCounts[60]; + CircleSegmentCounts_61 = circleSegmentCounts[61]; + CircleSegmentCounts_62 = circleSegmentCounts[62]; + CircleSegmentCounts_63 = circleSegmentCounts[63]; + } + TexUvLines = texUvLines; + } + + + /// + /// To be documented. + /// + public unsafe Span ArcFastVtx + + { + get + { + fixed (Vector2* p = &this.ArcFastVtx_0) + { + return new Span(p, 48); + } + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImDrawListSharedData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawListSharedDataPtr : IEquatable + { + public ImDrawListSharedDataPtr(ImDrawListSharedData* handle) { Handle = handle; } + + public ImDrawListSharedData* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawListSharedDataPtr Null => new ImDrawListSharedDataPtr(null); + + public ImDrawListSharedData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawListSharedDataPtr(ImDrawListSharedData* handle) => new ImDrawListSharedDataPtr(handle); + + public static implicit operator ImDrawListSharedData*(ImDrawListSharedDataPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawListSharedDataPtr left, ImDrawListSharedDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawListSharedDataPtr left, ImDrawListSharedDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawListSharedDataPtr left, ImDrawListSharedData* right) => left.Handle == right; + + public static bool operator !=(ImDrawListSharedDataPtr left, ImDrawListSharedData* right) => left.Handle != right; + + public bool Equals(ImDrawListSharedDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawListSharedDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawListSharedDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&Handle->TexUvWhitePixel); + /// + /// To be documented. + /// + public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); + /// + /// To be documented. + /// + public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); + /// + /// To be documented. + /// + public ref float CurveTessellationTol => ref Unsafe.AsRef(&Handle->CurveTessellationTol); + /// + /// To be documented. + /// + public ref float CircleSegmentMaxError => ref Unsafe.AsRef(&Handle->CircleSegmentMaxError); + /// + /// To be documented. + /// + public ref Vector4 ClipRectFullscreen => ref Unsafe.AsRef(&Handle->ClipRectFullscreen); + /// + /// To be documented. + /// + public ref ImDrawListFlags InitialFlags => ref Unsafe.AsRef(&Handle->InitialFlags); + /// + /// To be documented. + /// + public unsafe Span ArcFastVtx + + { + get + { + return new Span(&Handle->ArcFastVtx_0, 48); + } + } + /// + /// To be documented. + /// + public ref float ArcFastRadiusCutoff => ref Unsafe.AsRef(&Handle->ArcFastRadiusCutoff); + /// + /// To be documented. + /// + public unsafe Span CircleSegmentCounts + + { + get + { + return new Span(&Handle->CircleSegmentCounts_0, 64); + } + } + /// + /// To be documented. + /// + public Vector4* TexUvLines { get => Handle->TexUvLines; set => Handle->TexUvLines = value; } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawListSplitter.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawListSplitter.cs new file mode 100644 index 000000000..fd7aeceed --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawListSplitter.cs @@ -0,0 +1,299 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// SplitMerge functions are used to split the draw list into different layers which can be drawn into out of order.
+ /// This is used by the ColumnsTables API, so items of each column can be batched together in a same draw call.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawListSplitter + { + /// + /// To be documented. + /// + public int Current; + + /// + /// To be documented. + /// + public int Count; + + /// + /// To be documented. + /// + public ImVector Channels; + + + /// + /// To be documented. + /// + public unsafe ImDrawListSplitter(int current = default, int count = default, ImVector channels = default) + { + Current = current; + Count = count; + Channels = channels; + } + + + /// + /// To be documented. + /// + public unsafe void Clear() + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGui.ClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ClearFreeMemory() + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGui.ClearFreeMemoryNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Merge(ImDrawListPtr drawList) + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGui.MergeNative(@this, drawList); + } + } + + /// + /// To be documented. + /// + public unsafe void Merge(ref ImDrawList drawList) + { + fixed (ImDrawListSplitter* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.MergeNative(@this, (ImDrawList*)pdrawList); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx) + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGui.SetCurrentChannelNative(@this, drawList, channelIdx); + } + } + + /// + /// To be documented. + /// + public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawListSplitter* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.SetCurrentChannelNative(@this, (ImDrawList*)pdrawList, channelIdx); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Split(ImDrawListPtr drawList, int count) + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGui.SplitNative(@this, drawList, count); + } + } + + /// + /// To be documented. + /// + public unsafe void Split(ref ImDrawList drawList, int count) + { + fixed (ImDrawListSplitter* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.SplitNative(@this, (ImDrawList*)pdrawList, count); + } + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawListSplitterPtr : IEquatable + { + public ImDrawListSplitterPtr(ImDrawListSplitter* handle) { Handle = handle; } + + public ImDrawListSplitter* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawListSplitterPtr Null => new ImDrawListSplitterPtr(null); + + public ImDrawListSplitter this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawListSplitterPtr(ImDrawListSplitter* handle) => new ImDrawListSplitterPtr(handle); + + public static implicit operator ImDrawListSplitter*(ImDrawListSplitterPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawListSplitterPtr left, ImDrawListSplitterPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawListSplitterPtr left, ImDrawListSplitterPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawListSplitterPtr left, ImDrawListSplitter* right) => left.Handle == right; + + public static bool operator !=(ImDrawListSplitterPtr left, ImDrawListSplitter* right) => left.Handle != right; + + public bool Equals(ImDrawListSplitterPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawListSplitterPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawListSplitterPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref int Current => ref Unsafe.AsRef(&Handle->Current); + /// + /// To be documented. + /// + public ref int Count => ref Unsafe.AsRef(&Handle->Count); + /// + /// To be documented. + /// + public ref ImVector Channels => ref Unsafe.AsRef>(&Handle->Channels); + /// + /// To be documented. + /// + public unsafe void Clear() + { + ImGui.ClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ClearFreeMemory() + { + ImGui.ClearFreeMemoryNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Merge(ImDrawListPtr drawList) + { + ImGui.MergeNative(Handle, drawList); + } + + /// + /// To be documented. + /// + public unsafe void Merge(ref ImDrawList drawList) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.MergeNative(Handle, (ImDrawList*)pdrawList); + } + } + + /// + /// To be documented. + /// + public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx) + { + ImGui.SetCurrentChannelNative(Handle, drawList, channelIdx); + } + + /// + /// To be documented. + /// + public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.SetCurrentChannelNative(Handle, (ImDrawList*)pdrawList, channelIdx); + } + } + + /// + /// To be documented. + /// + public unsafe void Split(ImDrawListPtr drawList, int count) + { + ImGui.SplitNative(Handle, drawList, count); + } + + /// + /// To be documented. + /// + public unsafe void Split(ref ImDrawList drawList, int count) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.SplitNative(Handle, (ImDrawList*)pdrawList, count); + } + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImDrawVert.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawVert.cs new file mode 100644 index 000000000..cb482eb52 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImDrawVert.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawVert + { + /// + /// To be documented. + /// + public Vector2 Pos; + + /// + /// To be documented. + /// + public Vector2 Uv; + + /// + /// To be documented. + /// + public uint Col; + + + /// + /// To be documented. + /// + public unsafe ImDrawVert(Vector2 pos = default, Vector2 uv = default, uint col = default) + { + Pos = pos; + Uv = uv; + Col = col; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImDrawVertPtr : IEquatable + { + public ImDrawVertPtr(ImDrawVert* handle) { Handle = handle; } + + public ImDrawVert* Handle; + + public bool IsNull => Handle == null; + + public static ImDrawVertPtr Null => new ImDrawVertPtr(null); + + public ImDrawVert this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImDrawVertPtr(ImDrawVert* handle) => new ImDrawVertPtr(handle); + + public static implicit operator ImDrawVert*(ImDrawVertPtr handle) => handle.Handle; + + public static bool operator ==(ImDrawVertPtr left, ImDrawVertPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImDrawVertPtr left, ImDrawVertPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImDrawVertPtr left, ImDrawVert* right) => left.Handle == right; + + public static bool operator !=(ImDrawVertPtr left, ImDrawVert* right) => left.Handle != right; + + public bool Equals(ImDrawVertPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImDrawVertPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImDrawVertPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + /// + /// To be documented. + /// + public ref Vector2 Uv => ref Unsafe.AsRef(&Handle->Uv); + /// + /// To be documented. + /// + public ref uint Col => ref Unsafe.AsRef(&Handle->Col); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFont.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFont.cs new file mode 100644 index 000000000..f748dca10 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFont.cs @@ -0,0 +1,8630 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Font runtime data and rendering
+ /// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32().
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImFont + { + /// + /// To be documented. + /// + public ImVector IndexedHotData; + + /// + /// To be documented. + /// + public ImVector FrequentKerningPairs; + + /// + /// To be documented. + /// + public float FontSize; + + /// + /// To be documented. + /// + public ImVector IndexLookup; + + /// + /// To be documented. + /// + public ImVector Glyphs; + + /// + /// To be documented. + /// + public unsafe ImFontGlyph* FallbackGlyph; + + /// + /// To be documented. + /// + public unsafe ImFontGlyphHotData* FallbackHotData; + + /// + /// To be documented. + /// + public ImVector KerningPairs; + + /// + /// To be documented. + /// + public unsafe ImFontAtlas* ContainerAtlas; + + /// + /// To be documented. + /// + public unsafe ImFontConfig* ConfigData; + + /// + /// To be documented. + /// + public short ConfigDataCount; + + /// + /// To be documented. + /// + public ushort FallbackChar; + + /// + /// To be documented. + /// + public ushort EllipsisChar; + + /// + /// To be documented. + /// + public ushort DotChar; + + /// + /// To be documented. + /// + public byte DirtyLookupTables; + + /// + /// To be documented. + /// + public float Scale; + + /// + /// To be documented. + /// + public float Ascent; + + /// + /// To be documented. + /// + public float Descent; + + /// + /// To be documented. + /// + public int MetricsTotalSurface; + + /// + /// To be documented. + /// + public byte Used4kPagesMap_0; + public byte Used4kPagesMap_1; + + + /// + /// To be documented. + /// + public unsafe ImFont(ImVector indexedHotData = default, ImVector frequentKerningPairs = default, float fontSize = default, ImVector indexLookup = default, ImVector glyphs = default, ImFontGlyph* fallbackGlyph = default, ImFontGlyphHotData* fallbackHotData = default, ImVector kerningPairs = default, ImFontAtlas* containerAtlas = default, ImFontConfig* configData = default, short configDataCount = default, ushort fallbackChar = default, ushort ellipsisChar = default, ushort dotChar = default, bool dirtyLookupTables = default, float scale = default, float ascent = default, float descent = default, int metricsTotalSurface = default, byte* used4KPagesMap = default) + { + IndexedHotData = indexedHotData; + FrequentKerningPairs = frequentKerningPairs; + FontSize = fontSize; + IndexLookup = indexLookup; + Glyphs = glyphs; + FallbackGlyph = fallbackGlyph; + FallbackHotData = fallbackHotData; + KerningPairs = kerningPairs; + ContainerAtlas = containerAtlas; + ConfigData = configData; + ConfigDataCount = configDataCount; + FallbackChar = fallbackChar; + EllipsisChar = ellipsisChar; + DotChar = dotChar; + DirtyLookupTables = dirtyLookupTables ? (byte)1 : (byte)0; + Scale = scale; + Ascent = ascent; + Descent = descent; + MetricsTotalSurface = metricsTotalSurface; + if (used4KPagesMap != default(byte*)) + { + Used4kPagesMap_0 = used4KPagesMap[0]; + Used4kPagesMap_1 = used4KPagesMap[1]; + } + } + + /// + /// To be documented. + /// + public unsafe ImFont(ImVector indexedHotData = default, ImVector frequentKerningPairs = default, float fontSize = default, ImVector indexLookup = default, ImVector glyphs = default, ImFontGlyph* fallbackGlyph = default, ImFontGlyphHotData* fallbackHotData = default, ImVector kerningPairs = default, ImFontAtlas* containerAtlas = default, ImFontConfig* configData = default, short configDataCount = default, ushort fallbackChar = default, ushort ellipsisChar = default, ushort dotChar = default, bool dirtyLookupTables = default, float scale = default, float ascent = default, float descent = default, int metricsTotalSurface = default, Span used4KPagesMap = default) + { + IndexedHotData = indexedHotData; + FrequentKerningPairs = frequentKerningPairs; + FontSize = fontSize; + IndexLookup = indexLookup; + Glyphs = glyphs; + FallbackGlyph = fallbackGlyph; + FallbackHotData = fallbackHotData; + KerningPairs = kerningPairs; + ContainerAtlas = containerAtlas; + ConfigData = configData; + ConfigDataCount = configDataCount; + FallbackChar = fallbackChar; + EllipsisChar = ellipsisChar; + DotChar = dotChar; + DirtyLookupTables = dirtyLookupTables ? (byte)1 : (byte)0; + Scale = scale; + Ascent = ascent; + Descent = descent; + MetricsTotalSurface = metricsTotalSurface; + if (used4KPagesMap != default(Span)) + { + Used4kPagesMap_0 = used4KPagesMap[0]; + Used4kPagesMap_1 = used4KPagesMap[1]; + } + } + + + /// + /// To be documented. + /// + public unsafe void AddGlyph(ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* @this = &this) + { + ImGui.AddGlyphNative(@this, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + + /// + /// To be documented. + /// + public unsafe void AddGlyph(ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* @this = &this) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + ImGui.AddGlyphNative(@this, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddKerningPair(ushort leftC, ushort rightC, float distanceAdjustment) + { + fixed (ImFont* @this = &this) + { + ImGui.AddKerningPairNative(@this, leftC, rightC, distanceAdjustment); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRemapChar(ushort dst, ushort src, bool overwriteDst) + { + fixed (ImFont* @this = &this) + { + ImGui.AddRemapCharNative(@this, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRemapChar(ushort dst, ushort src) + { + fixed (ImFont* @this = &this) + { + ImGui.AddRemapCharNative(@this, dst, src, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public unsafe void BuildLookupTable() + { + fixed (ImFont* @this = &this) + { + ImGui.BuildLookupTableNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, textEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, textEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, textEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, textEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, pStr1, wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, pStr1, wrapWidth)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = &text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptext = text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe void ClearOutputData() + { + fixed (ImFont* @this = &this) + { + ImGui.ClearOutputDataNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImFont* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe ImFontGlyph* FindGlyph(ushort c) + { + fixed (ImFont* @this = &this) + { + ImFontGlyph* ret = ImGui.FindGlyphNative(@this, c); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontGlyph* FindGlyphNoFallback(ushort c) + { + fixed (ImFont* @this = &this) + { + ImFontGlyph* ret = ImGui.FindGlyphNoFallbackNative(@this, c); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float GetCharAdvance(ushort c) + { + fixed (ImFont* @this = &this) + { + float ret = ImGui.GetCharAdvanceNative(@this, c); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetDebugName() + { + fixed (ImFont* @this = &this) + { + byte* ret = ImGui.GetDebugNameNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetDebugNameS() + { + fixed (ImFont* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImGui.GetDebugNameNative(@this)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float GetDistanceAdjustmentForPair(ushort leftC, ushort rightC) + { + fixed (ImFont* @this = &this) + { + float ret = ImGui.GetDistanceAdjustmentForPairNative(@this, leftC, rightC); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ImFontGlyphHotData* rightCInfo) + { + fixed (ImFont* @this = &this) + { + float ret = ImGui.GetDistanceAdjustmentForPairFromHotDataNative(@this, leftC, rightCInfo); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFont* @this = &this) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = ImGui.GetDistanceAdjustmentForPairFromHotDataNative(@this, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe void GrowIndex(int newSize) + { + fixed (ImFont* @this = &this) + { + ImGui.GrowIndexNative(@this, newSize); + } + } + + /// + /// To be documented. + /// + public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast) + { + fixed (ImFont* @this = &this) + { + byte ret = ImGui.IsGlyphRangeUnusedNative(@this, cBegin, cLast); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsLoaded() + { + fixed (ImFont* @this = &this) + { + byte ret = ImGui.IsLoadedNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* @this = &this) + { + ImGui.RenderCharNative(@this, drawList, size, pos, col, c); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderCharNative(@this, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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; + } + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImFont* @this = &this) + { + 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) + { + ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetGlyphVisible(ushort c, bool visible) + { + fixed (ImFont* @this = &this) + { + ImGui.SetGlyphVisibleNative(@this, c, visible ? (byte)1 : (byte)0); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontPtr : IEquatable + { + public ImFontPtr(ImFont* handle) { Handle = handle; } + + public ImFont* Handle; + + public bool IsNull => Handle == null; + + public static ImFontPtr Null => new ImFontPtr(null); + + public ImFont this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontPtr(ImFont* handle) => new ImFontPtr(handle); + + public static implicit operator ImFont*(ImFontPtr handle) => handle.Handle; + + public static bool operator ==(ImFontPtr left, ImFontPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontPtr left, ImFontPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontPtr left, ImFont* right) => left.Handle == right; + + public static bool operator !=(ImFontPtr left, ImFont* right) => left.Handle != right; + + public bool Equals(ImFontPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector IndexedHotData => ref Unsafe.AsRef>(&Handle->IndexedHotData); + /// + /// To be documented. + /// + public ref ImVector FrequentKerningPairs => ref Unsafe.AsRef>(&Handle->FrequentKerningPairs); + /// + /// To be documented. + /// + public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); + /// + /// To be documented. + /// + public ref ImVector IndexLookup => ref Unsafe.AsRef>(&Handle->IndexLookup); + /// + /// To be documented. + /// + public ref ImVector Glyphs => ref Unsafe.AsRef>(&Handle->Glyphs); + /// + /// To be documented. + /// + public ref ImFontGlyphPtr FallbackGlyph => ref Unsafe.AsRef(&Handle->FallbackGlyph); + /// + /// To be documented. + /// + public ref ImFontGlyphHotDataPtr FallbackHotData => ref Unsafe.AsRef(&Handle->FallbackHotData); + /// + /// To be documented. + /// + public ref ImVector KerningPairs => ref Unsafe.AsRef>(&Handle->KerningPairs); + /// + /// To be documented. + /// + public ref ImFontAtlasPtr ContainerAtlas => ref Unsafe.AsRef(&Handle->ContainerAtlas); + /// + /// To be documented. + /// + public ref ImFontConfigPtr ConfigData => ref Unsafe.AsRef(&Handle->ConfigData); + /// + /// To be documented. + /// + public ref short ConfigDataCount => ref Unsafe.AsRef(&Handle->ConfigDataCount); + /// + /// To be documented. + /// + public ref ushort FallbackChar => ref Unsafe.AsRef(&Handle->FallbackChar); + /// + /// To be documented. + /// + public ref ushort EllipsisChar => ref Unsafe.AsRef(&Handle->EllipsisChar); + /// + /// To be documented. + /// + public ref ushort DotChar => ref Unsafe.AsRef(&Handle->DotChar); + /// + /// To be documented. + /// + public ref bool DirtyLookupTables => ref Unsafe.AsRef(&Handle->DirtyLookupTables); + /// + /// To be documented. + /// + public ref float Scale => ref Unsafe.AsRef(&Handle->Scale); + /// + /// To be documented. + /// + public ref float Ascent => ref Unsafe.AsRef(&Handle->Ascent); + /// + /// To be documented. + /// + public ref float Descent => ref Unsafe.AsRef(&Handle->Descent); + /// + /// To be documented. + /// + public ref int MetricsTotalSurface => ref Unsafe.AsRef(&Handle->MetricsTotalSurface); + /// + /// To be documented. + /// + public unsafe Span Used4kPagesMap + + { + get + { + return new Span(&Handle->Used4kPagesMap_0, 2); + } + } + /// + /// To be documented. + /// + public unsafe void AddGlyph(ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + ImGui.AddGlyphNative(Handle, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + + /// + /// To be documented. + /// + public unsafe void AddGlyph(ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + ImGui.AddGlyphNative(Handle, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + + /// + /// To be documented. + /// + public unsafe void AddKerningPair(ushort leftC, ushort rightC, float distanceAdjustment) + { + ImGui.AddKerningPairNative(Handle, leftC, rightC, distanceAdjustment); + } + + /// + /// To be documented. + /// + public unsafe void AddRemapChar(ushort dst, ushort src, bool overwriteDst) + { + ImGui.AddRemapCharNative(Handle, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void AddRemapChar(ushort dst, ushort src) + { + ImGui.AddRemapCharNative(Handle, dst, src, (byte)(1)); + } + + /// + /// To be documented. + /// + public unsafe void BuildLookupTable() + { + ImGui.BuildLookupTableNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, byte* textEnd, float wrapWidth) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, textEnd, wrapWidth); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, byte* textEnd, float wrapWidth) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, textEnd, wrapWidth)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, byte* textEnd, float wrapWidth) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, textEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, byte* textEnd, float wrapWidth) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, textEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, string textEnd, float wrapWidth) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, byte* text, string textEnd, float wrapWidth) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, string textEnd, float wrapWidth) + { + 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; + } + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, pStr1, wrapWidth); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, string textEnd, float wrapWidth) + { + 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; + } + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, pStr1, wrapWidth)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = &text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) + { + fixed (byte* ptext = text) + { + 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; + } + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, ref byte textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, ref byte textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* CalcWordWrapPositionA(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string CalcWordWrapPositionAS(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void ClearOutputData() + { + ImGui.ClearOutputDataNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe ImFontGlyph* FindGlyph(ushort c) + { + ImFontGlyph* ret = ImGui.FindGlyphNative(Handle, c); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontGlyph* FindGlyphNoFallback(ushort c) + { + ImFontGlyph* ret = ImGui.FindGlyphNoFallbackNative(Handle, c); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float GetCharAdvance(ushort c) + { + float ret = ImGui.GetCharAdvanceNative(Handle, c); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* GetDebugName() + { + byte* ret = ImGui.GetDebugNameNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetDebugNameS() + { + string ret = Utils.DecodeStringUTF8(ImGui.GetDebugNameNative(Handle)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float GetDistanceAdjustmentForPair(ushort leftC, ushort rightC) + { + float ret = ImGui.GetDistanceAdjustmentForPairNative(Handle, leftC, rightC); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ImFontGlyphHotData* rightCInfo) + { + float ret = ImGui.GetDistanceAdjustmentForPairFromHotDataNative(Handle, leftC, rightCInfo); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = ImGui.GetDistanceAdjustmentForPairFromHotDataNative(Handle, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void GrowIndex(int newSize) + { + ImGui.GrowIndexNative(Handle, newSize); + } + + /// + /// To be documented. + /// + public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast) + { + byte ret = ImGui.IsGlyphRangeUnusedNative(Handle, cBegin, cLast); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsLoaded() + { + byte ret = ImGui.IsLoadedNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + ImGui.RenderCharNative(Handle, drawList, size, pos, col, c); + } + + /// + /// To be documented. + /// + public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderCharNative(Handle, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) + { + 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; + } + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) + { + 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) + { + 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) + { + 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) + { + ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetGlyphVisible(ushort c, bool visible) + { + ImGui.SetGlyphVisibleNative(Handle, c, visible ? (byte)1 : (byte)0); + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontPtrPtr : IEquatable + { + public ImFontPtrPtr(ImFont** handle) { Handle = handle; } + + public ImFont** Handle; + + public bool IsNull => Handle == null; + + public static ImFontPtrPtr Null => new ImFontPtrPtr(null); + + public ImFont* this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontPtrPtr(ImFont** handle) => new ImFontPtrPtr(handle); + + public static implicit operator ImFont**(ImFontPtrPtr handle) => handle.Handle; + + public static bool operator ==(ImFontPtrPtr left, ImFontPtrPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontPtrPtr left, ImFontPtrPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontPtrPtr left, ImFont** right) => left.Handle == right; + + public static bool operator !=(ImFontPtrPtr left, ImFont** right) => left.Handle != right; + + public bool Equals(ImFontPtrPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontPtrPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlas.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlas.cs new file mode 100644 index 000000000..7175c0bb7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlas.cs @@ -0,0 +1,8086 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Load and rasterize multiple TTFOTF fonts into a same texture. The font atlas will build a single texture holding:
+ /// - One or more fonts.
+ /// - Custom graphics data needed to render the shapes needed by Dear ImGui.
+ /// - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas).
+ /// It is the user-code responsibility to setupbuild the atlas, then upload the pixel data into a texture accessible by your graphics api.
+ /// - Optionally, call any of the AddFont*** functions. If you don't call any, the default font embedded in the code will be loaded for you.
+ /// - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data.
+ /// - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples)
+ /// - Call SetTexID(my_tex_id); and pass the pointeridentifier to your texture in a format natural to your graphics API.
+ /// This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details.
+ /// Common pitfalls:
+ /// - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the
+ /// atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data.
+ /// - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction.
+ /// You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed,
+ /// - Even though many functions are suffixed with "TTF", OTF data is supported just as well.
+ /// - This is an old API and it is currently awkward for those and various other reasons! We will address them in the future!
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontAtlas + { + /// + /// To be documented. + /// + public ImFontAtlasFlags Flags; + + /// + /// To be documented. + /// + public ImVector Textures; + + /// + /// To be documented. + /// + public int TexDesiredWidth; + + /// + /// To be documented. + /// + public int TexDesiredHeight; + + /// + /// To be documented. + /// + public int TexGlyphPadding; + + /// + /// To be documented. + /// + public byte Locked; + + /// + /// To be documented. + /// + public byte TexReady; + + /// + /// To be documented. + /// + public byte TexPixelsUseColors; + + /// + /// To be documented. + /// + public int TexWidth; + + /// + /// To be documented. + /// + public int TexHeight; + + /// + /// To be documented. + /// + public Vector2 TexUvScale; + + /// + /// To be documented. + /// + public Vector2 TexUvWhitePixel; + + /// + /// To be documented. + /// + public ImVector Fonts; + + /// + /// To be documented. + /// + public ImVector CustomRects; + + /// + /// To be documented. + /// + public ImVector ConfigData; + + /// + /// To be documented. + /// + public Vector4 TexUvLines_0; + public Vector4 TexUvLines_1; + public Vector4 TexUvLines_2; + public Vector4 TexUvLines_3; + public Vector4 TexUvLines_4; + public Vector4 TexUvLines_5; + public Vector4 TexUvLines_6; + public Vector4 TexUvLines_7; + public Vector4 TexUvLines_8; + public Vector4 TexUvLines_9; + public Vector4 TexUvLines_10; + public Vector4 TexUvLines_11; + public Vector4 TexUvLines_12; + public Vector4 TexUvLines_13; + public Vector4 TexUvLines_14; + public Vector4 TexUvLines_15; + public Vector4 TexUvLines_16; + public Vector4 TexUvLines_17; + public Vector4 TexUvLines_18; + public Vector4 TexUvLines_19; + public Vector4 TexUvLines_20; + public Vector4 TexUvLines_21; + public Vector4 TexUvLines_22; + public Vector4 TexUvLines_23; + public Vector4 TexUvLines_24; + public Vector4 TexUvLines_25; + public Vector4 TexUvLines_26; + public Vector4 TexUvLines_27; + public Vector4 TexUvLines_28; + public Vector4 TexUvLines_29; + public Vector4 TexUvLines_30; + public Vector4 TexUvLines_31; + public Vector4 TexUvLines_32; + public Vector4 TexUvLines_33; + public Vector4 TexUvLines_34; + public Vector4 TexUvLines_35; + public Vector4 TexUvLines_36; + public Vector4 TexUvLines_37; + public Vector4 TexUvLines_38; + public Vector4 TexUvLines_39; + public Vector4 TexUvLines_40; + public Vector4 TexUvLines_41; + public Vector4 TexUvLines_42; + public Vector4 TexUvLines_43; + public Vector4 TexUvLines_44; + public Vector4 TexUvLines_45; + public Vector4 TexUvLines_46; + public Vector4 TexUvLines_47; + public Vector4 TexUvLines_48; + public Vector4 TexUvLines_49; + public Vector4 TexUvLines_50; + public Vector4 TexUvLines_51; + public Vector4 TexUvLines_52; + public Vector4 TexUvLines_53; + public Vector4 TexUvLines_54; + public Vector4 TexUvLines_55; + public Vector4 TexUvLines_56; + public Vector4 TexUvLines_57; + public Vector4 TexUvLines_58; + public Vector4 TexUvLines_59; + public Vector4 TexUvLines_60; + public Vector4 TexUvLines_61; + public Vector4 TexUvLines_62; + public Vector4 TexUvLines_63; + + /// + /// To be documented. + /// + public unsafe ImFontBuilderIO* FontBuilderIO; + + /// + /// To be documented. + /// + public uint FontBuilderFlags; + + /// + /// To be documented. + /// + public int PackIdMouseCursors; + + /// + /// To be documented. + /// + public int PackIdLines; + + + /// + /// To be documented. + /// + public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImVector textures = default, int texDesiredWidth = default, int texDesiredHeight = default, int texGlyphPadding = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector configData = default, Vector4* texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int packIdMouseCursors = default, int packIdLines = default) + { + Flags = flags; + Textures = textures; + TexDesiredWidth = texDesiredWidth; + TexDesiredHeight = texDesiredHeight; + TexGlyphPadding = texGlyphPadding; + Locked = locked ? (byte)1 : (byte)0; + TexReady = texReady ? (byte)1 : (byte)0; + TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; + TexWidth = texWidth; + TexHeight = texHeight; + TexUvScale = texUvScale; + TexUvWhitePixel = texUvWhitePixel; + Fonts = fonts; + CustomRects = customRects; + ConfigData = configData; + if (texUvLines != default(Vector4*)) + { + TexUvLines_0 = texUvLines[0]; + TexUvLines_1 = texUvLines[1]; + TexUvLines_2 = texUvLines[2]; + TexUvLines_3 = texUvLines[3]; + TexUvLines_4 = texUvLines[4]; + TexUvLines_5 = texUvLines[5]; + TexUvLines_6 = texUvLines[6]; + TexUvLines_7 = texUvLines[7]; + TexUvLines_8 = texUvLines[8]; + TexUvLines_9 = texUvLines[9]; + TexUvLines_10 = texUvLines[10]; + TexUvLines_11 = texUvLines[11]; + TexUvLines_12 = texUvLines[12]; + TexUvLines_13 = texUvLines[13]; + TexUvLines_14 = texUvLines[14]; + TexUvLines_15 = texUvLines[15]; + TexUvLines_16 = texUvLines[16]; + TexUvLines_17 = texUvLines[17]; + TexUvLines_18 = texUvLines[18]; + TexUvLines_19 = texUvLines[19]; + TexUvLines_20 = texUvLines[20]; + TexUvLines_21 = texUvLines[21]; + TexUvLines_22 = texUvLines[22]; + TexUvLines_23 = texUvLines[23]; + TexUvLines_24 = texUvLines[24]; + TexUvLines_25 = texUvLines[25]; + TexUvLines_26 = texUvLines[26]; + TexUvLines_27 = texUvLines[27]; + TexUvLines_28 = texUvLines[28]; + TexUvLines_29 = texUvLines[29]; + TexUvLines_30 = texUvLines[30]; + TexUvLines_31 = texUvLines[31]; + TexUvLines_32 = texUvLines[32]; + TexUvLines_33 = texUvLines[33]; + TexUvLines_34 = texUvLines[34]; + TexUvLines_35 = texUvLines[35]; + TexUvLines_36 = texUvLines[36]; + TexUvLines_37 = texUvLines[37]; + TexUvLines_38 = texUvLines[38]; + TexUvLines_39 = texUvLines[39]; + TexUvLines_40 = texUvLines[40]; + TexUvLines_41 = texUvLines[41]; + TexUvLines_42 = texUvLines[42]; + TexUvLines_43 = texUvLines[43]; + TexUvLines_44 = texUvLines[44]; + TexUvLines_45 = texUvLines[45]; + TexUvLines_46 = texUvLines[46]; + TexUvLines_47 = texUvLines[47]; + TexUvLines_48 = texUvLines[48]; + TexUvLines_49 = texUvLines[49]; + TexUvLines_50 = texUvLines[50]; + TexUvLines_51 = texUvLines[51]; + TexUvLines_52 = texUvLines[52]; + TexUvLines_53 = texUvLines[53]; + TexUvLines_54 = texUvLines[54]; + TexUvLines_55 = texUvLines[55]; + TexUvLines_56 = texUvLines[56]; + TexUvLines_57 = texUvLines[57]; + TexUvLines_58 = texUvLines[58]; + TexUvLines_59 = texUvLines[59]; + TexUvLines_60 = texUvLines[60]; + TexUvLines_61 = texUvLines[61]; + TexUvLines_62 = texUvLines[62]; + TexUvLines_63 = texUvLines[63]; + } + FontBuilderIO = fontBuilderIo; + FontBuilderFlags = fontBuilderFlags; + PackIdMouseCursors = packIdMouseCursors; + PackIdLines = packIdLines; + } + + /// + /// To be documented. + /// + public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImVector textures = default, int texDesiredWidth = default, int texDesiredHeight = default, int texGlyphPadding = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector configData = default, Span texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int packIdMouseCursors = default, int packIdLines = default) + { + Flags = flags; + Textures = textures; + TexDesiredWidth = texDesiredWidth; + TexDesiredHeight = texDesiredHeight; + TexGlyphPadding = texGlyphPadding; + Locked = locked ? (byte)1 : (byte)0; + TexReady = texReady ? (byte)1 : (byte)0; + TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; + TexWidth = texWidth; + TexHeight = texHeight; + TexUvScale = texUvScale; + TexUvWhitePixel = texUvWhitePixel; + Fonts = fonts; + CustomRects = customRects; + ConfigData = configData; + if (texUvLines != default(Span)) + { + TexUvLines_0 = texUvLines[0]; + TexUvLines_1 = texUvLines[1]; + TexUvLines_2 = texUvLines[2]; + TexUvLines_3 = texUvLines[3]; + TexUvLines_4 = texUvLines[4]; + TexUvLines_5 = texUvLines[5]; + TexUvLines_6 = texUvLines[6]; + TexUvLines_7 = texUvLines[7]; + TexUvLines_8 = texUvLines[8]; + TexUvLines_9 = texUvLines[9]; + TexUvLines_10 = texUvLines[10]; + TexUvLines_11 = texUvLines[11]; + TexUvLines_12 = texUvLines[12]; + TexUvLines_13 = texUvLines[13]; + TexUvLines_14 = texUvLines[14]; + TexUvLines_15 = texUvLines[15]; + TexUvLines_16 = texUvLines[16]; + TexUvLines_17 = texUvLines[17]; + TexUvLines_18 = texUvLines[18]; + TexUvLines_19 = texUvLines[19]; + TexUvLines_20 = texUvLines[20]; + TexUvLines_21 = texUvLines[21]; + TexUvLines_22 = texUvLines[22]; + TexUvLines_23 = texUvLines[23]; + TexUvLines_24 = texUvLines[24]; + TexUvLines_25 = texUvLines[25]; + TexUvLines_26 = texUvLines[26]; + TexUvLines_27 = texUvLines[27]; + TexUvLines_28 = texUvLines[28]; + TexUvLines_29 = texUvLines[29]; + TexUvLines_30 = texUvLines[30]; + TexUvLines_31 = texUvLines[31]; + TexUvLines_32 = texUvLines[32]; + TexUvLines_33 = texUvLines[33]; + TexUvLines_34 = texUvLines[34]; + TexUvLines_35 = texUvLines[35]; + TexUvLines_36 = texUvLines[36]; + TexUvLines_37 = texUvLines[37]; + TexUvLines_38 = texUvLines[38]; + TexUvLines_39 = texUvLines[39]; + TexUvLines_40 = texUvLines[40]; + TexUvLines_41 = texUvLines[41]; + TexUvLines_42 = texUvLines[42]; + TexUvLines_43 = texUvLines[43]; + TexUvLines_44 = texUvLines[44]; + TexUvLines_45 = texUvLines[45]; + TexUvLines_46 = texUvLines[46]; + TexUvLines_47 = texUvLines[47]; + TexUvLines_48 = texUvLines[48]; + TexUvLines_49 = texUvLines[49]; + TexUvLines_50 = texUvLines[50]; + TexUvLines_51 = texUvLines[51]; + TexUvLines_52 = texUvLines[52]; + TexUvLines_53 = texUvLines[53]; + TexUvLines_54 = texUvLines[54]; + TexUvLines_55 = texUvLines[55]; + TexUvLines_56 = texUvLines[56]; + TexUvLines_57 = texUvLines[57]; + TexUvLines_58 = texUvLines[58]; + TexUvLines_59 = texUvLines[59]; + TexUvLines_60 = texUvLines[60]; + TexUvLines_61 = texUvLines[61]; + TexUvLines_62 = texUvLines[62]; + TexUvLines_63 = texUvLines[63]; + } + FontBuilderIO = fontBuilderIo; + FontBuilderFlags = fontBuilderFlags; + PackIdMouseCursors = packIdMouseCursors; + PackIdLines = packIdLines; + } + + + /// + /// To be documented. + /// + public unsafe Span TexUvLines + + { + get + { + fixed (Vector4* p = &this.TexUvLines_0) + { + return new Span(p, 64); + } + } + } + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* @this = &this) + { + int ret = ImGui.AddCustomRectFontGlyphNative(@this, font, id, width, height, advanceX, offset); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* @this = &this) + { + int ret = ImGui.AddCustomRectFontGlyphNative(@this, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGui.AddCustomRectFontGlyphNative(@this, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGui.AddCustomRectFontGlyphNative(@this, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectRegular(int width, int height) + { + fixed (ImFontAtlas* @this = &this) + { + int ret = ImGui.AddCustomRectRegularNative(@this, width, height); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontNative(@this, fontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontNative(@this, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontDefaultNative(@this, fontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontDefault() + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontDefaultNative(@this, (ImFontConfig*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontDefaultNative(@this, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool Build() + { + fixed (ImFontAtlas* @this = &this) + { + byte ret = ImGui.BuildNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.CalcCustomRectUVNative(@this, rect, outUvMin, outUvMax); + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGui.CalcCustomRectUVNative(@this, rect, (Vector2*)poutUvMin, outUvMax); + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(@this, rect, outUvMin, (Vector2*)poutUvMax); + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(@this, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.ClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ClearFonts() + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.ClearFontsNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ClearInputData() + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.ClearInputDataNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ClearTexData() + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.ClearTexDataNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ClearTexID(ImTextureID nullId) + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.ClearTexIDNative(@this, nullId); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontAtlasCustomRect* ret = ImGui.GetCustomRectByIndexNative(@this, index); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesChineseFull() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesChineseFullNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesChineseSimplifiedCommon() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesChineseSimplifiedCommonNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesCyrillic() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesCyrillicNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesDefault() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesDefaultNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesJapanese() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesJapaneseNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesKorean() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesKoreanNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesThai() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesThaiNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesVietnamese() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGui.GetGlyphRangesVietnameseNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool IsBuilt() + { + fixed (ImFontAtlas* @this = &this) + { + byte ret = ImGui.IsBuiltNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void SetTexID(int textureIndex, ImTextureID id) + { + fixed (ImFontAtlas* @this = &this) + { + ImGui.SetTexIDNative(@this, textureIndex, id); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontAtlasPtr : IEquatable + { + public ImFontAtlasPtr(ImFontAtlas* handle) { Handle = handle; } + + public ImFontAtlas* Handle; + + public bool IsNull => Handle == null; + + public static ImFontAtlasPtr Null => new ImFontAtlasPtr(null); + + public ImFontAtlas this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontAtlasPtr(ImFontAtlas* handle) => new ImFontAtlasPtr(handle); + + public static implicit operator ImFontAtlas*(ImFontAtlasPtr handle) => handle.Handle; + + public static bool operator ==(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle == right; + + public static bool operator !=(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle != right; + + public bool Equals(ImFontAtlasPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontAtlasPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontAtlasPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImFontAtlasFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImVector Textures => ref Unsafe.AsRef>(&Handle->Textures); + /// + /// To be documented. + /// + public ref int TexDesiredWidth => ref Unsafe.AsRef(&Handle->TexDesiredWidth); + /// + /// To be documented. + /// + public ref int TexDesiredHeight => ref Unsafe.AsRef(&Handle->TexDesiredHeight); + /// + /// To be documented. + /// + public ref int TexGlyphPadding => ref Unsafe.AsRef(&Handle->TexGlyphPadding); + /// + /// To be documented. + /// + public ref bool Locked => ref Unsafe.AsRef(&Handle->Locked); + /// + /// To be documented. + /// + public ref bool TexReady => ref Unsafe.AsRef(&Handle->TexReady); + /// + /// To be documented. + /// + public ref bool TexPixelsUseColors => ref Unsafe.AsRef(&Handle->TexPixelsUseColors); + /// + /// To be documented. + /// + public ref int TexWidth => ref Unsafe.AsRef(&Handle->TexWidth); + /// + /// To be documented. + /// + public ref int TexHeight => ref Unsafe.AsRef(&Handle->TexHeight); + /// + /// To be documented. + /// + public ref Vector2 TexUvScale => ref Unsafe.AsRef(&Handle->TexUvScale); + /// + /// To be documented. + /// + public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&Handle->TexUvWhitePixel); + /// + /// To be documented. + /// + public ref ImVector Fonts => ref Unsafe.AsRef>(&Handle->Fonts); + /// + /// To be documented. + /// + public ref ImVector CustomRects => ref Unsafe.AsRef>(&Handle->CustomRects); + /// + /// To be documented. + /// + public ref ImVector ConfigData => ref Unsafe.AsRef>(&Handle->ConfigData); + /// + /// To be documented. + /// + public unsafe Span TexUvLines + + { + get + { + return new Span(&Handle->TexUvLines_0, 64); + } + } + /// + /// To be documented. + /// + public ref ImFontBuilderIOPtr FontBuilderIO => ref Unsafe.AsRef(&Handle->FontBuilderIO); + /// + /// To be documented. + /// + public ref uint FontBuilderFlags => ref Unsafe.AsRef(&Handle->FontBuilderFlags); + /// + /// To be documented. + /// + public ref int PackIdMouseCursors => ref Unsafe.AsRef(&Handle->PackIdMouseCursors); + /// + /// To be documented. + /// + public ref int PackIdLines => ref Unsafe.AsRef(&Handle->PackIdLines); + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + int ret = ImGui.AddCustomRectFontGlyphNative(Handle, font, id, width, height, advanceX, offset); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX) + { + int ret = ImGui.AddCustomRectFontGlyphNative(Handle, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGui.AddCustomRectFontGlyphNative(Handle, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGui.AddCustomRectFontGlyphNative(Handle, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int AddCustomRectRegular(int width, int height) + { + int ret = ImGui.AddCustomRectRegularNative(Handle, width, height); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGui.AddFontNative(Handle, fontCfg); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontNative(Handle, (ImFontConfig*)pfontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, fontCfg); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontDefault() + { + ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, (ImFontConfig*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, (ImFontConfig*)pfontCfg); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pfilename = &filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pfilename = filename) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = &filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pfilename = filename) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (filename != null) + { + pStrSize0 = Utils.GetByteCountUTF8(filename); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (compressedFontDatabase85 != null) + { + pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, fontCfg, glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, fontCfg, (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ushort* glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)(default), glyphRanges); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ushort* glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, fontCfg, (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ushort glyphRanges) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)(default), (ushort*)pglyphRanges); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontSize, float sizePixels, ref ImFontConfig fontCfg, ref ushort glyphRanges) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + fixed (ushort* pglyphRanges = &glyphRanges) + { + ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontSize, sizePixels, (ImFontConfig*)pfontCfg, (ushort*)pglyphRanges); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool Build() + { + byte ret = ImGui.BuildNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) + { + ImGui.CalcCustomRectUVNative(Handle, rect, outUvMin, outUvMax); + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGui.CalcCustomRectUVNative(Handle, rect, (Vector2*)poutUvMin, outUvMax); + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(Handle, rect, outUvMin, (Vector2*)poutUvMax); + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(Handle, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + + /// + /// To be documented. + /// + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + ImGui.ClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ClearFonts() + { + ImGui.ClearFontsNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ClearInputData() + { + ImGui.ClearInputDataNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ClearTexData() + { + ImGui.ClearTexDataNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ClearTexID(ImTextureID nullId) + { + ImGui.ClearTexIDNative(Handle, nullId); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) + { + ImFontAtlasCustomRect* ret = ImGui.GetCustomRectByIndexNative(Handle, index); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesChineseFull() + { + ushort* ret = ImGui.GetGlyphRangesChineseFullNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesChineseSimplifiedCommon() + { + ushort* ret = ImGui.GetGlyphRangesChineseSimplifiedCommonNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesCyrillic() + { + ushort* ret = ImGui.GetGlyphRangesCyrillicNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesDefault() + { + ushort* ret = ImGui.GetGlyphRangesDefaultNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesJapanese() + { + ushort* ret = ImGui.GetGlyphRangesJapaneseNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesKorean() + { + ushort* ret = ImGui.GetGlyphRangesKoreanNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesThai() + { + ushort* ret = ImGui.GetGlyphRangesThaiNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ushort* GetGlyphRangesVietnamese() + { + ushort* ret = ImGui.GetGlyphRangesVietnameseNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGui.GetMouseCursorTexDataNative(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsAlpha8Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGui.GetTexDataAsRGBA32Native(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool IsBuilt() + { + byte ret = ImGui.IsBuiltNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void SetTexID(int textureIndex, ImTextureID id) + { + ImGui.SetTexIDNative(Handle, textureIndex, id); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlasCustomRect.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlasCustomRect.cs new file mode 100644 index 000000000..49cdb220a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlasCustomRect.cs @@ -0,0 +1,219 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// See ImFontAtlas::AddCustomRectXXX functions.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontAtlasCustomRect + { + /// + /// To be documented. + /// + public ushort Width; + + /// + /// To be documented. + /// + public ushort Height; + + /// + /// To be documented. + /// + public ushort X; + + /// + /// To be documented. + /// + public ushort Y; + + /// + /// To be documented. + /// + public uint Reserved; + + /// + /// To be documented. + /// + public uint TextureIndex; + + /// + /// To be documented. + /// + public uint GlyphID; + + /// + /// To be documented. + /// + public float GlyphAdvanceX; + + /// + /// To be documented. + /// + public Vector2 GlyphOffset; + + /// + /// To be documented. + /// + public unsafe ImFont* Font; + + + /// + /// To be documented. + /// + public unsafe ImFontAtlasCustomRect(ushort width = default, ushort height = default, ushort x = default, ushort y = default, uint reserved = default, uint textureIndex = default, uint glyphId = default, float glyphAdvanceX = default, Vector2 glyphOffset = default, ImFontPtr font = default) + { + Width = width; + Height = height; + X = x; + Y = y; + Reserved = reserved; + TextureIndex = textureIndex; + GlyphID = glyphId; + GlyphAdvanceX = glyphAdvanceX; + GlyphOffset = glyphOffset; + Font = font; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImFontAtlasCustomRect* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool IsPacked() + { + fixed (ImFontAtlasCustomRect* @this = &this) + { + byte ret = ImGui.IsPackedNative(@this); + return ret != 0; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontAtlasCustomRectPtr : IEquatable + { + public ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* handle) { Handle = handle; } + + public ImFontAtlasCustomRect* Handle; + + public bool IsNull => Handle == null; + + public static ImFontAtlasCustomRectPtr Null => new ImFontAtlasCustomRectPtr(null); + + public ImFontAtlasCustomRect this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* handle) => new ImFontAtlasCustomRectPtr(handle); + + public static implicit operator ImFontAtlasCustomRect*(ImFontAtlasCustomRectPtr handle) => handle.Handle; + + public static bool operator ==(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRectPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRectPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRect* right) => left.Handle == right; + + public static bool operator !=(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRect* right) => left.Handle != right; + + public bool Equals(ImFontAtlasCustomRectPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontAtlasCustomRectPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontAtlasCustomRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ushort Width => ref Unsafe.AsRef(&Handle->Width); + /// + /// To be documented. + /// + public ref ushort Height => ref Unsafe.AsRef(&Handle->Height); + /// + /// To be documented. + /// + public ref ushort X => ref Unsafe.AsRef(&Handle->X); + /// + /// To be documented. + /// + public ref ushort Y => ref Unsafe.AsRef(&Handle->Y); + /// + /// To be documented. + /// + public ref uint Reserved => ref Unsafe.AsRef(&Handle->Reserved); + /// + /// To be documented. + /// + public ref uint TextureIndex => ref Unsafe.AsRef(&Handle->TextureIndex); + /// + /// To be documented. + /// + public ref uint GlyphID => ref Unsafe.AsRef(&Handle->GlyphID); + /// + /// To be documented. + /// + public ref float GlyphAdvanceX => ref Unsafe.AsRef(&Handle->GlyphAdvanceX); + /// + /// To be documented. + /// + public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&Handle->GlyphOffset); + /// + /// To be documented. + /// + public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool IsPacked() + { + byte ret = ImGui.IsPackedNative(Handle); + return ret != 0; + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlasTexture.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlasTexture.cs new file mode 100644 index 000000000..3111f28b5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontAtlasTexture.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontAtlasTexture + { + /// + /// To be documented. + /// + public ImTextureID TexID; + + /// + /// To be documented. + /// + public unsafe byte* TexPixelsAlpha8; + + /// + /// To be documented. + /// + public unsafe uint* TexPixelsRGBA32; + + + /// + /// To be documented. + /// + public unsafe ImFontAtlasTexture(ImTextureID texId = default, byte* texPixelsAlpha8 = default, uint* texPixelsRgba32 = default) + { + TexID = texId; + TexPixelsAlpha8 = texPixelsAlpha8; + TexPixelsRGBA32 = texPixelsRgba32; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontAtlasTexturePtr : IEquatable + { + public ImFontAtlasTexturePtr(ImFontAtlasTexture* handle) { Handle = handle; } + + public ImFontAtlasTexture* Handle; + + public bool IsNull => Handle == null; + + public static ImFontAtlasTexturePtr Null => new ImFontAtlasTexturePtr(null); + + public ImFontAtlasTexture this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontAtlasTexturePtr(ImFontAtlasTexture* handle) => new ImFontAtlasTexturePtr(handle); + + public static implicit operator ImFontAtlasTexture*(ImFontAtlasTexturePtr handle) => handle.Handle; + + public static bool operator ==(ImFontAtlasTexturePtr left, ImFontAtlasTexturePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontAtlasTexturePtr left, ImFontAtlasTexturePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontAtlasTexturePtr left, ImFontAtlasTexture* right) => left.Handle == right; + + public static bool operator !=(ImFontAtlasTexturePtr left, ImFontAtlasTexture* right) => left.Handle != right; + + public bool Equals(ImFontAtlasTexturePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontAtlasTexturePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontAtlasTexturePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImTextureID TexID => ref Unsafe.AsRef(&Handle->TexID); + /// + /// To be documented. + /// + public byte* TexPixelsAlpha8 { get => Handle->TexPixelsAlpha8; set => Handle->TexPixelsAlpha8 = value; } + /// + /// To be documented. + /// + public uint* TexPixelsRGBA32 { get => Handle->TexPixelsRGBA32; set => Handle->TexPixelsRGBA32 = value; } + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontBuilderIO.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontBuilderIO.cs new file mode 100644 index 000000000..974a91e72 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontBuilderIO.cs @@ -0,0 +1,90 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// This structure is likely to evolve as we add support for incremental atlas updates.
+ /// Conceptually this could be in ImGuiPlatformIO, but we are far from ready to make this public.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontBuilderIO + { + /// + /// To be documented. + /// + public unsafe void* FontBuilderBuild; + + + /// + /// To be documented. + /// + public unsafe ImFontBuilderIO(delegate* fontbuilderBuild = default) + { + FontBuilderBuild = (void*)fontbuilderBuild; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontBuilderIOPtr : IEquatable + { + public ImFontBuilderIOPtr(ImFontBuilderIO* handle) { Handle = handle; } + + public ImFontBuilderIO* Handle; + + public bool IsNull => Handle == null; + + public static ImFontBuilderIOPtr Null => new ImFontBuilderIOPtr(null); + + public ImFontBuilderIO this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontBuilderIOPtr(ImFontBuilderIO* handle) => new ImFontBuilderIOPtr(handle); + + public static implicit operator ImFontBuilderIO*(ImFontBuilderIOPtr handle) => handle.Handle; + + public static bool operator ==(ImFontBuilderIOPtr left, ImFontBuilderIOPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontBuilderIOPtr left, ImFontBuilderIOPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontBuilderIOPtr left, ImFontBuilderIO* right) => left.Handle == right; + + public static bool operator !=(ImFontBuilderIOPtr left, ImFontBuilderIO* right) => left.Handle != right; + + public bool Equals(ImFontBuilderIOPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontBuilderIOPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontBuilderIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public void* FontBuilderBuild { get => Handle->FontBuilderBuild; set => Handle->FontBuilderBuild = value; } + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontConfig.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontConfig.cs new file mode 100644 index 000000000..f4ef00210 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontConfig.cs @@ -0,0 +1,455 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// A font inputsource (we may rename this to ImFontSource in the future)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontConfig + { + /// + /// To be documented. + /// + public unsafe void* FontData; + + /// + /// To be documented. + /// + public int FontDataSize; + + /// + /// To be documented. + /// + public byte FontDataOwnedByAtlas; + + /// + /// To be documented. + /// + public int FontNo; + + /// + /// To be documented. + /// + public float SizePixels; + + /// + /// To be documented. + /// + public int OversampleH; + + /// + /// To be documented. + /// + public int OversampleV; + + /// + /// To be documented. + /// + public byte PixelSnapH; + + /// + /// To be documented. + /// + public Vector2 GlyphExtraSpacing; + + /// + /// To be documented. + /// + public Vector2 GlyphOffset; + + /// + /// To be documented. + /// + public unsafe ushort* GlyphRanges; + + /// + /// To be documented. + /// + public float GlyphMinAdvanceX; + + /// + /// To be documented. + /// + public float GlyphMaxAdvanceX; + + /// + /// To be documented. + /// + public byte MergeMode; + + /// + /// To be documented. + /// + public uint FontBuilderFlags; + + /// + /// To be documented. + /// + public float RasterizerMultiply; + + /// + /// To be documented. + /// + public float RasterizerGamma; + + /// + /// To be documented. + /// + public ushort EllipsisChar; + + /// + /// To be documented. + /// + public byte Name_0; + public byte Name_1; + public byte Name_2; + public byte Name_3; + public byte Name_4; + public byte Name_5; + public byte Name_6; + public byte Name_7; + public byte Name_8; + public byte Name_9; + public byte Name_10; + public byte Name_11; + public byte Name_12; + public byte Name_13; + public byte Name_14; + public byte Name_15; + public byte Name_16; + public byte Name_17; + public byte Name_18; + public byte Name_19; + public byte Name_20; + public byte Name_21; + public byte Name_22; + public byte Name_23; + public byte Name_24; + public byte Name_25; + public byte Name_26; + public byte Name_27; + public byte Name_28; + public byte Name_29; + public byte Name_30; + public byte Name_31; + public byte Name_32; + public byte Name_33; + public byte Name_34; + public byte Name_35; + public byte Name_36; + public byte Name_37; + public byte Name_38; + public byte Name_39; + + /// + /// To be documented. + /// + public unsafe ImFont* DstFont; + + + /// + /// To be documented. + /// + public unsafe ImFontConfig(void* fontData = default, int fontDataSize = default, bool fontDataOwnedByAtlas = default, int fontNo = default, float sizePixels = default, int oversampleH = default, int oversampleV = default, bool pixelSnapH = default, Vector2 glyphExtraSpacing = default, Vector2 glyphOffset = default, ushort* glyphRanges = default, float glyphMinAdvanceX = default, float glyphMaxAdvanceX = default, bool mergeMode = default, uint fontBuilderFlags = default, float rasterizerMultiply = default, float rasterizerGamma = default, ushort ellipsisChar = default, byte* name = default, ImFontPtr dstFont = default) + { + FontData = fontData; + FontDataSize = fontDataSize; + FontDataOwnedByAtlas = fontDataOwnedByAtlas ? (byte)1 : (byte)0; + FontNo = fontNo; + SizePixels = sizePixels; + OversampleH = oversampleH; + OversampleV = oversampleV; + PixelSnapH = pixelSnapH ? (byte)1 : (byte)0; + GlyphExtraSpacing = glyphExtraSpacing; + GlyphOffset = glyphOffset; + GlyphRanges = glyphRanges; + GlyphMinAdvanceX = glyphMinAdvanceX; + GlyphMaxAdvanceX = glyphMaxAdvanceX; + MergeMode = mergeMode ? (byte)1 : (byte)0; + FontBuilderFlags = fontBuilderFlags; + RasterizerMultiply = rasterizerMultiply; + RasterizerGamma = rasterizerGamma; + EllipsisChar = ellipsisChar; + if (name != default(byte*)) + { + Name_0 = name[0]; + Name_1 = name[1]; + Name_2 = name[2]; + Name_3 = name[3]; + Name_4 = name[4]; + Name_5 = name[5]; + Name_6 = name[6]; + Name_7 = name[7]; + Name_8 = name[8]; + Name_9 = name[9]; + Name_10 = name[10]; + Name_11 = name[11]; + Name_12 = name[12]; + Name_13 = name[13]; + Name_14 = name[14]; + Name_15 = name[15]; + Name_16 = name[16]; + Name_17 = name[17]; + Name_18 = name[18]; + Name_19 = name[19]; + Name_20 = name[20]; + Name_21 = name[21]; + Name_22 = name[22]; + Name_23 = name[23]; + Name_24 = name[24]; + Name_25 = name[25]; + Name_26 = name[26]; + Name_27 = name[27]; + Name_28 = name[28]; + Name_29 = name[29]; + Name_30 = name[30]; + Name_31 = name[31]; + Name_32 = name[32]; + Name_33 = name[33]; + Name_34 = name[34]; + Name_35 = name[35]; + Name_36 = name[36]; + Name_37 = name[37]; + Name_38 = name[38]; + Name_39 = name[39]; + } + DstFont = dstFont; + } + + /// + /// To be documented. + /// + public unsafe ImFontConfig(void* fontData = default, int fontDataSize = default, bool fontDataOwnedByAtlas = default, int fontNo = default, float sizePixels = default, int oversampleH = default, int oversampleV = default, bool pixelSnapH = default, Vector2 glyphExtraSpacing = default, Vector2 glyphOffset = default, ushort* glyphRanges = default, float glyphMinAdvanceX = default, float glyphMaxAdvanceX = default, bool mergeMode = default, uint fontBuilderFlags = default, float rasterizerMultiply = default, float rasterizerGamma = default, ushort ellipsisChar = default, Span name = default, ImFontPtr dstFont = default) + { + FontData = fontData; + FontDataSize = fontDataSize; + FontDataOwnedByAtlas = fontDataOwnedByAtlas ? (byte)1 : (byte)0; + FontNo = fontNo; + SizePixels = sizePixels; + OversampleH = oversampleH; + OversampleV = oversampleV; + PixelSnapH = pixelSnapH ? (byte)1 : (byte)0; + GlyphExtraSpacing = glyphExtraSpacing; + GlyphOffset = glyphOffset; + GlyphRanges = glyphRanges; + GlyphMinAdvanceX = glyphMinAdvanceX; + GlyphMaxAdvanceX = glyphMaxAdvanceX; + MergeMode = mergeMode ? (byte)1 : (byte)0; + FontBuilderFlags = fontBuilderFlags; + RasterizerMultiply = rasterizerMultiply; + RasterizerGamma = rasterizerGamma; + EllipsisChar = ellipsisChar; + if (name != default(Span)) + { + Name_0 = name[0]; + Name_1 = name[1]; + Name_2 = name[2]; + Name_3 = name[3]; + Name_4 = name[4]; + Name_5 = name[5]; + Name_6 = name[6]; + Name_7 = name[7]; + Name_8 = name[8]; + Name_9 = name[9]; + Name_10 = name[10]; + Name_11 = name[11]; + Name_12 = name[12]; + Name_13 = name[13]; + Name_14 = name[14]; + Name_15 = name[15]; + Name_16 = name[16]; + Name_17 = name[17]; + Name_18 = name[18]; + Name_19 = name[19]; + Name_20 = name[20]; + Name_21 = name[21]; + Name_22 = name[22]; + Name_23 = name[23]; + Name_24 = name[24]; + Name_25 = name[25]; + Name_26 = name[26]; + Name_27 = name[27]; + Name_28 = name[28]; + Name_29 = name[29]; + Name_30 = name[30]; + Name_31 = name[31]; + Name_32 = name[32]; + Name_33 = name[33]; + Name_34 = name[34]; + Name_35 = name[35]; + Name_36 = name[36]; + Name_37 = name[37]; + Name_38 = name[38]; + Name_39 = name[39]; + } + DstFont = dstFont; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImFontConfig* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontConfigPtr : IEquatable + { + public ImFontConfigPtr(ImFontConfig* handle) { Handle = handle; } + + public ImFontConfig* Handle; + + public bool IsNull => Handle == null; + + public static ImFontConfigPtr Null => new ImFontConfigPtr(null); + + public ImFontConfig this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontConfigPtr(ImFontConfig* handle) => new ImFontConfigPtr(handle); + + public static implicit operator ImFontConfig*(ImFontConfigPtr handle) => handle.Handle; + + public static bool operator ==(ImFontConfigPtr left, ImFontConfigPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontConfigPtr left, ImFontConfigPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontConfigPtr left, ImFontConfig* right) => left.Handle == right; + + public static bool operator !=(ImFontConfigPtr left, ImFontConfig* right) => left.Handle != right; + + public bool Equals(ImFontConfigPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontConfigPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontConfigPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public void* FontData { get => Handle->FontData; set => Handle->FontData = value; } + /// + /// To be documented. + /// + public ref int FontDataSize => ref Unsafe.AsRef(&Handle->FontDataSize); + /// + /// To be documented. + /// + public ref bool FontDataOwnedByAtlas => ref Unsafe.AsRef(&Handle->FontDataOwnedByAtlas); + /// + /// To be documented. + /// + public ref int FontNo => ref Unsafe.AsRef(&Handle->FontNo); + /// + /// To be documented. + /// + public ref float SizePixels => ref Unsafe.AsRef(&Handle->SizePixels); + /// + /// To be documented. + /// + public ref int OversampleH => ref Unsafe.AsRef(&Handle->OversampleH); + /// + /// To be documented. + /// + public ref int OversampleV => ref Unsafe.AsRef(&Handle->OversampleV); + /// + /// To be documented. + /// + public ref bool PixelSnapH => ref Unsafe.AsRef(&Handle->PixelSnapH); + /// + /// To be documented. + /// + public ref Vector2 GlyphExtraSpacing => ref Unsafe.AsRef(&Handle->GlyphExtraSpacing); + /// + /// To be documented. + /// + public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&Handle->GlyphOffset); + /// + /// To be documented. + /// + public ushort* GlyphRanges { get => Handle->GlyphRanges; set => Handle->GlyphRanges = value; } + /// + /// To be documented. + /// + public ref float GlyphMinAdvanceX => ref Unsafe.AsRef(&Handle->GlyphMinAdvanceX); + /// + /// To be documented. + /// + public ref float GlyphMaxAdvanceX => ref Unsafe.AsRef(&Handle->GlyphMaxAdvanceX); + /// + /// To be documented. + /// + public ref bool MergeMode => ref Unsafe.AsRef(&Handle->MergeMode); + /// + /// To be documented. + /// + public ref uint FontBuilderFlags => ref Unsafe.AsRef(&Handle->FontBuilderFlags); + /// + /// To be documented. + /// + public ref float RasterizerMultiply => ref Unsafe.AsRef(&Handle->RasterizerMultiply); + /// + /// To be documented. + /// + public ref float RasterizerGamma => ref Unsafe.AsRef(&Handle->RasterizerGamma); + /// + /// To be documented. + /// + public ref ushort EllipsisChar => ref Unsafe.AsRef(&Handle->EllipsisChar); + /// + /// To be documented. + /// + public unsafe Span Name + + { + get + { + return new Span(&Handle->Name_0, 40); + } + } + /// + /// To be documented. + /// + public ref ImFontPtr DstFont => ref Unsafe.AsRef(&Handle->DstFont); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyph.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyph.cs new file mode 100644 index 000000000..cd2101443 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyph.cs @@ -0,0 +1,210 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Hold rendering data for one glyph.
+ /// (Note: some language parsers may fail to convert the 31+1 bitfield members, in this case maybe drop store a single u32 or we can rework this)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontGlyph + { + /// + /// To be documented. + /// + public uint Colored; + + /// + /// To be documented. + /// + public uint Visible; + + /// + /// To be documented. + /// + public uint TextureIndex; + + /// + /// To be documented. + /// + public uint Codepoint; + + /// + /// To be documented. + /// + public float AdvanceX; + + /// + /// To be documented. + /// + public float X0; + + /// + /// To be documented. + /// + public float Y0; + + /// + /// To be documented. + /// + public float X1; + + /// + /// To be documented. + /// + public float Y1; + + /// + /// To be documented. + /// + public float U0; + + /// + /// To be documented. + /// + public float V0; + + /// + /// To be documented. + /// + public float U1; + + /// + /// To be documented. + /// + public float V1; + + + /// + /// To be documented. + /// + public unsafe ImFontGlyph(uint colored = default, uint visible = default, uint textureIndex = default, uint codepoint = default, float advanceX = default, float x0 = default, float y0 = default, float x1 = default, float y1 = default, float u0 = default, float v0 = default, float u1 = default, float v1 = default) + { + Colored = colored; + Visible = visible; + TextureIndex = textureIndex; + Codepoint = codepoint; + AdvanceX = advanceX; + X0 = x0; + Y0 = y0; + X1 = x1; + Y1 = y1; + U0 = u0; + V0 = v0; + U1 = u1; + V1 = v1; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontGlyphPtr : IEquatable + { + public ImFontGlyphPtr(ImFontGlyph* handle) { Handle = handle; } + + public ImFontGlyph* Handle; + + public bool IsNull => Handle == null; + + public static ImFontGlyphPtr Null => new ImFontGlyphPtr(null); + + public ImFontGlyph this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontGlyphPtr(ImFontGlyph* handle) => new ImFontGlyphPtr(handle); + + public static implicit operator ImFontGlyph*(ImFontGlyphPtr handle) => handle.Handle; + + public static bool operator ==(ImFontGlyphPtr left, ImFontGlyphPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontGlyphPtr left, ImFontGlyphPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontGlyphPtr left, ImFontGlyph* right) => left.Handle == right; + + public static bool operator !=(ImFontGlyphPtr left, ImFontGlyph* right) => left.Handle != right; + + public bool Equals(ImFontGlyphPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontGlyphPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontGlyphPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint Colored => ref Unsafe.AsRef(&Handle->Colored); + /// + /// To be documented. + /// + public ref uint Visible => ref Unsafe.AsRef(&Handle->Visible); + /// + /// To be documented. + /// + public ref uint TextureIndex => ref Unsafe.AsRef(&Handle->TextureIndex); + /// + /// To be documented. + /// + public ref uint Codepoint => ref Unsafe.AsRef(&Handle->Codepoint); + /// + /// To be documented. + /// + public ref float AdvanceX => ref Unsafe.AsRef(&Handle->AdvanceX); + /// + /// To be documented. + /// + public ref float X0 => ref Unsafe.AsRef(&Handle->X0); + /// + /// To be documented. + /// + public ref float Y0 => ref Unsafe.AsRef(&Handle->Y0); + /// + /// To be documented. + /// + public ref float X1 => ref Unsafe.AsRef(&Handle->X1); + /// + /// To be documented. + /// + public ref float Y1 => ref Unsafe.AsRef(&Handle->Y1); + /// + /// To be documented. + /// + public ref float U0 => ref Unsafe.AsRef(&Handle->U0); + /// + /// To be documented. + /// + public ref float V0 => ref Unsafe.AsRef(&Handle->V0); + /// + /// To be documented. + /// + public ref float U1 => ref Unsafe.AsRef(&Handle->U1); + /// + /// To be documented. + /// + public ref float V1 => ref Unsafe.AsRef(&Handle->V1); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyphHotData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyphHotData.cs new file mode 100644 index 000000000..c48c893ad --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyphHotData.cs @@ -0,0 +1,129 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontGlyphHotData + { + /// + /// To be documented. + /// + public float AdvanceX; + + /// + /// To be documented. + /// + public float OccupiedWidth; + + /// + /// To be documented. + /// + public uint KerningPairUseBisect; + + /// + /// To be documented. + /// + public uint KerningPairOffset; + + /// + /// To be documented. + /// + public uint KerningPairCount; + + + /// + /// To be documented. + /// + public unsafe ImFontGlyphHotData(float advanceX = default, float occupiedWidth = default, uint kerningPairUseBisect = default, uint kerningPairOffset = default, uint kerningPairCount = default) + { + AdvanceX = advanceX; + OccupiedWidth = occupiedWidth; + KerningPairUseBisect = kerningPairUseBisect; + KerningPairOffset = kerningPairOffset; + KerningPairCount = kerningPairCount; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontGlyphHotDataPtr : IEquatable + { + public ImFontGlyphHotDataPtr(ImFontGlyphHotData* handle) { Handle = handle; } + + public ImFontGlyphHotData* Handle; + + public bool IsNull => Handle == null; + + public static ImFontGlyphHotDataPtr Null => new ImFontGlyphHotDataPtr(null); + + public ImFontGlyphHotData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontGlyphHotDataPtr(ImFontGlyphHotData* handle) => new ImFontGlyphHotDataPtr(handle); + + public static implicit operator ImFontGlyphHotData*(ImFontGlyphHotDataPtr handle) => handle.Handle; + + public static bool operator ==(ImFontGlyphHotDataPtr left, ImFontGlyphHotDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontGlyphHotDataPtr left, ImFontGlyphHotDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontGlyphHotDataPtr left, ImFontGlyphHotData* right) => left.Handle == right; + + public static bool operator !=(ImFontGlyphHotDataPtr left, ImFontGlyphHotData* right) => left.Handle != right; + + public bool Equals(ImFontGlyphHotDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontGlyphHotDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontGlyphHotDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref float AdvanceX => ref Unsafe.AsRef(&Handle->AdvanceX); + /// + /// To be documented. + /// + public ref float OccupiedWidth => ref Unsafe.AsRef(&Handle->OccupiedWidth); + /// + /// To be documented. + /// + public ref uint KerningPairUseBisect => ref Unsafe.AsRef(&Handle->KerningPairUseBisect); + /// + /// To be documented. + /// + public ref uint KerningPairOffset => ref Unsafe.AsRef(&Handle->KerningPairOffset); + /// + /// To be documented. + /// + public ref uint KerningPairCount => ref Unsafe.AsRef(&Handle->KerningPairCount); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyphRangesBuilder.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyphRangesBuilder.cs new file mode 100644 index 000000000..aec667431 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontGlyphRangesBuilder.cs @@ -0,0 +1,1181 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper to build glyph ranges from textstring data. Feed your application stringscharacters to it then call BuildRanges().
+ /// This is essentially a tightly packed of vector of 64k booleans = 8KB storage.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontGlyphRangesBuilder + { + /// + /// To be documented. + /// + public ImVector UsedChars; + + + /// + /// To be documented. + /// + public unsafe ImFontGlyphRangesBuilder(ImVector usedChars = default) + { + UsedChars = usedChars; + } + + + /// + /// To be documented. + /// + public unsafe void AddChar(ushort c) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.AddCharNative(@this, c); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRanges(ushort* ranges) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.AddRangesNative(@this, ranges); + } + } + + /// + /// To be documented. + /// + public unsafe void AddRanges(ref ushort ranges) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (ushort* pranges = &ranges) + { + ImGui.AddRangesNative(@this, (ushort*)pranges); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.AddTextNative(@this, text, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.AddTextNative(@this, text, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = &text) + { + ImGui.AddTextNative(@this, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = &text) + { + ImGui.AddTextNative(@this, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = text) + { + ImGui.AddTextNative(@this, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = text) + { + ImGui.AddTextNative(@this, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, byte* textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + 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; + } + ImGui.AddTextNative(@this, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + 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; + } + 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; + } + ImGui.AddTextNative(@this, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = &text) + { + 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; + } + ImGui.AddTextNative(@this, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, string textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (byte* ptext = text) + { + 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; + } + ImGui.AddTextNative(@this, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, ref byte textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(@this, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, ReadOnlySpan textEnd) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(@this, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void BuildRanges(ImVector* outRanges) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.BuildRangesNative(@this, outRanges); + } + } + + /// + /// To be documented. + /// + public unsafe void BuildRanges(ref ImVector outRanges) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (ImVector* poutRanges = &outRanges) + { + ImGui.BuildRangesNative(@this, (ImVector*)poutRanges); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.ClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool GetBit(ulong n) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + byte ret = ImGui.GetBitNative(@this, n); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetBit(nuint n) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + byte ret = ImGui.GetBitNative(@this, n); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void SetBit(ulong n) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.SetBitNative(@this, n); + } + } + + /// + /// To be documented. + /// + public unsafe void SetBit(nuint n) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGui.SetBitNative(@this, n); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontGlyphRangesBuilderPtr : IEquatable + { + public ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* handle) { Handle = handle; } + + public ImFontGlyphRangesBuilder* Handle; + + public bool IsNull => Handle == null; + + public static ImFontGlyphRangesBuilderPtr Null => new ImFontGlyphRangesBuilderPtr(null); + + public ImFontGlyphRangesBuilder this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* handle) => new ImFontGlyphRangesBuilderPtr(handle); + + public static implicit operator ImFontGlyphRangesBuilder*(ImFontGlyphRangesBuilderPtr handle) => handle.Handle; + + public static bool operator ==(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilderPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilderPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilder* right) => left.Handle == right; + + public static bool operator !=(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilder* right) => left.Handle != right; + + public bool Equals(ImFontGlyphRangesBuilderPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontGlyphRangesBuilderPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontGlyphRangesBuilderPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector UsedChars => ref Unsafe.AsRef>(&Handle->UsedChars); + /// + /// To be documented. + /// + public unsafe void AddChar(ushort c) + { + ImGui.AddCharNative(Handle, c); + } + + /// + /// To be documented. + /// + public unsafe void AddRanges(ushort* ranges) + { + ImGui.AddRangesNative(Handle, ranges); + } + + /// + /// To be documented. + /// + public unsafe void AddRanges(ref ushort ranges) + { + fixed (ushort* pranges = &ranges) + { + ImGui.AddRangesNative(Handle, (ushort*)pranges); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, byte* textEnd) + { + ImGui.AddTextNative(Handle, text, textEnd); + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text) + { + ImGui.AddTextNative(Handle, text, (byte*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + ImGui.AddTextNative(Handle, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text) + { + fixed (byte* ptext = &text) + { + ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + ImGui.AddTextNative(Handle, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, byte* textEnd) + { + 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; + } + ImGui.AddTextNative(Handle, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(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; + } + ImGui.AddTextNative(Handle, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(byte* text, string textEnd) + { + 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; + } + ImGui.AddTextNative(Handle, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, string textEnd) + { + 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; + } + 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; + } + ImGui.AddTextNative(Handle, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + ImGui.AddTextNative(Handle, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + ImGui.AddTextNative(Handle, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + ImGui.AddTextNative(Handle, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddText(string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + ImGui.AddTextNative(Handle, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void BuildRanges(ImVector* outRanges) + { + ImGui.BuildRangesNative(Handle, outRanges); + } + + /// + /// To be documented. + /// + public unsafe void BuildRanges(ref ImVector outRanges) + { + fixed (ImVector* poutRanges = &outRanges) + { + ImGui.BuildRangesNative(Handle, (ImVector*)poutRanges); + } + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + ImGui.ClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool GetBit(ulong n) + { + byte ret = ImGui.GetBitNative(Handle, n); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool GetBit(nuint n) + { + byte ret = ImGui.GetBitNative(Handle, n); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void SetBit(ulong n) + { + ImGui.SetBitNative(Handle, n); + } + + /// + /// To be documented. + /// + public unsafe void SetBit(nuint n) + { + ImGui.SetBitNative(Handle, n); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImFontKerningPair.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImFontKerningPair.cs new file mode 100644 index 000000000..36e316fe3 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImFontKerningPair.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontKerningPair + { + /// + /// To be documented. + /// + public ushort Left; + + /// + /// To be documented. + /// + public ushort Right; + + /// + /// To be documented. + /// + public float AdvanceXAdjustment; + + + /// + /// To be documented. + /// + public unsafe ImFontKerningPair(ushort left = default, ushort right = default, float advanceXAdjustment = default) + { + Left = left; + Right = right; + AdvanceXAdjustment = advanceXAdjustment; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImFontKerningPairPtr : IEquatable + { + public ImFontKerningPairPtr(ImFontKerningPair* handle) { Handle = handle; } + + public ImFontKerningPair* Handle; + + public bool IsNull => Handle == null; + + public static ImFontKerningPairPtr Null => new ImFontKerningPairPtr(null); + + public ImFontKerningPair this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImFontKerningPairPtr(ImFontKerningPair* handle) => new ImFontKerningPairPtr(handle); + + public static implicit operator ImFontKerningPair*(ImFontKerningPairPtr handle) => handle.Handle; + + public static bool operator ==(ImFontKerningPairPtr left, ImFontKerningPairPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImFontKerningPairPtr left, ImFontKerningPairPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImFontKerningPairPtr left, ImFontKerningPair* right) => left.Handle == right; + + public static bool operator !=(ImFontKerningPairPtr left, ImFontKerningPair* right) => left.Handle != right; + + public bool Equals(ImFontKerningPairPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImFontKerningPairPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImFontKerningPairPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ushort Left => ref Unsafe.AsRef(&Handle->Left); + /// + /// To be documented. + /// + public ref ushort Right => ref Unsafe.AsRef(&Handle->Right); + /// + /// To be documented. + /// + public ref float AdvanceXAdjustment => ref Unsafe.AsRef(&Handle->AdvanceXAdjustment); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiColorMod.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiColorMod.cs new file mode 100644 index 000000000..a59e74760 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiColorMod.cs @@ -0,0 +1,99 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Stacked color modifier, backup of modified data so we can restore it
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiColorMod + { + /// + /// To be documented. + /// + public ImGuiCol Col; + + /// + /// To be documented. + /// + public Vector4 BackupValue; + + + /// + /// To be documented. + /// + public unsafe ImGuiColorMod(ImGuiCol col = default, Vector4 backupValue = default) + { + Col = col; + BackupValue = backupValue; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiColorModPtr : IEquatable + { + public ImGuiColorModPtr(ImGuiColorMod* handle) { Handle = handle; } + + public ImGuiColorMod* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiColorModPtr Null => new ImGuiColorModPtr(null); + + public ImGuiColorMod this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiColorModPtr(ImGuiColorMod* handle) => new ImGuiColorModPtr(handle); + + public static implicit operator ImGuiColorMod*(ImGuiColorModPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiColorModPtr left, ImGuiColorModPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiColorModPtr left, ImGuiColorModPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiColorModPtr left, ImGuiColorMod* right) => left.Handle == right; + + public static bool operator !=(ImGuiColorModPtr left, ImGuiColorMod* right) => left.Handle != right; + + public bool Equals(ImGuiColorModPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiColorModPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiColorModPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiCol Col => ref Unsafe.AsRef(&Handle->Col); + /// + /// To be documented. + /// + public ref Vector4 BackupValue => ref Unsafe.AsRef(&Handle->BackupValue); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiComboPreviewData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiComboPreviewData.cs new file mode 100644 index 000000000..6064e6deb --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiComboPreviewData.cs @@ -0,0 +1,158 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Storage data for BeginComboPreview()EndComboPreview()
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiComboPreviewData + { + /// + /// To be documented. + /// + public ImRect PreviewRect; + + /// + /// To be documented. + /// + public Vector2 BackupCursorPos; + + /// + /// To be documented. + /// + public Vector2 BackupCursorMaxPos; + + /// + /// To be documented. + /// + public Vector2 BackupCursorPosPrevLine; + + /// + /// To be documented. + /// + public float BackupPrevLineTextBaseOffset; + + /// + /// To be documented. + /// + public ImGuiLayoutType BackupLayout; + + + /// + /// To be documented. + /// + public unsafe ImGuiComboPreviewData(ImRect previewRect = default, Vector2 backupCursorPos = default, Vector2 backupCursorMaxPos = default, Vector2 backupCursorPosPrevLine = default, float backupPrevLineTextBaseOffset = default, ImGuiLayoutType backupLayout = default) + { + PreviewRect = previewRect; + BackupCursorPos = backupCursorPos; + BackupCursorMaxPos = backupCursorMaxPos; + BackupCursorPosPrevLine = backupCursorPosPrevLine; + BackupPrevLineTextBaseOffset = backupPrevLineTextBaseOffset; + BackupLayout = backupLayout; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiComboPreviewData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiComboPreviewDataPtr : IEquatable + { + public ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* handle) { Handle = handle; } + + public ImGuiComboPreviewData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiComboPreviewDataPtr Null => new ImGuiComboPreviewDataPtr(null); + + public ImGuiComboPreviewData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* handle) => new ImGuiComboPreviewDataPtr(handle); + + public static implicit operator ImGuiComboPreviewData*(ImGuiComboPreviewDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewData* right) => left.Handle == right; + + public static bool operator !=(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewData* right) => left.Handle != right; + + public bool Equals(ImGuiComboPreviewDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiComboPreviewDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiComboPreviewDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImRect PreviewRect => ref Unsafe.AsRef(&Handle->PreviewRect); + /// + /// To be documented. + /// + public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); + /// + /// To be documented. + /// + public ref Vector2 BackupCursorMaxPos => ref Unsafe.AsRef(&Handle->BackupCursorMaxPos); + /// + /// To be documented. + /// + public ref Vector2 BackupCursorPosPrevLine => ref Unsafe.AsRef(&Handle->BackupCursorPosPrevLine); + /// + /// To be documented. + /// + public ref float BackupPrevLineTextBaseOffset => ref Unsafe.AsRef(&Handle->BackupPrevLineTextBaseOffset); + /// + /// To be documented. + /// + public ref ImGuiLayoutType BackupLayout => ref Unsafe.AsRef(&Handle->BackupLayout); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiContext.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiContext.cs new file mode 100644 index 000000000..918dbd1bd --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiContext.cs @@ -0,0 +1,3085 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiContext + { + /// + /// To be documented. + /// + public byte Initialized; + + /// + /// To be documented. + /// + public byte FontAtlasOwnedByContext; + + /// + /// To be documented. + /// + public ImGuiIO IO; + + /// + /// To be documented. + /// + public ImGuiPlatformIO PlatformIO; + + /// + /// To be documented. + /// + public ImVector InputEventsQueue; + + /// + /// To be documented. + /// + public ImVector InputEventsTrail; + + /// + /// To be documented. + /// + public ImGuiStyle Style; + + /// + /// To be documented. + /// + public ImGuiConfigFlags ConfigFlagsCurrFrame; + + /// + /// To be documented. + /// + public ImGuiConfigFlags ConfigFlagsLastFrame; + + /// + /// To be documented. + /// + public unsafe ImFont* Font; + + /// + /// To be documented. + /// + public float FontSize; + + /// + /// To be documented. + /// + public float FontBaseSize; + + /// + /// To be documented. + /// + public ImDrawListSharedData DrawListSharedData; + + /// + /// To be documented. + /// + public double Time; + + /// + /// To be documented. + /// + public int FrameCount; + + /// + /// To be documented. + /// + public int FrameCountEnded; + + /// + /// To be documented. + /// + public int FrameCountPlatformEnded; + + /// + /// To be documented. + /// + public int FrameCountRendered; + + /// + /// To be documented. + /// + public byte WithinFrameScope; + + /// + /// To be documented. + /// + public byte WithinFrameScopeWithImplicitWindow; + + /// + /// To be documented. + /// + public byte WithinEndChild; + + /// + /// To be documented. + /// + public byte GcCompactAll; + + /// + /// To be documented. + /// + public byte TestEngineHookItems; + + /// + /// To be documented. + /// + public unsafe void* TestEngine; + + /// + /// To be documented. + /// + public ImVector Windows; + + /// + /// To be documented. + /// + public ImVector WindowsFocusOrder; + + /// + /// To be documented. + /// + public ImVector WindowsTempSortBuffer; + + /// + /// To be documented. + /// + public ImVector CurrentWindowStack; + + /// + /// To be documented. + /// + public ImGuiStorage WindowsById; + + /// + /// To be documented. + /// + public int WindowsActiveCount; + + /// + /// To be documented. + /// + public Vector2 WindowsHoverPadding; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* CurrentWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* HoveredWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* HoveredWindowUnderMovingWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode* HoveredDockNode; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* MovingWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* WheelingWindow; + + /// + /// To be documented. + /// + public Vector2 WheelingWindowRefMousePos; + + /// + /// To be documented. + /// + public float WheelingWindowTimer; + + /// + /// To be documented. + /// + public uint DebugHookIdInfo; + + /// + /// To be documented. + /// + public uint HoveredId; + + /// + /// To be documented. + /// + public uint HoveredIdPreviousFrame; + + /// + /// To be documented. + /// + public byte HoveredIdAllowOverlap; + + /// + /// To be documented. + /// + public byte HoveredIdUsingMouseWheel; + + /// + /// To be documented. + /// + public byte HoveredIdPreviousFrameUsingMouseWheel; + + /// + /// To be documented. + /// + public byte HoveredIdDisabled; + + /// + /// To be documented. + /// + public float HoveredIdTimer; + + /// + /// To be documented. + /// + public float HoveredIdNotActiveTimer; + + /// + /// To be documented. + /// + public uint ActiveId; + + /// + /// To be documented. + /// + public uint ActiveIdIsAlive; + + /// + /// To be documented. + /// + public float ActiveIdTimer; + + /// + /// To be documented. + /// + public byte ActiveIdIsJustActivated; + + /// + /// To be documented. + /// + public byte ActiveIdAllowOverlap; + + /// + /// To be documented. + /// + public byte ActiveIdNoClearOnFocusLoss; + + /// + /// To be documented. + /// + public byte ActiveIdHasBeenPressedBefore; + + /// + /// To be documented. + /// + public byte ActiveIdHasBeenEditedBefore; + + /// + /// To be documented. + /// + public byte ActiveIdHasBeenEditedThisFrame; + + /// + /// To be documented. + /// + public Vector2 ActiveIdClickOffset; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* ActiveIdWindow; + + /// + /// To be documented. + /// + public ImGuiInputSource ActiveIdSource; + + /// + /// To be documented. + /// + public int ActiveIdMouseButton; + + /// + /// To be documented. + /// + public uint ActiveIdPreviousFrame; + + /// + /// To be documented. + /// + public byte ActiveIdPreviousFrameIsAlive; + + /// + /// To be documented. + /// + public byte ActiveIdPreviousFrameHasBeenEditedBefore; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* ActiveIdPreviousFrameWindow; + + /// + /// To be documented. + /// + public uint LastActiveId; + + /// + /// To be documented. + /// + public float LastActiveIdTimer; + + /// + /// To be documented. + /// + public byte ActiveIdUsingMouseWheel; + + /// + /// To be documented. + /// + public uint ActiveIdUsingNavDirMask; + + /// + /// To be documented. + /// + public uint ActiveIdUsingNavInputMask; + + /// + /// To be documented. + /// + public nuint ActiveIdUsingKeyInputMask; + + /// + /// To be documented. + /// + public ImGuiItemFlags CurrentItemFlags; + + /// + /// To be documented. + /// + public ImGuiNextItemData NextItemData; + + /// + /// To be documented. + /// + public ImGuiLastItemData LastItemData; + + /// + /// To be documented. + /// + public ImGuiNextWindowData NextWindowData; + + /// + /// To be documented. + /// + public ImVector ColorStack; + + /// + /// To be documented. + /// + public ImVector StyleVarStack; + + /// + /// To be documented. + /// + public ImVector FontStack; + + /// + /// To be documented. + /// + public ImVector FocusScopeStack; + + /// + /// To be documented. + /// + public ImVector ItemFlagsStack; + + /// + /// To be documented. + /// + public ImVector GroupStack; + + /// + /// To be documented. + /// + public ImVector OpenPopupStack; + + /// + /// To be documented. + /// + public ImVector BeginPopupStack; + + /// + /// To be documented. + /// + public int BeginMenuCount; + + /// + /// To be documented. + /// + public ImVector Viewports; + + /// + /// To be documented. + /// + public float CurrentDpiScale; + + /// + /// To be documented. + /// + public unsafe ImGuiViewportP* CurrentViewport; + + /// + /// To be documented. + /// + public unsafe ImGuiViewportP* MouseViewport; + + /// + /// To be documented. + /// + public unsafe ImGuiViewportP* MouseLastHoveredViewport; + + /// + /// To be documented. + /// + public uint PlatformLastFocusedViewportId; + + /// + /// To be documented. + /// + public ImGuiPlatformMonitor FallbackMonitor; + + /// + /// To be documented. + /// + public int ViewportFrontMostStampCount; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* NavWindow; + + /// + /// To be documented. + /// + public uint NavId; + + /// + /// To be documented. + /// + public uint NavFocusScopeId; + + /// + /// To be documented. + /// + public uint NavActivateId; + + /// + /// To be documented. + /// + public uint NavActivateDownId; + + /// + /// To be documented. + /// + public uint NavActivatePressedId; + + /// + /// To be documented. + /// + public uint NavActivateInputId; + + /// + /// To be documented. + /// + public ImGuiActivateFlags NavActivateFlags; + + /// + /// To be documented. + /// + public uint NavJustMovedToId; + + /// + /// To be documented. + /// + public uint NavJustMovedToFocusScopeId; + + /// + /// To be documented. + /// + public ImGuiModFlags NavJustMovedToKeyMods; + + /// + /// To be documented. + /// + public uint NavNextActivateId; + + /// + /// To be documented. + /// + public ImGuiActivateFlags NavNextActivateFlags; + + /// + /// To be documented. + /// + public ImGuiInputSource NavInputSource; + + /// + /// To be documented. + /// + public ImGuiNavLayer NavLayer; + + /// + /// To be documented. + /// + public byte NavIdIsAlive; + + /// + /// To be documented. + /// + public byte NavMousePosDirty; + + /// + /// To be documented. + /// + public byte NavDisableHighlight; + + /// + /// To be documented. + /// + public byte NavDisableMouseHover; + + /// + /// To be documented. + /// + public byte NavAnyRequest; + + /// + /// To be documented. + /// + public byte NavInitRequest; + + /// + /// To be documented. + /// + public byte NavInitRequestFromMove; + + /// + /// To be documented. + /// + public uint NavInitResultId; + + /// + /// To be documented. + /// + public ImRect NavInitResultRectRel; + + /// + /// To be documented. + /// + public byte NavMoveSubmitted; + + /// + /// To be documented. + /// + public byte NavMoveScoringItems; + + /// + /// To be documented. + /// + public byte NavMoveForwardToNextFrame; + + /// + /// To be documented. + /// + public ImGuiNavMoveFlags NavMoveFlags; + + /// + /// To be documented. + /// + public ImGuiScrollFlags NavMoveScrollFlags; + + /// + /// To be documented. + /// + public ImGuiModFlags NavMoveKeyMods; + + /// + /// To be documented. + /// + public ImGuiDir NavMoveDir; + + /// + /// To be documented. + /// + public ImGuiDir NavMoveDirForDebug; + + /// + /// To be documented. + /// + public ImGuiDir NavMoveClipDir; + + /// + /// To be documented. + /// + public ImRect NavScoringRect; + + /// + /// To be documented. + /// + public ImRect NavScoringNoClipRect; + + /// + /// To be documented. + /// + public int NavScoringDebugCount; + + /// + /// To be documented. + /// + public int NavTabbingDir; + + /// + /// To be documented. + /// + public int NavTabbingCounter; + + /// + /// To be documented. + /// + public ImGuiNavItemData NavMoveResultLocal; + + /// + /// To be documented. + /// + public ImGuiNavItemData NavMoveResultLocalVisible; + + /// + /// To be documented. + /// + public ImGuiNavItemData NavMoveResultOther; + + /// + /// To be documented. + /// + public ImGuiNavItemData NavTabbingResultFirst; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* NavWindowingTarget; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* NavWindowingTargetAnim; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* NavWindowingListWindow; + + /// + /// To be documented. + /// + public float NavWindowingTimer; + + /// + /// To be documented. + /// + public float NavWindowingHighlightAlpha; + + /// + /// To be documented. + /// + public byte NavWindowingToggleLayer; + + /// + /// To be documented. + /// + public float DimBgRatio; + + /// + /// To be documented. + /// + public ImGuiMouseCursor MouseCursor; + + /// + /// To be documented. + /// + public byte DragDropActive; + + /// + /// To be documented. + /// + public byte DragDropWithinSource; + + /// + /// To be documented. + /// + public byte DragDropWithinTarget; + + /// + /// To be documented. + /// + public ImGuiDragDropFlags DragDropSourceFlags; + + /// + /// To be documented. + /// + public int DragDropSourceFrameCount; + + /// + /// To be documented. + /// + public int DragDropMouseButton; + + /// + /// To be documented. + /// + public ImGuiPayload DragDropPayload; + + /// + /// To be documented. + /// + public ImRect DragDropTargetRect; + + /// + /// To be documented. + /// + public uint DragDropTargetId; + + /// + /// To be documented. + /// + public ImGuiDragDropFlags DragDropAcceptFlags; + + /// + /// To be documented. + /// + public float DragDropAcceptIdCurrRectSurface; + + /// + /// To be documented. + /// + public uint DragDropAcceptIdCurr; + + /// + /// To be documented. + /// + public uint DragDropAcceptIdPrev; + + /// + /// To be documented. + /// + public int DragDropAcceptFrameCount; + + /// + /// To be documented. + /// + public uint DragDropHoldJustPressedId; + + /// + /// To be documented. + /// + public ImVector DragDropPayloadBufHeap; + + /// + /// To be documented. + /// + public byte DragDropPayloadBufLocal_0; + public byte DragDropPayloadBufLocal_1; + public byte DragDropPayloadBufLocal_2; + public byte DragDropPayloadBufLocal_3; + public byte DragDropPayloadBufLocal_4; + public byte DragDropPayloadBufLocal_5; + public byte DragDropPayloadBufLocal_6; + public byte DragDropPayloadBufLocal_7; + public byte DragDropPayloadBufLocal_8; + public byte DragDropPayloadBufLocal_9; + public byte DragDropPayloadBufLocal_10; + public byte DragDropPayloadBufLocal_11; + public byte DragDropPayloadBufLocal_12; + public byte DragDropPayloadBufLocal_13; + public byte DragDropPayloadBufLocal_14; + public byte DragDropPayloadBufLocal_15; + + /// + /// To be documented. + /// + public int ClipperTempDataStacked; + + /// + /// To be documented. + /// + public ImVector ClipperTempData; + + /// + /// To be documented. + /// + public unsafe ImGuiTable* CurrentTable; + + /// + /// To be documented. + /// + public int TablesTempDataStacked; + + /// + /// To be documented. + /// + public ImVector TablesTempData; + + /// + /// To be documented. + /// + public ImPoolImGuiTable Tables; + + /// + /// To be documented. + /// + public ImVector TablesLastTimeActive; + + /// + /// To be documented. + /// + public ImVector DrawChannelsTempMergeBuffer; + + /// + /// To be documented. + /// + public unsafe ImGuiTabBar* CurrentTabBar; + + /// + /// To be documented. + /// + public ImPoolImGuiTabBar TabBars; + + /// + /// To be documented. + /// + public ImVector CurrentTabBarStack; + + /// + /// To be documented. + /// + public ImVector ShrinkWidthBuffer; + + /// + /// To be documented. + /// + public Vector2 MouseLastValidPos; + + /// + /// To be documented. + /// + public ImGuiInputTextState InputTextState; + + /// + /// To be documented. + /// + public ImFont InputTextPasswordFont; + + /// + /// To be documented. + /// + public uint TempInputId; + + /// + /// To be documented. + /// + public ImGuiColorEditFlags ColorEditOptions; + + /// + /// To be documented. + /// + public float ColorEditLastHue; + + /// + /// To be documented. + /// + public float ColorEditLastSat; + + /// + /// To be documented. + /// + public uint ColorEditLastColor; + + /// + /// To be documented. + /// + public Vector4 ColorPickerRef; + + /// + /// To be documented. + /// + public ImGuiComboPreviewData ComboPreviewData; + + /// + /// To be documented. + /// + public float SliderGrabClickOffset; + + /// + /// To be documented. + /// + public float SliderCurrentAccum; + + /// + /// To be documented. + /// + public byte SliderCurrentAccumDirty; + + /// + /// To be documented. + /// + public byte DragCurrentAccumDirty; + + /// + /// To be documented. + /// + public float DragCurrentAccum; + + /// + /// To be documented. + /// + public float DragSpeedDefaultRatio; + + /// + /// To be documented. + /// + public float ScrollbarClickDeltaToGrabCenter; + + /// + /// To be documented. + /// + public float DisabledAlphaBackup; + + /// + /// To be documented. + /// + public short DisabledStackSize; + + /// + /// To be documented. + /// + public short TooltipOverrideCount; + + /// + /// To be documented. + /// + public float TooltipSlowDelay; + + /// + /// To be documented. + /// + public ImVector ClipboardHandlerData; + + /// + /// To be documented. + /// + public ImVector MenusIdSubmittedThisFrame; + + /// + /// To be documented. + /// + public ImGuiPlatformImeData PlatformImeData; + + /// + /// To be documented. + /// + public ImGuiPlatformImeData PlatformImeDataPrev; + + /// + /// To be documented. + /// + public uint PlatformImeViewport; + + /// + /// To be documented. + /// + public byte PlatformLocaleDecimalPoint; + + /// + /// To be documented. + /// + public ImGuiDockContext DockContext; + + /// + /// To be documented. + /// + public byte SettingsLoaded; + + /// + /// To be documented. + /// + public float SettingsDirtyTimer; + + /// + /// To be documented. + /// + public ImGuiTextBuffer SettingsIniData; + + /// + /// To be documented. + /// + public ImVector SettingsHandlers; + + /// + /// To be documented. + /// + public ImChunkStreamImGuiWindowSettings SettingsWindows; + + /// + /// To be documented. + /// + public ImChunkStreamImGuiTableSettings SettingsTables; + + /// + /// To be documented. + /// + public ImVector Hooks; + + /// + /// To be documented. + /// + public uint HookIdNext; + + /// + /// To be documented. + /// + public byte LogEnabled; + + /// + /// To be documented. + /// + public ImGuiLogType LogType; + + /// + /// To be documented. + /// + public ImFileHandle LogFile; + + /// + /// To be documented. + /// + public ImGuiTextBuffer LogBuffer; + + /// + /// To be documented. + /// + public unsafe byte* LogNextPrefix; + + /// + /// To be documented. + /// + public unsafe byte* LogNextSuffix; + + /// + /// To be documented. + /// + public float LogLinePosY; + + /// + /// To be documented. + /// + public byte LogLineFirstItem; + + /// + /// To be documented. + /// + public int LogDepthRef; + + /// + /// To be documented. + /// + public int LogDepthToExpand; + + /// + /// To be documented. + /// + public int LogDepthToExpandDefault; + + /// + /// To be documented. + /// + public ImGuiDebugLogFlags DebugLogFlags; + + /// + /// To be documented. + /// + public ImGuiTextBuffer DebugLogBuf; + + /// + /// To be documented. + /// + public byte DebugItemPickerActive; + + /// + /// To be documented. + /// + public uint DebugItemPickerBreakId; + + /// + /// To be documented. + /// + public ImGuiMetricsConfig DebugMetricsConfig; + + /// + /// To be documented. + /// + public ImGuiStackTool DebugStackTool; + + /// + /// To be documented. + /// + public float FramerateSecPerFrame_0; + public float FramerateSecPerFrame_1; + public float FramerateSecPerFrame_2; + public float FramerateSecPerFrame_3; + public float FramerateSecPerFrame_4; + public float FramerateSecPerFrame_5; + public float FramerateSecPerFrame_6; + public float FramerateSecPerFrame_7; + public float FramerateSecPerFrame_8; + public float FramerateSecPerFrame_9; + public float FramerateSecPerFrame_10; + public float FramerateSecPerFrame_11; + public float FramerateSecPerFrame_12; + public float FramerateSecPerFrame_13; + public float FramerateSecPerFrame_14; + public float FramerateSecPerFrame_15; + public float FramerateSecPerFrame_16; + public float FramerateSecPerFrame_17; + public float FramerateSecPerFrame_18; + public float FramerateSecPerFrame_19; + public float FramerateSecPerFrame_20; + public float FramerateSecPerFrame_21; + public float FramerateSecPerFrame_22; + public float FramerateSecPerFrame_23; + public float FramerateSecPerFrame_24; + public float FramerateSecPerFrame_25; + public float FramerateSecPerFrame_26; + public float FramerateSecPerFrame_27; + public float FramerateSecPerFrame_28; + public float FramerateSecPerFrame_29; + public float FramerateSecPerFrame_30; + public float FramerateSecPerFrame_31; + public float FramerateSecPerFrame_32; + public float FramerateSecPerFrame_33; + public float FramerateSecPerFrame_34; + public float FramerateSecPerFrame_35; + public float FramerateSecPerFrame_36; + public float FramerateSecPerFrame_37; + public float FramerateSecPerFrame_38; + public float FramerateSecPerFrame_39; + public float FramerateSecPerFrame_40; + public float FramerateSecPerFrame_41; + public float FramerateSecPerFrame_42; + public float FramerateSecPerFrame_43; + public float FramerateSecPerFrame_44; + public float FramerateSecPerFrame_45; + public float FramerateSecPerFrame_46; + public float FramerateSecPerFrame_47; + public float FramerateSecPerFrame_48; + public float FramerateSecPerFrame_49; + public float FramerateSecPerFrame_50; + public float FramerateSecPerFrame_51; + public float FramerateSecPerFrame_52; + public float FramerateSecPerFrame_53; + public float FramerateSecPerFrame_54; + public float FramerateSecPerFrame_55; + public float FramerateSecPerFrame_56; + public float FramerateSecPerFrame_57; + public float FramerateSecPerFrame_58; + public float FramerateSecPerFrame_59; + public float FramerateSecPerFrame_60; + public float FramerateSecPerFrame_61; + public float FramerateSecPerFrame_62; + public float FramerateSecPerFrame_63; + public float FramerateSecPerFrame_64; + public float FramerateSecPerFrame_65; + public float FramerateSecPerFrame_66; + public float FramerateSecPerFrame_67; + public float FramerateSecPerFrame_68; + public float FramerateSecPerFrame_69; + public float FramerateSecPerFrame_70; + public float FramerateSecPerFrame_71; + public float FramerateSecPerFrame_72; + public float FramerateSecPerFrame_73; + public float FramerateSecPerFrame_74; + public float FramerateSecPerFrame_75; + public float FramerateSecPerFrame_76; + public float FramerateSecPerFrame_77; + public float FramerateSecPerFrame_78; + public float FramerateSecPerFrame_79; + public float FramerateSecPerFrame_80; + public float FramerateSecPerFrame_81; + public float FramerateSecPerFrame_82; + public float FramerateSecPerFrame_83; + public float FramerateSecPerFrame_84; + public float FramerateSecPerFrame_85; + public float FramerateSecPerFrame_86; + public float FramerateSecPerFrame_87; + public float FramerateSecPerFrame_88; + public float FramerateSecPerFrame_89; + public float FramerateSecPerFrame_90; + public float FramerateSecPerFrame_91; + public float FramerateSecPerFrame_92; + public float FramerateSecPerFrame_93; + public float FramerateSecPerFrame_94; + public float FramerateSecPerFrame_95; + public float FramerateSecPerFrame_96; + public float FramerateSecPerFrame_97; + public float FramerateSecPerFrame_98; + public float FramerateSecPerFrame_99; + public float FramerateSecPerFrame_100; + public float FramerateSecPerFrame_101; + public float FramerateSecPerFrame_102; + public float FramerateSecPerFrame_103; + public float FramerateSecPerFrame_104; + public float FramerateSecPerFrame_105; + public float FramerateSecPerFrame_106; + public float FramerateSecPerFrame_107; + public float FramerateSecPerFrame_108; + public float FramerateSecPerFrame_109; + public float FramerateSecPerFrame_110; + public float FramerateSecPerFrame_111; + public float FramerateSecPerFrame_112; + public float FramerateSecPerFrame_113; + public float FramerateSecPerFrame_114; + public float FramerateSecPerFrame_115; + public float FramerateSecPerFrame_116; + public float FramerateSecPerFrame_117; + public float FramerateSecPerFrame_118; + public float FramerateSecPerFrame_119; + + /// + /// To be documented. + /// + public int FramerateSecPerFrameIdx; + + /// + /// To be documented. + /// + public int FramerateSecPerFrameCount; + + /// + /// To be documented. + /// + public float FramerateSecPerFrameAccum; + + /// + /// To be documented. + /// + public int WantCaptureMouseNextFrame; + + /// + /// To be documented. + /// + public int WantCaptureKeyboardNextFrame; + + /// + /// To be documented. + /// + public int WantTextInputNextFrame; + + /// + /// To be documented. + /// + public ImVector TempBuffer; + + + /// + /// To be documented. + /// + public unsafe ImGuiContext(bool initialized = default, bool fontAtlasOwnedByContext = default, ImGuiIO io = default, ImGuiPlatformIO platformIo = default, ImVector inputEventsQueue = default, ImVector inputEventsTrail = default, ImGuiStyle style = default, ImGuiConfigFlags configFlagsCurrFrame = default, ImGuiConfigFlags configFlagsLastFrame = default, ImFontPtr font = default, float fontSize = default, float fontBaseSize = default, ImDrawListSharedData drawListSharedData = default, double time = default, int frameCount = default, int frameCountEnded = default, int frameCountPlatformEnded = default, int frameCountRendered = default, bool withinFrameScope = default, bool withinFrameScopeWithImplicitWindow = default, bool withinEndChild = default, bool gcCompactAll = default, bool testEngineHookItems = default, void* testEngine = default, ImVector windows = default, ImVector windowsFocusOrder = default, ImVector windowsTempSortBuffer = default, ImVector currentWindowStack = default, ImGuiStorage windowsById = default, int windowsActiveCount = default, Vector2 windowsHoverPadding = default, ImGuiWindow* currentWindow = default, ImGuiWindow* hoveredWindow = default, ImGuiWindow* hoveredWindowUnderMovingWindow = default, ImGuiDockNode* hoveredDockNode = default, ImGuiWindow* movingWindow = default, ImGuiWindow* wheelingWindow = default, Vector2 wheelingWindowRefMousePos = default, float wheelingWindowTimer = default, uint debugHookIdInfo = default, uint hoveredId = default, uint hoveredIdPreviousFrame = default, bool hoveredIdAllowOverlap = default, bool hoveredIdUsingMouseWheel = default, bool hoveredIdPreviousFrameUsingMouseWheel = default, bool hoveredIdDisabled = default, float hoveredIdTimer = default, float hoveredIdNotActiveTimer = default, uint activeId = default, uint activeIdIsAlive = default, float activeIdTimer = default, bool activeIdIsJustActivated = default, bool activeIdAllowOverlap = default, bool activeIdNoClearOnFocusLoss = default, bool activeIdHasBeenPressedBefore = default, bool activeIdHasBeenEditedBefore = default, bool activeIdHasBeenEditedThisFrame = default, Vector2 activeIdClickOffset = default, ImGuiWindow* activeIdWindow = default, ImGuiInputSource activeIdSource = default, int activeIdMouseButton = default, uint activeIdPreviousFrame = default, bool activeIdPreviousFrameIsAlive = default, bool activeIdPreviousFrameHasBeenEditedBefore = default, ImGuiWindow* activeIdPreviousFrameWindow = default, uint lastActiveId = default, float lastActiveIdTimer = default, bool activeIdUsingMouseWheel = default, uint activeIdUsingNavDirMask = default, uint activeIdUsingNavInputMask = default, nuint activeIdUsingKeyInputMask = default, ImGuiItemFlags currentItemFlags = default, ImGuiNextItemData nextItemData = default, ImGuiLastItemData lastItemData = default, ImGuiNextWindowData nextWindowData = default, ImVector colorStack = default, ImVector styleVarStack = default, ImVector fontStack = default, ImVector focusScopeStack = default, ImVector itemFlagsStack = default, ImVector groupStack = default, ImVector openPopupStack = default, ImVector beginPopupStack = default, int beginMenuCount = default, ImVector viewports = default, float currentDpiScale = default, ImGuiViewportP* currentViewport = default, ImGuiViewportP* mouseViewport = default, ImGuiViewportP* mouseLastHoveredViewport = default, uint platformLastFocusedViewportId = default, ImGuiPlatformMonitor fallbackMonitor = default, int viewportFrontMostStampCount = default, ImGuiWindow* navWindow = default, uint navId = default, uint navFocusScopeId = default, uint navActivateId = default, uint navActivateDownId = default, uint navActivatePressedId = default, uint navActivateInputId = default, ImGuiActivateFlags navActivateFlags = default, uint navJustMovedToId = default, uint navJustMovedToFocusScopeId = default, ImGuiModFlags navJustMovedToKeyMods = default, uint navNextActivateId = default, ImGuiActivateFlags navNextActivateFlags = default, ImGuiInputSource navInputSource = default, ImGuiNavLayer navLayer = default, bool navIdIsAlive = default, bool navMousePosDirty = default, bool navDisableHighlight = default, bool navDisableMouseHover = default, bool navAnyRequest = default, bool navInitRequest = default, bool navInitRequestFromMove = default, uint navInitResultId = default, ImRect navInitResultRectRel = default, bool navMoveSubmitted = default, bool navMoveScoringItems = default, bool navMoveForwardToNextFrame = default, ImGuiNavMoveFlags navMoveFlags = default, ImGuiScrollFlags navMoveScrollFlags = default, ImGuiModFlags navMoveKeyMods = default, ImGuiDir navMoveDir = default, ImGuiDir navMoveDirForDebug = default, ImGuiDir navMoveClipDir = default, ImRect navScoringRect = default, ImRect navScoringNoClipRect = default, int navScoringDebugCount = default, int navTabbingDir = default, int navTabbingCounter = default, ImGuiNavItemData navMoveResultLocal = default, ImGuiNavItemData navMoveResultLocalVisible = default, ImGuiNavItemData navMoveResultOther = default, ImGuiNavItemData navTabbingResultFirst = default, ImGuiWindow* navWindowingTarget = default, ImGuiWindow* navWindowingTargetAnim = default, ImGuiWindow* navWindowingListWindow = default, float navWindowingTimer = default, float navWindowingHighlightAlpha = default, bool navWindowingToggleLayer = default, float dimBgRatio = default, ImGuiMouseCursor mouseCursor = default, bool dragDropActive = default, bool dragDropWithinSource = default, bool dragDropWithinTarget = default, ImGuiDragDropFlags dragDropSourceFlags = default, int dragDropSourceFrameCount = default, int dragDropMouseButton = default, ImGuiPayload dragDropPayload = default, ImRect dragDropTargetRect = default, uint dragDropTargetId = default, ImGuiDragDropFlags dragDropAcceptFlags = default, float dragDropAcceptIdCurrRectSurface = default, uint dragDropAcceptIdCurr = default, uint dragDropAcceptIdPrev = default, int dragDropAcceptFrameCount = default, uint dragDropHoldJustPressedId = default, ImVector dragDropPayloadBufHeap = default, byte* dragDropPayloadBufLocal = default, int clipperTempDataStacked = default, ImVector clipperTempData = default, ImGuiTable* currentTable = default, int tablesTempDataStacked = default, ImVector tablesTempData = default, ImPoolImGuiTable tables = default, ImVector tablesLastTimeActive = default, ImVector drawChannelsTempMergeBuffer = default, ImGuiTabBar* currentTabBar = default, ImPoolImGuiTabBar tabBars = default, ImVector currentTabBarStack = default, ImVector shrinkWidthBuffer = default, Vector2 mouseLastValidPos = default, ImGuiInputTextState inputTextState = default, ImFont inputTextPasswordFont = default, uint tempInputId = default, ImGuiColorEditFlags colorEditOptions = default, float colorEditLastHue = default, float colorEditLastSat = default, uint colorEditLastColor = default, Vector4 colorPickerRef = default, ImGuiComboPreviewData comboPreviewData = default, float sliderGrabClickOffset = default, float sliderCurrentAccum = default, bool sliderCurrentAccumDirty = default, bool dragCurrentAccumDirty = default, float dragCurrentAccum = default, float dragSpeedDefaultRatio = default, float scrollbarClickDeltaToGrabCenter = default, float disabledAlphaBackup = default, short disabledStackSize = default, short tooltipOverrideCount = default, float tooltipSlowDelay = default, ImVector clipboardHandlerData = default, ImVector menusIdSubmittedThisFrame = default, ImGuiPlatformImeData platformImeData = default, ImGuiPlatformImeData platformImeDataPrev = default, uint platformImeViewport = default, byte platformLocaleDecimalPoint = default, ImGuiDockContext dockContext = default, bool settingsLoaded = default, float settingsDirtyTimer = default, ImGuiTextBuffer settingsIniData = default, ImVector settingsHandlers = default, ImChunkStreamImGuiWindowSettings settingsWindows = default, ImChunkStreamImGuiTableSettings settingsTables = default, ImVector hooks = default, uint hookIdNext = default, bool logEnabled = default, ImGuiLogType logType = default, ImFileHandle logFile = default, ImGuiTextBuffer logBuffer = default, byte* logNextPrefix = default, byte* logNextSuffix = default, float logLinePosY = default, bool logLineFirstItem = default, int logDepthRef = default, int logDepthToExpand = default, int logDepthToExpandDefault = default, ImGuiDebugLogFlags debugLogFlags = default, ImGuiTextBuffer debugLogBuf = default, bool debugItemPickerActive = default, uint debugItemPickerBreakId = default, ImGuiMetricsConfig debugMetricsConfig = default, ImGuiStackTool debugStackTool = default, float* framerateSecPerFrame = default, int framerateSecPerFrameIdx = default, int framerateSecPerFrameCount = default, float framerateSecPerFrameAccum = default, int wantCaptureMouseNextFrame = default, int wantCaptureKeyboardNextFrame = default, int wantTextInputNextFrame = default, ImVector tempBuffer = default) + { + Initialized = initialized ? (byte)1 : (byte)0; + FontAtlasOwnedByContext = fontAtlasOwnedByContext ? (byte)1 : (byte)0; + IO = io; + PlatformIO = platformIo; + InputEventsQueue = inputEventsQueue; + InputEventsTrail = inputEventsTrail; + Style = style; + ConfigFlagsCurrFrame = configFlagsCurrFrame; + ConfigFlagsLastFrame = configFlagsLastFrame; + Font = font; + FontSize = fontSize; + FontBaseSize = fontBaseSize; + DrawListSharedData = drawListSharedData; + Time = time; + FrameCount = frameCount; + FrameCountEnded = frameCountEnded; + FrameCountPlatformEnded = frameCountPlatformEnded; + FrameCountRendered = frameCountRendered; + WithinFrameScope = withinFrameScope ? (byte)1 : (byte)0; + WithinFrameScopeWithImplicitWindow = withinFrameScopeWithImplicitWindow ? (byte)1 : (byte)0; + WithinEndChild = withinEndChild ? (byte)1 : (byte)0; + GcCompactAll = gcCompactAll ? (byte)1 : (byte)0; + TestEngineHookItems = testEngineHookItems ? (byte)1 : (byte)0; + TestEngine = testEngine; + Windows = windows; + WindowsFocusOrder = windowsFocusOrder; + WindowsTempSortBuffer = windowsTempSortBuffer; + CurrentWindowStack = currentWindowStack; + WindowsById = windowsById; + WindowsActiveCount = windowsActiveCount; + WindowsHoverPadding = windowsHoverPadding; + CurrentWindow = currentWindow; + HoveredWindow = hoveredWindow; + HoveredWindowUnderMovingWindow = hoveredWindowUnderMovingWindow; + HoveredDockNode = hoveredDockNode; + MovingWindow = movingWindow; + WheelingWindow = wheelingWindow; + WheelingWindowRefMousePos = wheelingWindowRefMousePos; + WheelingWindowTimer = wheelingWindowTimer; + DebugHookIdInfo = debugHookIdInfo; + HoveredId = hoveredId; + HoveredIdPreviousFrame = hoveredIdPreviousFrame; + HoveredIdAllowOverlap = hoveredIdAllowOverlap ? (byte)1 : (byte)0; + HoveredIdUsingMouseWheel = hoveredIdUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdPreviousFrameUsingMouseWheel = hoveredIdPreviousFrameUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdDisabled = hoveredIdDisabled ? (byte)1 : (byte)0; + HoveredIdTimer = hoveredIdTimer; + HoveredIdNotActiveTimer = hoveredIdNotActiveTimer; + ActiveId = activeId; + ActiveIdIsAlive = activeIdIsAlive; + ActiveIdTimer = activeIdTimer; + ActiveIdIsJustActivated = activeIdIsJustActivated ? (byte)1 : (byte)0; + ActiveIdAllowOverlap = activeIdAllowOverlap ? (byte)1 : (byte)0; + ActiveIdNoClearOnFocusLoss = activeIdNoClearOnFocusLoss ? (byte)1 : (byte)0; + ActiveIdHasBeenPressedBefore = activeIdHasBeenPressedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedBefore = activeIdHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedThisFrame = activeIdHasBeenEditedThisFrame ? (byte)1 : (byte)0; + ActiveIdClickOffset = activeIdClickOffset; + ActiveIdWindow = activeIdWindow; + ActiveIdSource = activeIdSource; + ActiveIdMouseButton = activeIdMouseButton; + ActiveIdPreviousFrame = activeIdPreviousFrame; + ActiveIdPreviousFrameIsAlive = activeIdPreviousFrameIsAlive ? (byte)1 : (byte)0; + ActiveIdPreviousFrameHasBeenEditedBefore = activeIdPreviousFrameHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdPreviousFrameWindow = activeIdPreviousFrameWindow; + LastActiveId = lastActiveId; + LastActiveIdTimer = lastActiveIdTimer; + ActiveIdUsingMouseWheel = activeIdUsingMouseWheel ? (byte)1 : (byte)0; + ActiveIdUsingNavDirMask = activeIdUsingNavDirMask; + ActiveIdUsingNavInputMask = activeIdUsingNavInputMask; + ActiveIdUsingKeyInputMask = activeIdUsingKeyInputMask; + CurrentItemFlags = currentItemFlags; + NextItemData = nextItemData; + LastItemData = lastItemData; + NextWindowData = nextWindowData; + ColorStack = colorStack; + StyleVarStack = styleVarStack; + FontStack = fontStack; + FocusScopeStack = focusScopeStack; + ItemFlagsStack = itemFlagsStack; + GroupStack = groupStack; + OpenPopupStack = openPopupStack; + BeginPopupStack = beginPopupStack; + BeginMenuCount = beginMenuCount; + Viewports = viewports; + CurrentDpiScale = currentDpiScale; + CurrentViewport = currentViewport; + MouseViewport = mouseViewport; + MouseLastHoveredViewport = mouseLastHoveredViewport; + PlatformLastFocusedViewportId = platformLastFocusedViewportId; + FallbackMonitor = fallbackMonitor; + ViewportFrontMostStampCount = viewportFrontMostStampCount; + NavWindow = navWindow; + NavId = navId; + NavFocusScopeId = navFocusScopeId; + NavActivateId = navActivateId; + NavActivateDownId = navActivateDownId; + NavActivatePressedId = navActivatePressedId; + NavActivateInputId = navActivateInputId; + NavActivateFlags = navActivateFlags; + NavJustMovedToId = navJustMovedToId; + NavJustMovedToFocusScopeId = navJustMovedToFocusScopeId; + NavJustMovedToKeyMods = navJustMovedToKeyMods; + NavNextActivateId = navNextActivateId; + NavNextActivateFlags = navNextActivateFlags; + NavInputSource = navInputSource; + NavLayer = navLayer; + NavIdIsAlive = navIdIsAlive ? (byte)1 : (byte)0; + NavMousePosDirty = navMousePosDirty ? (byte)1 : (byte)0; + NavDisableHighlight = navDisableHighlight ? (byte)1 : (byte)0; + NavDisableMouseHover = navDisableMouseHover ? (byte)1 : (byte)0; + NavAnyRequest = navAnyRequest ? (byte)1 : (byte)0; + NavInitRequest = navInitRequest ? (byte)1 : (byte)0; + NavInitRequestFromMove = navInitRequestFromMove ? (byte)1 : (byte)0; + NavInitResultId = navInitResultId; + NavInitResultRectRel = navInitResultRectRel; + NavMoveSubmitted = navMoveSubmitted ? (byte)1 : (byte)0; + NavMoveScoringItems = navMoveScoringItems ? (byte)1 : (byte)0; + NavMoveForwardToNextFrame = navMoveForwardToNextFrame ? (byte)1 : (byte)0; + NavMoveFlags = navMoveFlags; + NavMoveScrollFlags = navMoveScrollFlags; + NavMoveKeyMods = navMoveKeyMods; + NavMoveDir = navMoveDir; + NavMoveDirForDebug = navMoveDirForDebug; + NavMoveClipDir = navMoveClipDir; + NavScoringRect = navScoringRect; + NavScoringNoClipRect = navScoringNoClipRect; + NavScoringDebugCount = navScoringDebugCount; + NavTabbingDir = navTabbingDir; + NavTabbingCounter = navTabbingCounter; + NavMoveResultLocal = navMoveResultLocal; + NavMoveResultLocalVisible = navMoveResultLocalVisible; + NavMoveResultOther = navMoveResultOther; + NavTabbingResultFirst = navTabbingResultFirst; + NavWindowingTarget = navWindowingTarget; + NavWindowingTargetAnim = navWindowingTargetAnim; + NavWindowingListWindow = navWindowingListWindow; + NavWindowingTimer = navWindowingTimer; + NavWindowingHighlightAlpha = navWindowingHighlightAlpha; + NavWindowingToggleLayer = navWindowingToggleLayer ? (byte)1 : (byte)0; + DimBgRatio = dimBgRatio; + MouseCursor = mouseCursor; + DragDropActive = dragDropActive ? (byte)1 : (byte)0; + DragDropWithinSource = dragDropWithinSource ? (byte)1 : (byte)0; + DragDropWithinTarget = dragDropWithinTarget ? (byte)1 : (byte)0; + DragDropSourceFlags = dragDropSourceFlags; + DragDropSourceFrameCount = dragDropSourceFrameCount; + DragDropMouseButton = dragDropMouseButton; + DragDropPayload = dragDropPayload; + DragDropTargetRect = dragDropTargetRect; + DragDropTargetId = dragDropTargetId; + DragDropAcceptFlags = dragDropAcceptFlags; + DragDropAcceptIdCurrRectSurface = dragDropAcceptIdCurrRectSurface; + DragDropAcceptIdCurr = dragDropAcceptIdCurr; + DragDropAcceptIdPrev = dragDropAcceptIdPrev; + DragDropAcceptFrameCount = dragDropAcceptFrameCount; + DragDropHoldJustPressedId = dragDropHoldJustPressedId; + DragDropPayloadBufHeap = dragDropPayloadBufHeap; + if (dragDropPayloadBufLocal != default(byte*)) + { + DragDropPayloadBufLocal_0 = dragDropPayloadBufLocal[0]; + DragDropPayloadBufLocal_1 = dragDropPayloadBufLocal[1]; + DragDropPayloadBufLocal_2 = dragDropPayloadBufLocal[2]; + DragDropPayloadBufLocal_3 = dragDropPayloadBufLocal[3]; + DragDropPayloadBufLocal_4 = dragDropPayloadBufLocal[4]; + DragDropPayloadBufLocal_5 = dragDropPayloadBufLocal[5]; + DragDropPayloadBufLocal_6 = dragDropPayloadBufLocal[6]; + DragDropPayloadBufLocal_7 = dragDropPayloadBufLocal[7]; + DragDropPayloadBufLocal_8 = dragDropPayloadBufLocal[8]; + DragDropPayloadBufLocal_9 = dragDropPayloadBufLocal[9]; + DragDropPayloadBufLocal_10 = dragDropPayloadBufLocal[10]; + DragDropPayloadBufLocal_11 = dragDropPayloadBufLocal[11]; + DragDropPayloadBufLocal_12 = dragDropPayloadBufLocal[12]; + DragDropPayloadBufLocal_13 = dragDropPayloadBufLocal[13]; + DragDropPayloadBufLocal_14 = dragDropPayloadBufLocal[14]; + DragDropPayloadBufLocal_15 = dragDropPayloadBufLocal[15]; + } + ClipperTempDataStacked = clipperTempDataStacked; + ClipperTempData = clipperTempData; + CurrentTable = currentTable; + TablesTempDataStacked = tablesTempDataStacked; + TablesTempData = tablesTempData; + Tables = tables; + TablesLastTimeActive = tablesLastTimeActive; + DrawChannelsTempMergeBuffer = drawChannelsTempMergeBuffer; + CurrentTabBar = currentTabBar; + TabBars = tabBars; + CurrentTabBarStack = currentTabBarStack; + ShrinkWidthBuffer = shrinkWidthBuffer; + MouseLastValidPos = mouseLastValidPos; + InputTextState = inputTextState; + InputTextPasswordFont = inputTextPasswordFont; + TempInputId = tempInputId; + ColorEditOptions = colorEditOptions; + ColorEditLastHue = colorEditLastHue; + ColorEditLastSat = colorEditLastSat; + ColorEditLastColor = colorEditLastColor; + ColorPickerRef = colorPickerRef; + ComboPreviewData = comboPreviewData; + SliderGrabClickOffset = sliderGrabClickOffset; + SliderCurrentAccum = sliderCurrentAccum; + SliderCurrentAccumDirty = sliderCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccumDirty = dragCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccum = dragCurrentAccum; + DragSpeedDefaultRatio = dragSpeedDefaultRatio; + ScrollbarClickDeltaToGrabCenter = scrollbarClickDeltaToGrabCenter; + DisabledAlphaBackup = disabledAlphaBackup; + DisabledStackSize = disabledStackSize; + TooltipOverrideCount = tooltipOverrideCount; + TooltipSlowDelay = tooltipSlowDelay; + ClipboardHandlerData = clipboardHandlerData; + MenusIdSubmittedThisFrame = menusIdSubmittedThisFrame; + PlatformImeData = platformImeData; + PlatformImeDataPrev = platformImeDataPrev; + PlatformImeViewport = platformImeViewport; + PlatformLocaleDecimalPoint = platformLocaleDecimalPoint; + DockContext = dockContext; + SettingsLoaded = settingsLoaded ? (byte)1 : (byte)0; + SettingsDirtyTimer = settingsDirtyTimer; + SettingsIniData = settingsIniData; + SettingsHandlers = settingsHandlers; + SettingsWindows = settingsWindows; + SettingsTables = settingsTables; + Hooks = hooks; + HookIdNext = hookIdNext; + LogEnabled = logEnabled ? (byte)1 : (byte)0; + LogType = logType; + LogFile = logFile; + LogBuffer = logBuffer; + LogNextPrefix = logNextPrefix; + LogNextSuffix = logNextSuffix; + LogLinePosY = logLinePosY; + LogLineFirstItem = logLineFirstItem ? (byte)1 : (byte)0; + LogDepthRef = logDepthRef; + LogDepthToExpand = logDepthToExpand; + LogDepthToExpandDefault = logDepthToExpandDefault; + DebugLogFlags = debugLogFlags; + DebugLogBuf = debugLogBuf; + DebugItemPickerActive = debugItemPickerActive ? (byte)1 : (byte)0; + DebugItemPickerBreakId = debugItemPickerBreakId; + DebugMetricsConfig = debugMetricsConfig; + DebugStackTool = debugStackTool; + if (framerateSecPerFrame != default(float*)) + { + FramerateSecPerFrame_0 = framerateSecPerFrame[0]; + FramerateSecPerFrame_1 = framerateSecPerFrame[1]; + FramerateSecPerFrame_2 = framerateSecPerFrame[2]; + FramerateSecPerFrame_3 = framerateSecPerFrame[3]; + FramerateSecPerFrame_4 = framerateSecPerFrame[4]; + FramerateSecPerFrame_5 = framerateSecPerFrame[5]; + FramerateSecPerFrame_6 = framerateSecPerFrame[6]; + FramerateSecPerFrame_7 = framerateSecPerFrame[7]; + FramerateSecPerFrame_8 = framerateSecPerFrame[8]; + FramerateSecPerFrame_9 = framerateSecPerFrame[9]; + FramerateSecPerFrame_10 = framerateSecPerFrame[10]; + FramerateSecPerFrame_11 = framerateSecPerFrame[11]; + FramerateSecPerFrame_12 = framerateSecPerFrame[12]; + FramerateSecPerFrame_13 = framerateSecPerFrame[13]; + FramerateSecPerFrame_14 = framerateSecPerFrame[14]; + FramerateSecPerFrame_15 = framerateSecPerFrame[15]; + FramerateSecPerFrame_16 = framerateSecPerFrame[16]; + FramerateSecPerFrame_17 = framerateSecPerFrame[17]; + FramerateSecPerFrame_18 = framerateSecPerFrame[18]; + FramerateSecPerFrame_19 = framerateSecPerFrame[19]; + FramerateSecPerFrame_20 = framerateSecPerFrame[20]; + FramerateSecPerFrame_21 = framerateSecPerFrame[21]; + FramerateSecPerFrame_22 = framerateSecPerFrame[22]; + FramerateSecPerFrame_23 = framerateSecPerFrame[23]; + FramerateSecPerFrame_24 = framerateSecPerFrame[24]; + FramerateSecPerFrame_25 = framerateSecPerFrame[25]; + FramerateSecPerFrame_26 = framerateSecPerFrame[26]; + FramerateSecPerFrame_27 = framerateSecPerFrame[27]; + FramerateSecPerFrame_28 = framerateSecPerFrame[28]; + FramerateSecPerFrame_29 = framerateSecPerFrame[29]; + FramerateSecPerFrame_30 = framerateSecPerFrame[30]; + FramerateSecPerFrame_31 = framerateSecPerFrame[31]; + FramerateSecPerFrame_32 = framerateSecPerFrame[32]; + FramerateSecPerFrame_33 = framerateSecPerFrame[33]; + FramerateSecPerFrame_34 = framerateSecPerFrame[34]; + FramerateSecPerFrame_35 = framerateSecPerFrame[35]; + FramerateSecPerFrame_36 = framerateSecPerFrame[36]; + FramerateSecPerFrame_37 = framerateSecPerFrame[37]; + FramerateSecPerFrame_38 = framerateSecPerFrame[38]; + FramerateSecPerFrame_39 = framerateSecPerFrame[39]; + FramerateSecPerFrame_40 = framerateSecPerFrame[40]; + FramerateSecPerFrame_41 = framerateSecPerFrame[41]; + FramerateSecPerFrame_42 = framerateSecPerFrame[42]; + FramerateSecPerFrame_43 = framerateSecPerFrame[43]; + FramerateSecPerFrame_44 = framerateSecPerFrame[44]; + FramerateSecPerFrame_45 = framerateSecPerFrame[45]; + FramerateSecPerFrame_46 = framerateSecPerFrame[46]; + FramerateSecPerFrame_47 = framerateSecPerFrame[47]; + FramerateSecPerFrame_48 = framerateSecPerFrame[48]; + FramerateSecPerFrame_49 = framerateSecPerFrame[49]; + FramerateSecPerFrame_50 = framerateSecPerFrame[50]; + FramerateSecPerFrame_51 = framerateSecPerFrame[51]; + FramerateSecPerFrame_52 = framerateSecPerFrame[52]; + FramerateSecPerFrame_53 = framerateSecPerFrame[53]; + FramerateSecPerFrame_54 = framerateSecPerFrame[54]; + FramerateSecPerFrame_55 = framerateSecPerFrame[55]; + FramerateSecPerFrame_56 = framerateSecPerFrame[56]; + FramerateSecPerFrame_57 = framerateSecPerFrame[57]; + FramerateSecPerFrame_58 = framerateSecPerFrame[58]; + FramerateSecPerFrame_59 = framerateSecPerFrame[59]; + FramerateSecPerFrame_60 = framerateSecPerFrame[60]; + FramerateSecPerFrame_61 = framerateSecPerFrame[61]; + FramerateSecPerFrame_62 = framerateSecPerFrame[62]; + FramerateSecPerFrame_63 = framerateSecPerFrame[63]; + FramerateSecPerFrame_64 = framerateSecPerFrame[64]; + FramerateSecPerFrame_65 = framerateSecPerFrame[65]; + FramerateSecPerFrame_66 = framerateSecPerFrame[66]; + FramerateSecPerFrame_67 = framerateSecPerFrame[67]; + FramerateSecPerFrame_68 = framerateSecPerFrame[68]; + FramerateSecPerFrame_69 = framerateSecPerFrame[69]; + FramerateSecPerFrame_70 = framerateSecPerFrame[70]; + FramerateSecPerFrame_71 = framerateSecPerFrame[71]; + FramerateSecPerFrame_72 = framerateSecPerFrame[72]; + FramerateSecPerFrame_73 = framerateSecPerFrame[73]; + FramerateSecPerFrame_74 = framerateSecPerFrame[74]; + FramerateSecPerFrame_75 = framerateSecPerFrame[75]; + FramerateSecPerFrame_76 = framerateSecPerFrame[76]; + FramerateSecPerFrame_77 = framerateSecPerFrame[77]; + FramerateSecPerFrame_78 = framerateSecPerFrame[78]; + FramerateSecPerFrame_79 = framerateSecPerFrame[79]; + FramerateSecPerFrame_80 = framerateSecPerFrame[80]; + FramerateSecPerFrame_81 = framerateSecPerFrame[81]; + FramerateSecPerFrame_82 = framerateSecPerFrame[82]; + FramerateSecPerFrame_83 = framerateSecPerFrame[83]; + FramerateSecPerFrame_84 = framerateSecPerFrame[84]; + FramerateSecPerFrame_85 = framerateSecPerFrame[85]; + FramerateSecPerFrame_86 = framerateSecPerFrame[86]; + FramerateSecPerFrame_87 = framerateSecPerFrame[87]; + FramerateSecPerFrame_88 = framerateSecPerFrame[88]; + FramerateSecPerFrame_89 = framerateSecPerFrame[89]; + FramerateSecPerFrame_90 = framerateSecPerFrame[90]; + FramerateSecPerFrame_91 = framerateSecPerFrame[91]; + FramerateSecPerFrame_92 = framerateSecPerFrame[92]; + FramerateSecPerFrame_93 = framerateSecPerFrame[93]; + FramerateSecPerFrame_94 = framerateSecPerFrame[94]; + FramerateSecPerFrame_95 = framerateSecPerFrame[95]; + FramerateSecPerFrame_96 = framerateSecPerFrame[96]; + FramerateSecPerFrame_97 = framerateSecPerFrame[97]; + FramerateSecPerFrame_98 = framerateSecPerFrame[98]; + FramerateSecPerFrame_99 = framerateSecPerFrame[99]; + FramerateSecPerFrame_100 = framerateSecPerFrame[100]; + FramerateSecPerFrame_101 = framerateSecPerFrame[101]; + FramerateSecPerFrame_102 = framerateSecPerFrame[102]; + FramerateSecPerFrame_103 = framerateSecPerFrame[103]; + FramerateSecPerFrame_104 = framerateSecPerFrame[104]; + FramerateSecPerFrame_105 = framerateSecPerFrame[105]; + FramerateSecPerFrame_106 = framerateSecPerFrame[106]; + FramerateSecPerFrame_107 = framerateSecPerFrame[107]; + FramerateSecPerFrame_108 = framerateSecPerFrame[108]; + FramerateSecPerFrame_109 = framerateSecPerFrame[109]; + FramerateSecPerFrame_110 = framerateSecPerFrame[110]; + FramerateSecPerFrame_111 = framerateSecPerFrame[111]; + FramerateSecPerFrame_112 = framerateSecPerFrame[112]; + FramerateSecPerFrame_113 = framerateSecPerFrame[113]; + FramerateSecPerFrame_114 = framerateSecPerFrame[114]; + FramerateSecPerFrame_115 = framerateSecPerFrame[115]; + FramerateSecPerFrame_116 = framerateSecPerFrame[116]; + FramerateSecPerFrame_117 = framerateSecPerFrame[117]; + FramerateSecPerFrame_118 = framerateSecPerFrame[118]; + FramerateSecPerFrame_119 = framerateSecPerFrame[119]; + } + FramerateSecPerFrameIdx = framerateSecPerFrameIdx; + FramerateSecPerFrameCount = framerateSecPerFrameCount; + FramerateSecPerFrameAccum = framerateSecPerFrameAccum; + WantCaptureMouseNextFrame = wantCaptureMouseNextFrame; + WantCaptureKeyboardNextFrame = wantCaptureKeyboardNextFrame; + WantTextInputNextFrame = wantTextInputNextFrame; + TempBuffer = tempBuffer; + } + + /// + /// To be documented. + /// + public unsafe ImGuiContext(bool initialized = default, bool fontAtlasOwnedByContext = default, ImGuiIO io = default, ImGuiPlatformIO platformIo = default, ImVector inputEventsQueue = default, ImVector inputEventsTrail = default, ImGuiStyle style = default, ImGuiConfigFlags configFlagsCurrFrame = default, ImGuiConfigFlags configFlagsLastFrame = default, ImFontPtr font = default, float fontSize = default, float fontBaseSize = default, ImDrawListSharedData drawListSharedData = default, double time = default, int frameCount = default, int frameCountEnded = default, int frameCountPlatformEnded = default, int frameCountRendered = default, bool withinFrameScope = default, bool withinFrameScopeWithImplicitWindow = default, bool withinEndChild = default, bool gcCompactAll = default, bool testEngineHookItems = default, void* testEngine = default, ImVector windows = default, ImVector windowsFocusOrder = default, ImVector windowsTempSortBuffer = default, ImVector currentWindowStack = default, ImGuiStorage windowsById = default, int windowsActiveCount = default, Vector2 windowsHoverPadding = default, ImGuiWindow* currentWindow = default, ImGuiWindow* hoveredWindow = default, ImGuiWindow* hoveredWindowUnderMovingWindow = default, ImGuiDockNode* hoveredDockNode = default, ImGuiWindow* movingWindow = default, ImGuiWindow* wheelingWindow = default, Vector2 wheelingWindowRefMousePos = default, float wheelingWindowTimer = default, uint debugHookIdInfo = default, uint hoveredId = default, uint hoveredIdPreviousFrame = default, bool hoveredIdAllowOverlap = default, bool hoveredIdUsingMouseWheel = default, bool hoveredIdPreviousFrameUsingMouseWheel = default, bool hoveredIdDisabled = default, float hoveredIdTimer = default, float hoveredIdNotActiveTimer = default, uint activeId = default, uint activeIdIsAlive = default, float activeIdTimer = default, bool activeIdIsJustActivated = default, bool activeIdAllowOverlap = default, bool activeIdNoClearOnFocusLoss = default, bool activeIdHasBeenPressedBefore = default, bool activeIdHasBeenEditedBefore = default, bool activeIdHasBeenEditedThisFrame = default, Vector2 activeIdClickOffset = default, ImGuiWindow* activeIdWindow = default, ImGuiInputSource activeIdSource = default, int activeIdMouseButton = default, uint activeIdPreviousFrame = default, bool activeIdPreviousFrameIsAlive = default, bool activeIdPreviousFrameHasBeenEditedBefore = default, ImGuiWindow* activeIdPreviousFrameWindow = default, uint lastActiveId = default, float lastActiveIdTimer = default, bool activeIdUsingMouseWheel = default, uint activeIdUsingNavDirMask = default, uint activeIdUsingNavInputMask = default, nuint activeIdUsingKeyInputMask = default, ImGuiItemFlags currentItemFlags = default, ImGuiNextItemData nextItemData = default, ImGuiLastItemData lastItemData = default, ImGuiNextWindowData nextWindowData = default, ImVector colorStack = default, ImVector styleVarStack = default, ImVector fontStack = default, ImVector focusScopeStack = default, ImVector itemFlagsStack = default, ImVector groupStack = default, ImVector openPopupStack = default, ImVector beginPopupStack = default, int beginMenuCount = default, ImVector viewports = default, float currentDpiScale = default, ImGuiViewportP* currentViewport = default, ImGuiViewportP* mouseViewport = default, ImGuiViewportP* mouseLastHoveredViewport = default, uint platformLastFocusedViewportId = default, ImGuiPlatformMonitor fallbackMonitor = default, int viewportFrontMostStampCount = default, ImGuiWindow* navWindow = default, uint navId = default, uint navFocusScopeId = default, uint navActivateId = default, uint navActivateDownId = default, uint navActivatePressedId = default, uint navActivateInputId = default, ImGuiActivateFlags navActivateFlags = default, uint navJustMovedToId = default, uint navJustMovedToFocusScopeId = default, ImGuiModFlags navJustMovedToKeyMods = default, uint navNextActivateId = default, ImGuiActivateFlags navNextActivateFlags = default, ImGuiInputSource navInputSource = default, ImGuiNavLayer navLayer = default, bool navIdIsAlive = default, bool navMousePosDirty = default, bool navDisableHighlight = default, bool navDisableMouseHover = default, bool navAnyRequest = default, bool navInitRequest = default, bool navInitRequestFromMove = default, uint navInitResultId = default, ImRect navInitResultRectRel = default, bool navMoveSubmitted = default, bool navMoveScoringItems = default, bool navMoveForwardToNextFrame = default, ImGuiNavMoveFlags navMoveFlags = default, ImGuiScrollFlags navMoveScrollFlags = default, ImGuiModFlags navMoveKeyMods = default, ImGuiDir navMoveDir = default, ImGuiDir navMoveDirForDebug = default, ImGuiDir navMoveClipDir = default, ImRect navScoringRect = default, ImRect navScoringNoClipRect = default, int navScoringDebugCount = default, int navTabbingDir = default, int navTabbingCounter = default, ImGuiNavItemData navMoveResultLocal = default, ImGuiNavItemData navMoveResultLocalVisible = default, ImGuiNavItemData navMoveResultOther = default, ImGuiNavItemData navTabbingResultFirst = default, ImGuiWindow* navWindowingTarget = default, ImGuiWindow* navWindowingTargetAnim = default, ImGuiWindow* navWindowingListWindow = default, float navWindowingTimer = default, float navWindowingHighlightAlpha = default, bool navWindowingToggleLayer = default, float dimBgRatio = default, ImGuiMouseCursor mouseCursor = default, bool dragDropActive = default, bool dragDropWithinSource = default, bool dragDropWithinTarget = default, ImGuiDragDropFlags dragDropSourceFlags = default, int dragDropSourceFrameCount = default, int dragDropMouseButton = default, ImGuiPayload dragDropPayload = default, ImRect dragDropTargetRect = default, uint dragDropTargetId = default, ImGuiDragDropFlags dragDropAcceptFlags = default, float dragDropAcceptIdCurrRectSurface = default, uint dragDropAcceptIdCurr = default, uint dragDropAcceptIdPrev = default, int dragDropAcceptFrameCount = default, uint dragDropHoldJustPressedId = default, ImVector dragDropPayloadBufHeap = default, Span dragDropPayloadBufLocal = default, int clipperTempDataStacked = default, ImVector clipperTempData = default, ImGuiTable* currentTable = default, int tablesTempDataStacked = default, ImVector tablesTempData = default, ImPoolImGuiTable tables = default, ImVector tablesLastTimeActive = default, ImVector drawChannelsTempMergeBuffer = default, ImGuiTabBar* currentTabBar = default, ImPoolImGuiTabBar tabBars = default, ImVector currentTabBarStack = default, ImVector shrinkWidthBuffer = default, Vector2 mouseLastValidPos = default, ImGuiInputTextState inputTextState = default, ImFont inputTextPasswordFont = default, uint tempInputId = default, ImGuiColorEditFlags colorEditOptions = default, float colorEditLastHue = default, float colorEditLastSat = default, uint colorEditLastColor = default, Vector4 colorPickerRef = default, ImGuiComboPreviewData comboPreviewData = default, float sliderGrabClickOffset = default, float sliderCurrentAccum = default, bool sliderCurrentAccumDirty = default, bool dragCurrentAccumDirty = default, float dragCurrentAccum = default, float dragSpeedDefaultRatio = default, float scrollbarClickDeltaToGrabCenter = default, float disabledAlphaBackup = default, short disabledStackSize = default, short tooltipOverrideCount = default, float tooltipSlowDelay = default, ImVector clipboardHandlerData = default, ImVector menusIdSubmittedThisFrame = default, ImGuiPlatformImeData platformImeData = default, ImGuiPlatformImeData platformImeDataPrev = default, uint platformImeViewport = default, byte platformLocaleDecimalPoint = default, ImGuiDockContext dockContext = default, bool settingsLoaded = default, float settingsDirtyTimer = default, ImGuiTextBuffer settingsIniData = default, ImVector settingsHandlers = default, ImChunkStreamImGuiWindowSettings settingsWindows = default, ImChunkStreamImGuiTableSettings settingsTables = default, ImVector hooks = default, uint hookIdNext = default, bool logEnabled = default, ImGuiLogType logType = default, ImFileHandle logFile = default, ImGuiTextBuffer logBuffer = default, byte* logNextPrefix = default, byte* logNextSuffix = default, float logLinePosY = default, bool logLineFirstItem = default, int logDepthRef = default, int logDepthToExpand = default, int logDepthToExpandDefault = default, ImGuiDebugLogFlags debugLogFlags = default, ImGuiTextBuffer debugLogBuf = default, bool debugItemPickerActive = default, uint debugItemPickerBreakId = default, ImGuiMetricsConfig debugMetricsConfig = default, ImGuiStackTool debugStackTool = default, Span framerateSecPerFrame = default, int framerateSecPerFrameIdx = default, int framerateSecPerFrameCount = default, float framerateSecPerFrameAccum = default, int wantCaptureMouseNextFrame = default, int wantCaptureKeyboardNextFrame = default, int wantTextInputNextFrame = default, ImVector tempBuffer = default) + { + Initialized = initialized ? (byte)1 : (byte)0; + FontAtlasOwnedByContext = fontAtlasOwnedByContext ? (byte)1 : (byte)0; + IO = io; + PlatformIO = platformIo; + InputEventsQueue = inputEventsQueue; + InputEventsTrail = inputEventsTrail; + Style = style; + ConfigFlagsCurrFrame = configFlagsCurrFrame; + ConfigFlagsLastFrame = configFlagsLastFrame; + Font = font; + FontSize = fontSize; + FontBaseSize = fontBaseSize; + DrawListSharedData = drawListSharedData; + Time = time; + FrameCount = frameCount; + FrameCountEnded = frameCountEnded; + FrameCountPlatformEnded = frameCountPlatformEnded; + FrameCountRendered = frameCountRendered; + WithinFrameScope = withinFrameScope ? (byte)1 : (byte)0; + WithinFrameScopeWithImplicitWindow = withinFrameScopeWithImplicitWindow ? (byte)1 : (byte)0; + WithinEndChild = withinEndChild ? (byte)1 : (byte)0; + GcCompactAll = gcCompactAll ? (byte)1 : (byte)0; + TestEngineHookItems = testEngineHookItems ? (byte)1 : (byte)0; + TestEngine = testEngine; + Windows = windows; + WindowsFocusOrder = windowsFocusOrder; + WindowsTempSortBuffer = windowsTempSortBuffer; + CurrentWindowStack = currentWindowStack; + WindowsById = windowsById; + WindowsActiveCount = windowsActiveCount; + WindowsHoverPadding = windowsHoverPadding; + CurrentWindow = currentWindow; + HoveredWindow = hoveredWindow; + HoveredWindowUnderMovingWindow = hoveredWindowUnderMovingWindow; + HoveredDockNode = hoveredDockNode; + MovingWindow = movingWindow; + WheelingWindow = wheelingWindow; + WheelingWindowRefMousePos = wheelingWindowRefMousePos; + WheelingWindowTimer = wheelingWindowTimer; + DebugHookIdInfo = debugHookIdInfo; + HoveredId = hoveredId; + HoveredIdPreviousFrame = hoveredIdPreviousFrame; + HoveredIdAllowOverlap = hoveredIdAllowOverlap ? (byte)1 : (byte)0; + HoveredIdUsingMouseWheel = hoveredIdUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdPreviousFrameUsingMouseWheel = hoveredIdPreviousFrameUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdDisabled = hoveredIdDisabled ? (byte)1 : (byte)0; + HoveredIdTimer = hoveredIdTimer; + HoveredIdNotActiveTimer = hoveredIdNotActiveTimer; + ActiveId = activeId; + ActiveIdIsAlive = activeIdIsAlive; + ActiveIdTimer = activeIdTimer; + ActiveIdIsJustActivated = activeIdIsJustActivated ? (byte)1 : (byte)0; + ActiveIdAllowOverlap = activeIdAllowOverlap ? (byte)1 : (byte)0; + ActiveIdNoClearOnFocusLoss = activeIdNoClearOnFocusLoss ? (byte)1 : (byte)0; + ActiveIdHasBeenPressedBefore = activeIdHasBeenPressedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedBefore = activeIdHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedThisFrame = activeIdHasBeenEditedThisFrame ? (byte)1 : (byte)0; + ActiveIdClickOffset = activeIdClickOffset; + ActiveIdWindow = activeIdWindow; + ActiveIdSource = activeIdSource; + ActiveIdMouseButton = activeIdMouseButton; + ActiveIdPreviousFrame = activeIdPreviousFrame; + ActiveIdPreviousFrameIsAlive = activeIdPreviousFrameIsAlive ? (byte)1 : (byte)0; + ActiveIdPreviousFrameHasBeenEditedBefore = activeIdPreviousFrameHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdPreviousFrameWindow = activeIdPreviousFrameWindow; + LastActiveId = lastActiveId; + LastActiveIdTimer = lastActiveIdTimer; + ActiveIdUsingMouseWheel = activeIdUsingMouseWheel ? (byte)1 : (byte)0; + ActiveIdUsingNavDirMask = activeIdUsingNavDirMask; + ActiveIdUsingNavInputMask = activeIdUsingNavInputMask; + ActiveIdUsingKeyInputMask = activeIdUsingKeyInputMask; + CurrentItemFlags = currentItemFlags; + NextItemData = nextItemData; + LastItemData = lastItemData; + NextWindowData = nextWindowData; + ColorStack = colorStack; + StyleVarStack = styleVarStack; + FontStack = fontStack; + FocusScopeStack = focusScopeStack; + ItemFlagsStack = itemFlagsStack; + GroupStack = groupStack; + OpenPopupStack = openPopupStack; + BeginPopupStack = beginPopupStack; + BeginMenuCount = beginMenuCount; + Viewports = viewports; + CurrentDpiScale = currentDpiScale; + CurrentViewport = currentViewport; + MouseViewport = mouseViewport; + MouseLastHoveredViewport = mouseLastHoveredViewport; + PlatformLastFocusedViewportId = platformLastFocusedViewportId; + FallbackMonitor = fallbackMonitor; + ViewportFrontMostStampCount = viewportFrontMostStampCount; + NavWindow = navWindow; + NavId = navId; + NavFocusScopeId = navFocusScopeId; + NavActivateId = navActivateId; + NavActivateDownId = navActivateDownId; + NavActivatePressedId = navActivatePressedId; + NavActivateInputId = navActivateInputId; + NavActivateFlags = navActivateFlags; + NavJustMovedToId = navJustMovedToId; + NavJustMovedToFocusScopeId = navJustMovedToFocusScopeId; + NavJustMovedToKeyMods = navJustMovedToKeyMods; + NavNextActivateId = navNextActivateId; + NavNextActivateFlags = navNextActivateFlags; + NavInputSource = navInputSource; + NavLayer = navLayer; + NavIdIsAlive = navIdIsAlive ? (byte)1 : (byte)0; + NavMousePosDirty = navMousePosDirty ? (byte)1 : (byte)0; + NavDisableHighlight = navDisableHighlight ? (byte)1 : (byte)0; + NavDisableMouseHover = navDisableMouseHover ? (byte)1 : (byte)0; + NavAnyRequest = navAnyRequest ? (byte)1 : (byte)0; + NavInitRequest = navInitRequest ? (byte)1 : (byte)0; + NavInitRequestFromMove = navInitRequestFromMove ? (byte)1 : (byte)0; + NavInitResultId = navInitResultId; + NavInitResultRectRel = navInitResultRectRel; + NavMoveSubmitted = navMoveSubmitted ? (byte)1 : (byte)0; + NavMoveScoringItems = navMoveScoringItems ? (byte)1 : (byte)0; + NavMoveForwardToNextFrame = navMoveForwardToNextFrame ? (byte)1 : (byte)0; + NavMoveFlags = navMoveFlags; + NavMoveScrollFlags = navMoveScrollFlags; + NavMoveKeyMods = navMoveKeyMods; + NavMoveDir = navMoveDir; + NavMoveDirForDebug = navMoveDirForDebug; + NavMoveClipDir = navMoveClipDir; + NavScoringRect = navScoringRect; + NavScoringNoClipRect = navScoringNoClipRect; + NavScoringDebugCount = navScoringDebugCount; + NavTabbingDir = navTabbingDir; + NavTabbingCounter = navTabbingCounter; + NavMoveResultLocal = navMoveResultLocal; + NavMoveResultLocalVisible = navMoveResultLocalVisible; + NavMoveResultOther = navMoveResultOther; + NavTabbingResultFirst = navTabbingResultFirst; + NavWindowingTarget = navWindowingTarget; + NavWindowingTargetAnim = navWindowingTargetAnim; + NavWindowingListWindow = navWindowingListWindow; + NavWindowingTimer = navWindowingTimer; + NavWindowingHighlightAlpha = navWindowingHighlightAlpha; + NavWindowingToggleLayer = navWindowingToggleLayer ? (byte)1 : (byte)0; + DimBgRatio = dimBgRatio; + MouseCursor = mouseCursor; + DragDropActive = dragDropActive ? (byte)1 : (byte)0; + DragDropWithinSource = dragDropWithinSource ? (byte)1 : (byte)0; + DragDropWithinTarget = dragDropWithinTarget ? (byte)1 : (byte)0; + DragDropSourceFlags = dragDropSourceFlags; + DragDropSourceFrameCount = dragDropSourceFrameCount; + DragDropMouseButton = dragDropMouseButton; + DragDropPayload = dragDropPayload; + DragDropTargetRect = dragDropTargetRect; + DragDropTargetId = dragDropTargetId; + DragDropAcceptFlags = dragDropAcceptFlags; + DragDropAcceptIdCurrRectSurface = dragDropAcceptIdCurrRectSurface; + DragDropAcceptIdCurr = dragDropAcceptIdCurr; + DragDropAcceptIdPrev = dragDropAcceptIdPrev; + DragDropAcceptFrameCount = dragDropAcceptFrameCount; + DragDropHoldJustPressedId = dragDropHoldJustPressedId; + DragDropPayloadBufHeap = dragDropPayloadBufHeap; + if (dragDropPayloadBufLocal != default(Span)) + { + DragDropPayloadBufLocal_0 = dragDropPayloadBufLocal[0]; + DragDropPayloadBufLocal_1 = dragDropPayloadBufLocal[1]; + DragDropPayloadBufLocal_2 = dragDropPayloadBufLocal[2]; + DragDropPayloadBufLocal_3 = dragDropPayloadBufLocal[3]; + DragDropPayloadBufLocal_4 = dragDropPayloadBufLocal[4]; + DragDropPayloadBufLocal_5 = dragDropPayloadBufLocal[5]; + DragDropPayloadBufLocal_6 = dragDropPayloadBufLocal[6]; + DragDropPayloadBufLocal_7 = dragDropPayloadBufLocal[7]; + DragDropPayloadBufLocal_8 = dragDropPayloadBufLocal[8]; + DragDropPayloadBufLocal_9 = dragDropPayloadBufLocal[9]; + DragDropPayloadBufLocal_10 = dragDropPayloadBufLocal[10]; + DragDropPayloadBufLocal_11 = dragDropPayloadBufLocal[11]; + DragDropPayloadBufLocal_12 = dragDropPayloadBufLocal[12]; + DragDropPayloadBufLocal_13 = dragDropPayloadBufLocal[13]; + DragDropPayloadBufLocal_14 = dragDropPayloadBufLocal[14]; + DragDropPayloadBufLocal_15 = dragDropPayloadBufLocal[15]; + } + ClipperTempDataStacked = clipperTempDataStacked; + ClipperTempData = clipperTempData; + CurrentTable = currentTable; + TablesTempDataStacked = tablesTempDataStacked; + TablesTempData = tablesTempData; + Tables = tables; + TablesLastTimeActive = tablesLastTimeActive; + DrawChannelsTempMergeBuffer = drawChannelsTempMergeBuffer; + CurrentTabBar = currentTabBar; + TabBars = tabBars; + CurrentTabBarStack = currentTabBarStack; + ShrinkWidthBuffer = shrinkWidthBuffer; + MouseLastValidPos = mouseLastValidPos; + InputTextState = inputTextState; + InputTextPasswordFont = inputTextPasswordFont; + TempInputId = tempInputId; + ColorEditOptions = colorEditOptions; + ColorEditLastHue = colorEditLastHue; + ColorEditLastSat = colorEditLastSat; + ColorEditLastColor = colorEditLastColor; + ColorPickerRef = colorPickerRef; + ComboPreviewData = comboPreviewData; + SliderGrabClickOffset = sliderGrabClickOffset; + SliderCurrentAccum = sliderCurrentAccum; + SliderCurrentAccumDirty = sliderCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccumDirty = dragCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccum = dragCurrentAccum; + DragSpeedDefaultRatio = dragSpeedDefaultRatio; + ScrollbarClickDeltaToGrabCenter = scrollbarClickDeltaToGrabCenter; + DisabledAlphaBackup = disabledAlphaBackup; + DisabledStackSize = disabledStackSize; + TooltipOverrideCount = tooltipOverrideCount; + TooltipSlowDelay = tooltipSlowDelay; + ClipboardHandlerData = clipboardHandlerData; + MenusIdSubmittedThisFrame = menusIdSubmittedThisFrame; + PlatformImeData = platformImeData; + PlatformImeDataPrev = platformImeDataPrev; + PlatformImeViewport = platformImeViewport; + PlatformLocaleDecimalPoint = platformLocaleDecimalPoint; + DockContext = dockContext; + SettingsLoaded = settingsLoaded ? (byte)1 : (byte)0; + SettingsDirtyTimer = settingsDirtyTimer; + SettingsIniData = settingsIniData; + SettingsHandlers = settingsHandlers; + SettingsWindows = settingsWindows; + SettingsTables = settingsTables; + Hooks = hooks; + HookIdNext = hookIdNext; + LogEnabled = logEnabled ? (byte)1 : (byte)0; + LogType = logType; + LogFile = logFile; + LogBuffer = logBuffer; + LogNextPrefix = logNextPrefix; + LogNextSuffix = logNextSuffix; + LogLinePosY = logLinePosY; + LogLineFirstItem = logLineFirstItem ? (byte)1 : (byte)0; + LogDepthRef = logDepthRef; + LogDepthToExpand = logDepthToExpand; + LogDepthToExpandDefault = logDepthToExpandDefault; + DebugLogFlags = debugLogFlags; + DebugLogBuf = debugLogBuf; + DebugItemPickerActive = debugItemPickerActive ? (byte)1 : (byte)0; + DebugItemPickerBreakId = debugItemPickerBreakId; + DebugMetricsConfig = debugMetricsConfig; + DebugStackTool = debugStackTool; + if (framerateSecPerFrame != default(Span)) + { + FramerateSecPerFrame_0 = framerateSecPerFrame[0]; + FramerateSecPerFrame_1 = framerateSecPerFrame[1]; + FramerateSecPerFrame_2 = framerateSecPerFrame[2]; + FramerateSecPerFrame_3 = framerateSecPerFrame[3]; + FramerateSecPerFrame_4 = framerateSecPerFrame[4]; + FramerateSecPerFrame_5 = framerateSecPerFrame[5]; + FramerateSecPerFrame_6 = framerateSecPerFrame[6]; + FramerateSecPerFrame_7 = framerateSecPerFrame[7]; + FramerateSecPerFrame_8 = framerateSecPerFrame[8]; + FramerateSecPerFrame_9 = framerateSecPerFrame[9]; + FramerateSecPerFrame_10 = framerateSecPerFrame[10]; + FramerateSecPerFrame_11 = framerateSecPerFrame[11]; + FramerateSecPerFrame_12 = framerateSecPerFrame[12]; + FramerateSecPerFrame_13 = framerateSecPerFrame[13]; + FramerateSecPerFrame_14 = framerateSecPerFrame[14]; + FramerateSecPerFrame_15 = framerateSecPerFrame[15]; + FramerateSecPerFrame_16 = framerateSecPerFrame[16]; + FramerateSecPerFrame_17 = framerateSecPerFrame[17]; + FramerateSecPerFrame_18 = framerateSecPerFrame[18]; + FramerateSecPerFrame_19 = framerateSecPerFrame[19]; + FramerateSecPerFrame_20 = framerateSecPerFrame[20]; + FramerateSecPerFrame_21 = framerateSecPerFrame[21]; + FramerateSecPerFrame_22 = framerateSecPerFrame[22]; + FramerateSecPerFrame_23 = framerateSecPerFrame[23]; + FramerateSecPerFrame_24 = framerateSecPerFrame[24]; + FramerateSecPerFrame_25 = framerateSecPerFrame[25]; + FramerateSecPerFrame_26 = framerateSecPerFrame[26]; + FramerateSecPerFrame_27 = framerateSecPerFrame[27]; + FramerateSecPerFrame_28 = framerateSecPerFrame[28]; + FramerateSecPerFrame_29 = framerateSecPerFrame[29]; + FramerateSecPerFrame_30 = framerateSecPerFrame[30]; + FramerateSecPerFrame_31 = framerateSecPerFrame[31]; + FramerateSecPerFrame_32 = framerateSecPerFrame[32]; + FramerateSecPerFrame_33 = framerateSecPerFrame[33]; + FramerateSecPerFrame_34 = framerateSecPerFrame[34]; + FramerateSecPerFrame_35 = framerateSecPerFrame[35]; + FramerateSecPerFrame_36 = framerateSecPerFrame[36]; + FramerateSecPerFrame_37 = framerateSecPerFrame[37]; + FramerateSecPerFrame_38 = framerateSecPerFrame[38]; + FramerateSecPerFrame_39 = framerateSecPerFrame[39]; + FramerateSecPerFrame_40 = framerateSecPerFrame[40]; + FramerateSecPerFrame_41 = framerateSecPerFrame[41]; + FramerateSecPerFrame_42 = framerateSecPerFrame[42]; + FramerateSecPerFrame_43 = framerateSecPerFrame[43]; + FramerateSecPerFrame_44 = framerateSecPerFrame[44]; + FramerateSecPerFrame_45 = framerateSecPerFrame[45]; + FramerateSecPerFrame_46 = framerateSecPerFrame[46]; + FramerateSecPerFrame_47 = framerateSecPerFrame[47]; + FramerateSecPerFrame_48 = framerateSecPerFrame[48]; + FramerateSecPerFrame_49 = framerateSecPerFrame[49]; + FramerateSecPerFrame_50 = framerateSecPerFrame[50]; + FramerateSecPerFrame_51 = framerateSecPerFrame[51]; + FramerateSecPerFrame_52 = framerateSecPerFrame[52]; + FramerateSecPerFrame_53 = framerateSecPerFrame[53]; + FramerateSecPerFrame_54 = framerateSecPerFrame[54]; + FramerateSecPerFrame_55 = framerateSecPerFrame[55]; + FramerateSecPerFrame_56 = framerateSecPerFrame[56]; + FramerateSecPerFrame_57 = framerateSecPerFrame[57]; + FramerateSecPerFrame_58 = framerateSecPerFrame[58]; + FramerateSecPerFrame_59 = framerateSecPerFrame[59]; + FramerateSecPerFrame_60 = framerateSecPerFrame[60]; + FramerateSecPerFrame_61 = framerateSecPerFrame[61]; + FramerateSecPerFrame_62 = framerateSecPerFrame[62]; + FramerateSecPerFrame_63 = framerateSecPerFrame[63]; + FramerateSecPerFrame_64 = framerateSecPerFrame[64]; + FramerateSecPerFrame_65 = framerateSecPerFrame[65]; + FramerateSecPerFrame_66 = framerateSecPerFrame[66]; + FramerateSecPerFrame_67 = framerateSecPerFrame[67]; + FramerateSecPerFrame_68 = framerateSecPerFrame[68]; + FramerateSecPerFrame_69 = framerateSecPerFrame[69]; + FramerateSecPerFrame_70 = framerateSecPerFrame[70]; + FramerateSecPerFrame_71 = framerateSecPerFrame[71]; + FramerateSecPerFrame_72 = framerateSecPerFrame[72]; + FramerateSecPerFrame_73 = framerateSecPerFrame[73]; + FramerateSecPerFrame_74 = framerateSecPerFrame[74]; + FramerateSecPerFrame_75 = framerateSecPerFrame[75]; + FramerateSecPerFrame_76 = framerateSecPerFrame[76]; + FramerateSecPerFrame_77 = framerateSecPerFrame[77]; + FramerateSecPerFrame_78 = framerateSecPerFrame[78]; + FramerateSecPerFrame_79 = framerateSecPerFrame[79]; + FramerateSecPerFrame_80 = framerateSecPerFrame[80]; + FramerateSecPerFrame_81 = framerateSecPerFrame[81]; + FramerateSecPerFrame_82 = framerateSecPerFrame[82]; + FramerateSecPerFrame_83 = framerateSecPerFrame[83]; + FramerateSecPerFrame_84 = framerateSecPerFrame[84]; + FramerateSecPerFrame_85 = framerateSecPerFrame[85]; + FramerateSecPerFrame_86 = framerateSecPerFrame[86]; + FramerateSecPerFrame_87 = framerateSecPerFrame[87]; + FramerateSecPerFrame_88 = framerateSecPerFrame[88]; + FramerateSecPerFrame_89 = framerateSecPerFrame[89]; + FramerateSecPerFrame_90 = framerateSecPerFrame[90]; + FramerateSecPerFrame_91 = framerateSecPerFrame[91]; + FramerateSecPerFrame_92 = framerateSecPerFrame[92]; + FramerateSecPerFrame_93 = framerateSecPerFrame[93]; + FramerateSecPerFrame_94 = framerateSecPerFrame[94]; + FramerateSecPerFrame_95 = framerateSecPerFrame[95]; + FramerateSecPerFrame_96 = framerateSecPerFrame[96]; + FramerateSecPerFrame_97 = framerateSecPerFrame[97]; + FramerateSecPerFrame_98 = framerateSecPerFrame[98]; + FramerateSecPerFrame_99 = framerateSecPerFrame[99]; + FramerateSecPerFrame_100 = framerateSecPerFrame[100]; + FramerateSecPerFrame_101 = framerateSecPerFrame[101]; + FramerateSecPerFrame_102 = framerateSecPerFrame[102]; + FramerateSecPerFrame_103 = framerateSecPerFrame[103]; + FramerateSecPerFrame_104 = framerateSecPerFrame[104]; + FramerateSecPerFrame_105 = framerateSecPerFrame[105]; + FramerateSecPerFrame_106 = framerateSecPerFrame[106]; + FramerateSecPerFrame_107 = framerateSecPerFrame[107]; + FramerateSecPerFrame_108 = framerateSecPerFrame[108]; + FramerateSecPerFrame_109 = framerateSecPerFrame[109]; + FramerateSecPerFrame_110 = framerateSecPerFrame[110]; + FramerateSecPerFrame_111 = framerateSecPerFrame[111]; + FramerateSecPerFrame_112 = framerateSecPerFrame[112]; + FramerateSecPerFrame_113 = framerateSecPerFrame[113]; + FramerateSecPerFrame_114 = framerateSecPerFrame[114]; + FramerateSecPerFrame_115 = framerateSecPerFrame[115]; + FramerateSecPerFrame_116 = framerateSecPerFrame[116]; + FramerateSecPerFrame_117 = framerateSecPerFrame[117]; + FramerateSecPerFrame_118 = framerateSecPerFrame[118]; + FramerateSecPerFrame_119 = framerateSecPerFrame[119]; + } + FramerateSecPerFrameIdx = framerateSecPerFrameIdx; + FramerateSecPerFrameCount = framerateSecPerFrameCount; + FramerateSecPerFrameAccum = framerateSecPerFrameAccum; + WantCaptureMouseNextFrame = wantCaptureMouseNextFrame; + WantCaptureKeyboardNextFrame = wantCaptureKeyboardNextFrame; + WantTextInputNextFrame = wantTextInputNextFrame; + TempBuffer = tempBuffer; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiContext* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiContextPtr : IEquatable + { + public ImGuiContextPtr(ImGuiContext* handle) { Handle = handle; } + + public ImGuiContext* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiContextPtr Null => new ImGuiContextPtr(null); + + public ImGuiContext this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiContextPtr(ImGuiContext* handle) => new ImGuiContextPtr(handle); + + public static implicit operator ImGuiContext*(ImGuiContextPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiContextPtr left, ImGuiContextPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiContextPtr left, ImGuiContextPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiContextPtr left, ImGuiContext* right) => left.Handle == right; + + public static bool operator !=(ImGuiContextPtr left, ImGuiContext* right) => left.Handle != right; + + public bool Equals(ImGuiContextPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiContextPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref bool Initialized => ref Unsafe.AsRef(&Handle->Initialized); + /// + /// To be documented. + /// + public ref bool FontAtlasOwnedByContext => ref Unsafe.AsRef(&Handle->FontAtlasOwnedByContext); + /// + /// To be documented. + /// + public ref ImGuiIO IO => ref Unsafe.AsRef(&Handle->IO); + /// + /// To be documented. + /// + public ref ImGuiPlatformIO PlatformIO => ref Unsafe.AsRef(&Handle->PlatformIO); + /// + /// To be documented. + /// + public ref ImVector InputEventsQueue => ref Unsafe.AsRef>(&Handle->InputEventsQueue); + /// + /// To be documented. + /// + public ref ImVector InputEventsTrail => ref Unsafe.AsRef>(&Handle->InputEventsTrail); + /// + /// To be documented. + /// + public ref ImGuiStyle Style => ref Unsafe.AsRef(&Handle->Style); + /// + /// To be documented. + /// + public ref ImGuiConfigFlags ConfigFlagsCurrFrame => ref Unsafe.AsRef(&Handle->ConfigFlagsCurrFrame); + /// + /// To be documented. + /// + public ref ImGuiConfigFlags ConfigFlagsLastFrame => ref Unsafe.AsRef(&Handle->ConfigFlagsLastFrame); + /// + /// To be documented. + /// + public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); + /// + /// To be documented. + /// + public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); + /// + /// To be documented. + /// + public ref float FontBaseSize => ref Unsafe.AsRef(&Handle->FontBaseSize); + /// + /// To be documented. + /// + public ref ImDrawListSharedData DrawListSharedData => ref Unsafe.AsRef(&Handle->DrawListSharedData); + /// + /// To be documented. + /// + public ref double Time => ref Unsafe.AsRef(&Handle->Time); + /// + /// To be documented. + /// + public ref int FrameCount => ref Unsafe.AsRef(&Handle->FrameCount); + /// + /// To be documented. + /// + public ref int FrameCountEnded => ref Unsafe.AsRef(&Handle->FrameCountEnded); + /// + /// To be documented. + /// + public ref int FrameCountPlatformEnded => ref Unsafe.AsRef(&Handle->FrameCountPlatformEnded); + /// + /// To be documented. + /// + public ref int FrameCountRendered => ref Unsafe.AsRef(&Handle->FrameCountRendered); + /// + /// To be documented. + /// + public ref bool WithinFrameScope => ref Unsafe.AsRef(&Handle->WithinFrameScope); + /// + /// To be documented. + /// + public ref bool WithinFrameScopeWithImplicitWindow => ref Unsafe.AsRef(&Handle->WithinFrameScopeWithImplicitWindow); + /// + /// To be documented. + /// + public ref bool WithinEndChild => ref Unsafe.AsRef(&Handle->WithinEndChild); + /// + /// To be documented. + /// + public ref bool GcCompactAll => ref Unsafe.AsRef(&Handle->GcCompactAll); + /// + /// To be documented. + /// + public ref bool TestEngineHookItems => ref Unsafe.AsRef(&Handle->TestEngineHookItems); + /// + /// To be documented. + /// + public void* TestEngine { get => Handle->TestEngine; set => Handle->TestEngine = value; } + /// + /// To be documented. + /// + public ref ImVector Windows => ref Unsafe.AsRef>(&Handle->Windows); + /// + /// To be documented. + /// + public ref ImVector WindowsFocusOrder => ref Unsafe.AsRef>(&Handle->WindowsFocusOrder); + /// + /// To be documented. + /// + public ref ImVector WindowsTempSortBuffer => ref Unsafe.AsRef>(&Handle->WindowsTempSortBuffer); + /// + /// To be documented. + /// + public ref ImVector CurrentWindowStack => ref Unsafe.AsRef>(&Handle->CurrentWindowStack); + /// + /// To be documented. + /// + public ref ImGuiStorage WindowsById => ref Unsafe.AsRef(&Handle->WindowsById); + /// + /// To be documented. + /// + public ref int WindowsActiveCount => ref Unsafe.AsRef(&Handle->WindowsActiveCount); + /// + /// To be documented. + /// + public ref Vector2 WindowsHoverPadding => ref Unsafe.AsRef(&Handle->WindowsHoverPadding); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr CurrentWindow => ref Unsafe.AsRef(&Handle->CurrentWindow); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr HoveredWindow => ref Unsafe.AsRef(&Handle->HoveredWindow); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr HoveredWindowUnderMovingWindow => ref Unsafe.AsRef(&Handle->HoveredWindowUnderMovingWindow); + /// + /// To be documented. + /// + public ref ImGuiDockNodePtr HoveredDockNode => ref Unsafe.AsRef(&Handle->HoveredDockNode); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr MovingWindow => ref Unsafe.AsRef(&Handle->MovingWindow); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr WheelingWindow => ref Unsafe.AsRef(&Handle->WheelingWindow); + /// + /// To be documented. + /// + public ref Vector2 WheelingWindowRefMousePos => ref Unsafe.AsRef(&Handle->WheelingWindowRefMousePos); + /// + /// To be documented. + /// + public ref float WheelingWindowTimer => ref Unsafe.AsRef(&Handle->WheelingWindowTimer); + /// + /// To be documented. + /// + public ref uint DebugHookIdInfo => ref Unsafe.AsRef(&Handle->DebugHookIdInfo); + /// + /// To be documented. + /// + public ref uint HoveredId => ref Unsafe.AsRef(&Handle->HoveredId); + /// + /// To be documented. + /// + public ref uint HoveredIdPreviousFrame => ref Unsafe.AsRef(&Handle->HoveredIdPreviousFrame); + /// + /// To be documented. + /// + public ref bool HoveredIdAllowOverlap => ref Unsafe.AsRef(&Handle->HoveredIdAllowOverlap); + /// + /// To be documented. + /// + public ref bool HoveredIdUsingMouseWheel => ref Unsafe.AsRef(&Handle->HoveredIdUsingMouseWheel); + /// + /// To be documented. + /// + public ref bool HoveredIdPreviousFrameUsingMouseWheel => ref Unsafe.AsRef(&Handle->HoveredIdPreviousFrameUsingMouseWheel); + /// + /// To be documented. + /// + public ref bool HoveredIdDisabled => ref Unsafe.AsRef(&Handle->HoveredIdDisabled); + /// + /// To be documented. + /// + public ref float HoveredIdTimer => ref Unsafe.AsRef(&Handle->HoveredIdTimer); + /// + /// To be documented. + /// + public ref float HoveredIdNotActiveTimer => ref Unsafe.AsRef(&Handle->HoveredIdNotActiveTimer); + /// + /// To be documented. + /// + public ref uint ActiveId => ref Unsafe.AsRef(&Handle->ActiveId); + /// + /// To be documented. + /// + public ref uint ActiveIdIsAlive => ref Unsafe.AsRef(&Handle->ActiveIdIsAlive); + /// + /// To be documented. + /// + public ref float ActiveIdTimer => ref Unsafe.AsRef(&Handle->ActiveIdTimer); + /// + /// To be documented. + /// + public ref bool ActiveIdIsJustActivated => ref Unsafe.AsRef(&Handle->ActiveIdIsJustActivated); + /// + /// To be documented. + /// + public ref bool ActiveIdAllowOverlap => ref Unsafe.AsRef(&Handle->ActiveIdAllowOverlap); + /// + /// To be documented. + /// + public ref bool ActiveIdNoClearOnFocusLoss => ref Unsafe.AsRef(&Handle->ActiveIdNoClearOnFocusLoss); + /// + /// To be documented. + /// + public ref bool ActiveIdHasBeenPressedBefore => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenPressedBefore); + /// + /// To be documented. + /// + public ref bool ActiveIdHasBeenEditedBefore => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenEditedBefore); + /// + /// To be documented. + /// + public ref bool ActiveIdHasBeenEditedThisFrame => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenEditedThisFrame); + /// + /// To be documented. + /// + public ref Vector2 ActiveIdClickOffset => ref Unsafe.AsRef(&Handle->ActiveIdClickOffset); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr ActiveIdWindow => ref Unsafe.AsRef(&Handle->ActiveIdWindow); + /// + /// To be documented. + /// + public ref ImGuiInputSource ActiveIdSource => ref Unsafe.AsRef(&Handle->ActiveIdSource); + /// + /// To be documented. + /// + public ref int ActiveIdMouseButton => ref Unsafe.AsRef(&Handle->ActiveIdMouseButton); + /// + /// To be documented. + /// + public ref uint ActiveIdPreviousFrame => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrame); + /// + /// To be documented. + /// + public ref bool ActiveIdPreviousFrameIsAlive => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrameIsAlive); + /// + /// To be documented. + /// + public ref bool ActiveIdPreviousFrameHasBeenEditedBefore => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrameHasBeenEditedBefore); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr ActiveIdPreviousFrameWindow => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrameWindow); + /// + /// To be documented. + /// + public ref uint LastActiveId => ref Unsafe.AsRef(&Handle->LastActiveId); + /// + /// To be documented. + /// + public ref float LastActiveIdTimer => ref Unsafe.AsRef(&Handle->LastActiveIdTimer); + /// + /// To be documented. + /// + public ref bool ActiveIdUsingMouseWheel => ref Unsafe.AsRef(&Handle->ActiveIdUsingMouseWheel); + /// + /// To be documented. + /// + public ref uint ActiveIdUsingNavDirMask => ref Unsafe.AsRef(&Handle->ActiveIdUsingNavDirMask); + /// + /// To be documented. + /// + public ref uint ActiveIdUsingNavInputMask => ref Unsafe.AsRef(&Handle->ActiveIdUsingNavInputMask); + /// + /// To be documented. + /// + public ref nuint ActiveIdUsingKeyInputMask => ref Unsafe.AsRef(&Handle->ActiveIdUsingKeyInputMask); + /// + /// To be documented. + /// + public ref ImGuiItemFlags CurrentItemFlags => ref Unsafe.AsRef(&Handle->CurrentItemFlags); + /// + /// To be documented. + /// + public ref ImGuiNextItemData NextItemData => ref Unsafe.AsRef(&Handle->NextItemData); + /// + /// To be documented. + /// + public ref ImGuiLastItemData LastItemData => ref Unsafe.AsRef(&Handle->LastItemData); + /// + /// To be documented. + /// + public ref ImGuiNextWindowData NextWindowData => ref Unsafe.AsRef(&Handle->NextWindowData); + /// + /// To be documented. + /// + public ref ImVector ColorStack => ref Unsafe.AsRef>(&Handle->ColorStack); + /// + /// To be documented. + /// + public ref ImVector StyleVarStack => ref Unsafe.AsRef>(&Handle->StyleVarStack); + /// + /// To be documented. + /// + public ref ImVector FontStack => ref Unsafe.AsRef>(&Handle->FontStack); + /// + /// To be documented. + /// + public ref ImVector FocusScopeStack => ref Unsafe.AsRef>(&Handle->FocusScopeStack); + /// + /// To be documented. + /// + public ref ImVector ItemFlagsStack => ref Unsafe.AsRef>(&Handle->ItemFlagsStack); + /// + /// To be documented. + /// + public ref ImVector GroupStack => ref Unsafe.AsRef>(&Handle->GroupStack); + /// + /// To be documented. + /// + public ref ImVector OpenPopupStack => ref Unsafe.AsRef>(&Handle->OpenPopupStack); + /// + /// To be documented. + /// + public ref ImVector BeginPopupStack => ref Unsafe.AsRef>(&Handle->BeginPopupStack); + /// + /// To be documented. + /// + public ref int BeginMenuCount => ref Unsafe.AsRef(&Handle->BeginMenuCount); + /// + /// To be documented. + /// + public ref ImVector Viewports => ref Unsafe.AsRef>(&Handle->Viewports); + /// + /// To be documented. + /// + public ref float CurrentDpiScale => ref Unsafe.AsRef(&Handle->CurrentDpiScale); + /// + /// To be documented. + /// + public ref ImGuiViewportPPtr CurrentViewport => ref Unsafe.AsRef(&Handle->CurrentViewport); + /// + /// To be documented. + /// + public ref ImGuiViewportPPtr MouseViewport => ref Unsafe.AsRef(&Handle->MouseViewport); + /// + /// To be documented. + /// + public ref ImGuiViewportPPtr MouseLastHoveredViewport => ref Unsafe.AsRef(&Handle->MouseLastHoveredViewport); + /// + /// To be documented. + /// + public ref uint PlatformLastFocusedViewportId => ref Unsafe.AsRef(&Handle->PlatformLastFocusedViewportId); + /// + /// To be documented. + /// + public ref ImGuiPlatformMonitor FallbackMonitor => ref Unsafe.AsRef(&Handle->FallbackMonitor); + /// + /// To be documented. + /// + public ref int ViewportFrontMostStampCount => ref Unsafe.AsRef(&Handle->ViewportFrontMostStampCount); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr NavWindow => ref Unsafe.AsRef(&Handle->NavWindow); + /// + /// To be documented. + /// + public ref uint NavId => ref Unsafe.AsRef(&Handle->NavId); + /// + /// To be documented. + /// + public ref uint NavFocusScopeId => ref Unsafe.AsRef(&Handle->NavFocusScopeId); + /// + /// To be documented. + /// + public ref uint NavActivateId => ref Unsafe.AsRef(&Handle->NavActivateId); + /// + /// To be documented. + /// + public ref uint NavActivateDownId => ref Unsafe.AsRef(&Handle->NavActivateDownId); + /// + /// To be documented. + /// + public ref uint NavActivatePressedId => ref Unsafe.AsRef(&Handle->NavActivatePressedId); + /// + /// To be documented. + /// + public ref uint NavActivateInputId => ref Unsafe.AsRef(&Handle->NavActivateInputId); + /// + /// To be documented. + /// + public ref ImGuiActivateFlags NavActivateFlags => ref Unsafe.AsRef(&Handle->NavActivateFlags); + /// + /// To be documented. + /// + public ref uint NavJustMovedToId => ref Unsafe.AsRef(&Handle->NavJustMovedToId); + /// + /// To be documented. + /// + public ref uint NavJustMovedToFocusScopeId => ref Unsafe.AsRef(&Handle->NavJustMovedToFocusScopeId); + /// + /// To be documented. + /// + public ref ImGuiModFlags NavJustMovedToKeyMods => ref Unsafe.AsRef(&Handle->NavJustMovedToKeyMods); + /// + /// To be documented. + /// + public ref uint NavNextActivateId => ref Unsafe.AsRef(&Handle->NavNextActivateId); + /// + /// To be documented. + /// + public ref ImGuiActivateFlags NavNextActivateFlags => ref Unsafe.AsRef(&Handle->NavNextActivateFlags); + /// + /// To be documented. + /// + public ref ImGuiInputSource NavInputSource => ref Unsafe.AsRef(&Handle->NavInputSource); + /// + /// To be documented. + /// + public ref ImGuiNavLayer NavLayer => ref Unsafe.AsRef(&Handle->NavLayer); + /// + /// To be documented. + /// + public ref bool NavIdIsAlive => ref Unsafe.AsRef(&Handle->NavIdIsAlive); + /// + /// To be documented. + /// + public ref bool NavMousePosDirty => ref Unsafe.AsRef(&Handle->NavMousePosDirty); + /// + /// To be documented. + /// + public ref bool NavDisableHighlight => ref Unsafe.AsRef(&Handle->NavDisableHighlight); + /// + /// To be documented. + /// + public ref bool NavDisableMouseHover => ref Unsafe.AsRef(&Handle->NavDisableMouseHover); + /// + /// To be documented. + /// + public ref bool NavAnyRequest => ref Unsafe.AsRef(&Handle->NavAnyRequest); + /// + /// To be documented. + /// + public ref bool NavInitRequest => ref Unsafe.AsRef(&Handle->NavInitRequest); + /// + /// To be documented. + /// + public ref bool NavInitRequestFromMove => ref Unsafe.AsRef(&Handle->NavInitRequestFromMove); + /// + /// To be documented. + /// + public ref uint NavInitResultId => ref Unsafe.AsRef(&Handle->NavInitResultId); + /// + /// To be documented. + /// + public ref ImRect NavInitResultRectRel => ref Unsafe.AsRef(&Handle->NavInitResultRectRel); + /// + /// To be documented. + /// + public ref bool NavMoveSubmitted => ref Unsafe.AsRef(&Handle->NavMoveSubmitted); + /// + /// To be documented. + /// + public ref bool NavMoveScoringItems => ref Unsafe.AsRef(&Handle->NavMoveScoringItems); + /// + /// To be documented. + /// + public ref bool NavMoveForwardToNextFrame => ref Unsafe.AsRef(&Handle->NavMoveForwardToNextFrame); + /// + /// To be documented. + /// + public ref ImGuiNavMoveFlags NavMoveFlags => ref Unsafe.AsRef(&Handle->NavMoveFlags); + /// + /// To be documented. + /// + public ref ImGuiScrollFlags NavMoveScrollFlags => ref Unsafe.AsRef(&Handle->NavMoveScrollFlags); + /// + /// To be documented. + /// + public ref ImGuiModFlags NavMoveKeyMods => ref Unsafe.AsRef(&Handle->NavMoveKeyMods); + /// + /// To be documented. + /// + public ref ImGuiDir NavMoveDir => ref Unsafe.AsRef(&Handle->NavMoveDir); + /// + /// To be documented. + /// + public ref ImGuiDir NavMoveDirForDebug => ref Unsafe.AsRef(&Handle->NavMoveDirForDebug); + /// + /// To be documented. + /// + public ref ImGuiDir NavMoveClipDir => ref Unsafe.AsRef(&Handle->NavMoveClipDir); + /// + /// To be documented. + /// + public ref ImRect NavScoringRect => ref Unsafe.AsRef(&Handle->NavScoringRect); + /// + /// To be documented. + /// + public ref ImRect NavScoringNoClipRect => ref Unsafe.AsRef(&Handle->NavScoringNoClipRect); + /// + /// To be documented. + /// + public ref int NavScoringDebugCount => ref Unsafe.AsRef(&Handle->NavScoringDebugCount); + /// + /// To be documented. + /// + public ref int NavTabbingDir => ref Unsafe.AsRef(&Handle->NavTabbingDir); + /// + /// To be documented. + /// + public ref int NavTabbingCounter => ref Unsafe.AsRef(&Handle->NavTabbingCounter); + /// + /// To be documented. + /// + public ref ImGuiNavItemData NavMoveResultLocal => ref Unsafe.AsRef(&Handle->NavMoveResultLocal); + /// + /// To be documented. + /// + public ref ImGuiNavItemData NavMoveResultLocalVisible => ref Unsafe.AsRef(&Handle->NavMoveResultLocalVisible); + /// + /// To be documented. + /// + public ref ImGuiNavItemData NavMoveResultOther => ref Unsafe.AsRef(&Handle->NavMoveResultOther); + /// + /// To be documented. + /// + public ref ImGuiNavItemData NavTabbingResultFirst => ref Unsafe.AsRef(&Handle->NavTabbingResultFirst); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr NavWindowingTarget => ref Unsafe.AsRef(&Handle->NavWindowingTarget); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr NavWindowingTargetAnim => ref Unsafe.AsRef(&Handle->NavWindowingTargetAnim); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr NavWindowingListWindow => ref Unsafe.AsRef(&Handle->NavWindowingListWindow); + /// + /// To be documented. + /// + public ref float NavWindowingTimer => ref Unsafe.AsRef(&Handle->NavWindowingTimer); + /// + /// To be documented. + /// + public ref float NavWindowingHighlightAlpha => ref Unsafe.AsRef(&Handle->NavWindowingHighlightAlpha); + /// + /// To be documented. + /// + public ref bool NavWindowingToggleLayer => ref Unsafe.AsRef(&Handle->NavWindowingToggleLayer); + /// + /// To be documented. + /// + public ref float DimBgRatio => ref Unsafe.AsRef(&Handle->DimBgRatio); + /// + /// To be documented. + /// + public ref ImGuiMouseCursor MouseCursor => ref Unsafe.AsRef(&Handle->MouseCursor); + /// + /// To be documented. + /// + public ref bool DragDropActive => ref Unsafe.AsRef(&Handle->DragDropActive); + /// + /// To be documented. + /// + public ref bool DragDropWithinSource => ref Unsafe.AsRef(&Handle->DragDropWithinSource); + /// + /// To be documented. + /// + public ref bool DragDropWithinTarget => ref Unsafe.AsRef(&Handle->DragDropWithinTarget); + /// + /// To be documented. + /// + public ref ImGuiDragDropFlags DragDropSourceFlags => ref Unsafe.AsRef(&Handle->DragDropSourceFlags); + /// + /// To be documented. + /// + public ref int DragDropSourceFrameCount => ref Unsafe.AsRef(&Handle->DragDropSourceFrameCount); + /// + /// To be documented. + /// + public ref int DragDropMouseButton => ref Unsafe.AsRef(&Handle->DragDropMouseButton); + /// + /// To be documented. + /// + public ref ImGuiPayload DragDropPayload => ref Unsafe.AsRef(&Handle->DragDropPayload); + /// + /// To be documented. + /// + public ref ImRect DragDropTargetRect => ref Unsafe.AsRef(&Handle->DragDropTargetRect); + /// + /// To be documented. + /// + public ref uint DragDropTargetId => ref Unsafe.AsRef(&Handle->DragDropTargetId); + /// + /// To be documented. + /// + public ref ImGuiDragDropFlags DragDropAcceptFlags => ref Unsafe.AsRef(&Handle->DragDropAcceptFlags); + /// + /// To be documented. + /// + public ref float DragDropAcceptIdCurrRectSurface => ref Unsafe.AsRef(&Handle->DragDropAcceptIdCurrRectSurface); + /// + /// To be documented. + /// + public ref uint DragDropAcceptIdCurr => ref Unsafe.AsRef(&Handle->DragDropAcceptIdCurr); + /// + /// To be documented. + /// + public ref uint DragDropAcceptIdPrev => ref Unsafe.AsRef(&Handle->DragDropAcceptIdPrev); + /// + /// To be documented. + /// + public ref int DragDropAcceptFrameCount => ref Unsafe.AsRef(&Handle->DragDropAcceptFrameCount); + /// + /// To be documented. + /// + public ref uint DragDropHoldJustPressedId => ref Unsafe.AsRef(&Handle->DragDropHoldJustPressedId); + /// + /// To be documented. + /// + public ref ImVector DragDropPayloadBufHeap => ref Unsafe.AsRef>(&Handle->DragDropPayloadBufHeap); + /// + /// To be documented. + /// + public unsafe Span DragDropPayloadBufLocal + + { + get + { + return new Span(&Handle->DragDropPayloadBufLocal_0, 16); + } + } + /// + /// To be documented. + /// + public ref int ClipperTempDataStacked => ref Unsafe.AsRef(&Handle->ClipperTempDataStacked); + /// + /// To be documented. + /// + public ref ImVector ClipperTempData => ref Unsafe.AsRef>(&Handle->ClipperTempData); + /// + /// To be documented. + /// + public ref ImGuiTablePtr CurrentTable => ref Unsafe.AsRef(&Handle->CurrentTable); + /// + /// To be documented. + /// + public ref int TablesTempDataStacked => ref Unsafe.AsRef(&Handle->TablesTempDataStacked); + /// + /// To be documented. + /// + public ref ImVector TablesTempData => ref Unsafe.AsRef>(&Handle->TablesTempData); + /// + /// To be documented. + /// + public ref ImPoolImGuiTable Tables => ref Unsafe.AsRef(&Handle->Tables); + /// + /// To be documented. + /// + public ref ImVector TablesLastTimeActive => ref Unsafe.AsRef>(&Handle->TablesLastTimeActive); + /// + /// To be documented. + /// + public ref ImVector DrawChannelsTempMergeBuffer => ref Unsafe.AsRef>(&Handle->DrawChannelsTempMergeBuffer); + /// + /// To be documented. + /// + public ref ImGuiTabBarPtr CurrentTabBar => ref Unsafe.AsRef(&Handle->CurrentTabBar); + /// + /// To be documented. + /// + public ref ImPoolImGuiTabBar TabBars => ref Unsafe.AsRef(&Handle->TabBars); + /// + /// To be documented. + /// + public ref ImVector CurrentTabBarStack => ref Unsafe.AsRef>(&Handle->CurrentTabBarStack); + /// + /// To be documented. + /// + public ref ImVector ShrinkWidthBuffer => ref Unsafe.AsRef>(&Handle->ShrinkWidthBuffer); + /// + /// To be documented. + /// + public ref Vector2 MouseLastValidPos => ref Unsafe.AsRef(&Handle->MouseLastValidPos); + /// + /// To be documented. + /// + public ref ImGuiInputTextState InputTextState => ref Unsafe.AsRef(&Handle->InputTextState); + /// + /// To be documented. + /// + public ref ImFont InputTextPasswordFont => ref Unsafe.AsRef(&Handle->InputTextPasswordFont); + /// + /// To be documented. + /// + public ref uint TempInputId => ref Unsafe.AsRef(&Handle->TempInputId); + /// + /// To be documented. + /// + public ref ImGuiColorEditFlags ColorEditOptions => ref Unsafe.AsRef(&Handle->ColorEditOptions); + /// + /// To be documented. + /// + public ref float ColorEditLastHue => ref Unsafe.AsRef(&Handle->ColorEditLastHue); + /// + /// To be documented. + /// + public ref float ColorEditLastSat => ref Unsafe.AsRef(&Handle->ColorEditLastSat); + /// + /// To be documented. + /// + public ref uint ColorEditLastColor => ref Unsafe.AsRef(&Handle->ColorEditLastColor); + /// + /// To be documented. + /// + public ref Vector4 ColorPickerRef => ref Unsafe.AsRef(&Handle->ColorPickerRef); + /// + /// To be documented. + /// + public ref ImGuiComboPreviewData ComboPreviewData => ref Unsafe.AsRef(&Handle->ComboPreviewData); + /// + /// To be documented. + /// + public ref float SliderGrabClickOffset => ref Unsafe.AsRef(&Handle->SliderGrabClickOffset); + /// + /// To be documented. + /// + public ref float SliderCurrentAccum => ref Unsafe.AsRef(&Handle->SliderCurrentAccum); + /// + /// To be documented. + /// + public ref bool SliderCurrentAccumDirty => ref Unsafe.AsRef(&Handle->SliderCurrentAccumDirty); + /// + /// To be documented. + /// + public ref bool DragCurrentAccumDirty => ref Unsafe.AsRef(&Handle->DragCurrentAccumDirty); + /// + /// To be documented. + /// + public ref float DragCurrentAccum => ref Unsafe.AsRef(&Handle->DragCurrentAccum); + /// + /// To be documented. + /// + public ref float DragSpeedDefaultRatio => ref Unsafe.AsRef(&Handle->DragSpeedDefaultRatio); + /// + /// To be documented. + /// + public ref float ScrollbarClickDeltaToGrabCenter => ref Unsafe.AsRef(&Handle->ScrollbarClickDeltaToGrabCenter); + /// + /// To be documented. + /// + public ref float DisabledAlphaBackup => ref Unsafe.AsRef(&Handle->DisabledAlphaBackup); + /// + /// To be documented. + /// + public ref short DisabledStackSize => ref Unsafe.AsRef(&Handle->DisabledStackSize); + /// + /// To be documented. + /// + public ref short TooltipOverrideCount => ref Unsafe.AsRef(&Handle->TooltipOverrideCount); + /// + /// To be documented. + /// + public ref float TooltipSlowDelay => ref Unsafe.AsRef(&Handle->TooltipSlowDelay); + /// + /// To be documented. + /// + public ref ImVector ClipboardHandlerData => ref Unsafe.AsRef>(&Handle->ClipboardHandlerData); + /// + /// To be documented. + /// + public ref ImVector MenusIdSubmittedThisFrame => ref Unsafe.AsRef>(&Handle->MenusIdSubmittedThisFrame); + /// + /// To be documented. + /// + public ref ImGuiPlatformImeData PlatformImeData => ref Unsafe.AsRef(&Handle->PlatformImeData); + /// + /// To be documented. + /// + public ref ImGuiPlatformImeData PlatformImeDataPrev => ref Unsafe.AsRef(&Handle->PlatformImeDataPrev); + /// + /// To be documented. + /// + public ref uint PlatformImeViewport => ref Unsafe.AsRef(&Handle->PlatformImeViewport); + /// + /// To be documented. + /// + public ref byte PlatformLocaleDecimalPoint => ref Unsafe.AsRef(&Handle->PlatformLocaleDecimalPoint); + /// + /// To be documented. + /// + public ref ImGuiDockContext DockContext => ref Unsafe.AsRef(&Handle->DockContext); + /// + /// To be documented. + /// + public ref bool SettingsLoaded => ref Unsafe.AsRef(&Handle->SettingsLoaded); + /// + /// To be documented. + /// + public ref float SettingsDirtyTimer => ref Unsafe.AsRef(&Handle->SettingsDirtyTimer); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer SettingsIniData => ref Unsafe.AsRef(&Handle->SettingsIniData); + /// + /// To be documented. + /// + public ref ImVector SettingsHandlers => ref Unsafe.AsRef>(&Handle->SettingsHandlers); + /// + /// To be documented. + /// + public ref ImChunkStreamImGuiWindowSettings SettingsWindows => ref Unsafe.AsRef(&Handle->SettingsWindows); + /// + /// To be documented. + /// + public ref ImChunkStreamImGuiTableSettings SettingsTables => ref Unsafe.AsRef(&Handle->SettingsTables); + /// + /// To be documented. + /// + public ref ImVector Hooks => ref Unsafe.AsRef>(&Handle->Hooks); + /// + /// To be documented. + /// + public ref uint HookIdNext => ref Unsafe.AsRef(&Handle->HookIdNext); + /// + /// To be documented. + /// + public ref bool LogEnabled => ref Unsafe.AsRef(&Handle->LogEnabled); + /// + /// To be documented. + /// + public ref ImGuiLogType LogType => ref Unsafe.AsRef(&Handle->LogType); + /// + /// To be documented. + /// + public ref ImFileHandle LogFile => ref Unsafe.AsRef(&Handle->LogFile); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer LogBuffer => ref Unsafe.AsRef(&Handle->LogBuffer); + /// + /// To be documented. + /// + public byte* LogNextPrefix { get => Handle->LogNextPrefix; set => Handle->LogNextPrefix = value; } + /// + /// To be documented. + /// + public byte* LogNextSuffix { get => Handle->LogNextSuffix; set => Handle->LogNextSuffix = value; } + /// + /// To be documented. + /// + public ref float LogLinePosY => ref Unsafe.AsRef(&Handle->LogLinePosY); + /// + /// To be documented. + /// + public ref bool LogLineFirstItem => ref Unsafe.AsRef(&Handle->LogLineFirstItem); + /// + /// To be documented. + /// + public ref int LogDepthRef => ref Unsafe.AsRef(&Handle->LogDepthRef); + /// + /// To be documented. + /// + public ref int LogDepthToExpand => ref Unsafe.AsRef(&Handle->LogDepthToExpand); + /// + /// To be documented. + /// + public ref int LogDepthToExpandDefault => ref Unsafe.AsRef(&Handle->LogDepthToExpandDefault); + /// + /// To be documented. + /// + public ref ImGuiDebugLogFlags DebugLogFlags => ref Unsafe.AsRef(&Handle->DebugLogFlags); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer DebugLogBuf => ref Unsafe.AsRef(&Handle->DebugLogBuf); + /// + /// To be documented. + /// + public ref bool DebugItemPickerActive => ref Unsafe.AsRef(&Handle->DebugItemPickerActive); + /// + /// To be documented. + /// + public ref uint DebugItemPickerBreakId => ref Unsafe.AsRef(&Handle->DebugItemPickerBreakId); + /// + /// To be documented. + /// + public ref ImGuiMetricsConfig DebugMetricsConfig => ref Unsafe.AsRef(&Handle->DebugMetricsConfig); + /// + /// To be documented. + /// + public ref ImGuiStackTool DebugStackTool => ref Unsafe.AsRef(&Handle->DebugStackTool); + /// + /// To be documented. + /// + public unsafe Span FramerateSecPerFrame + + { + get + { + return new Span(&Handle->FramerateSecPerFrame_0, 120); + } + } + /// + /// To be documented. + /// + public ref int FramerateSecPerFrameIdx => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameIdx); + /// + /// To be documented. + /// + public ref int FramerateSecPerFrameCount => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameCount); + /// + /// To be documented. + /// + public ref float FramerateSecPerFrameAccum => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameAccum); + /// + /// To be documented. + /// + public ref int WantCaptureMouseNextFrame => ref Unsafe.AsRef(&Handle->WantCaptureMouseNextFrame); + /// + /// To be documented. + /// + public ref int WantCaptureKeyboardNextFrame => ref Unsafe.AsRef(&Handle->WantCaptureKeyboardNextFrame); + /// + /// To be documented. + /// + public ref int WantTextInputNextFrame => ref Unsafe.AsRef(&Handle->WantTextInputNextFrame); + /// + /// To be documented. + /// + public ref ImVector TempBuffer => ref Unsafe.AsRef>(&Handle->TempBuffer); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiContextHook.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiContextHook.cs new file mode 100644 index 000000000..912a5e472 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiContextHook.cs @@ -0,0 +1,147 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiContextHook + { + /// + /// To be documented. + /// + public uint HookId; + + /// + /// To be documented. + /// + public ImGuiContextHookType Type; + + /// + /// To be documented. + /// + public uint Owner; + + /// + /// To be documented. + /// + public unsafe void* Callback; + /// + /// To be documented. + /// + public unsafe void* UserData; + + + /// + /// To be documented. + /// + public unsafe ImGuiContextHook(uint hookId = default, ImGuiContextHookType type = default, uint owner = default, ImGuiContextHookCallback callback = default, void* userData = default) + { + HookId = hookId; + Type = type; + Owner = owner; + Callback = (void*)Marshal.GetFunctionPointerForDelegate(callback); + UserData = userData; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiContextHook* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiContextHookPtr : IEquatable + { + public ImGuiContextHookPtr(ImGuiContextHook* handle) { Handle = handle; } + + public ImGuiContextHook* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiContextHookPtr Null => new ImGuiContextHookPtr(null); + + public ImGuiContextHook this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiContextHookPtr(ImGuiContextHook* handle) => new ImGuiContextHookPtr(handle); + + public static implicit operator ImGuiContextHook*(ImGuiContextHookPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiContextHookPtr left, ImGuiContextHookPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiContextHookPtr left, ImGuiContextHookPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiContextHookPtr left, ImGuiContextHook* right) => left.Handle == right; + + public static bool operator !=(ImGuiContextHookPtr left, ImGuiContextHook* right) => left.Handle != right; + + public bool Equals(ImGuiContextHookPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiContextHookPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiContextHookPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint HookId => ref Unsafe.AsRef(&Handle->HookId); + /// + /// To be documented. + /// + public ref ImGuiContextHookType Type => ref Unsafe.AsRef(&Handle->Type); + /// + /// To be documented. + /// + public ref uint Owner => ref Unsafe.AsRef(&Handle->Owner); + /// + /// To be documented. + /// + public void* Callback { get => Handle->Callback; set => Handle->Callback = value; } + /// + /// To be documented. + /// + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDataTypeInfo.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDataTypeInfo.cs new file mode 100644 index 000000000..03e2a15b0 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDataTypeInfo.cs @@ -0,0 +1,119 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDataTypeInfo + { + /// + /// To be documented. + /// + public ulong Size; + + /// + /// To be documented. + /// + public unsafe byte* Name; + + /// + /// To be documented. + /// + public unsafe byte* PrintFmt; + + /// + /// To be documented. + /// + public unsafe byte* ScanFmt; + + + /// + /// To be documented. + /// + public unsafe ImGuiDataTypeInfo(ulong size = default, byte* name = default, byte* printFmt = default, byte* scanFmt = default) + { + Size = size; + Name = name; + PrintFmt = printFmt; + ScanFmt = scanFmt; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiDataTypeInfoPtr : IEquatable + { + public ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* handle) { Handle = handle; } + + public ImGuiDataTypeInfo* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiDataTypeInfoPtr Null => new ImGuiDataTypeInfoPtr(null); + + public ImGuiDataTypeInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* handle) => new ImGuiDataTypeInfoPtr(handle); + + public static implicit operator ImGuiDataTypeInfo*(ImGuiDataTypeInfoPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfoPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfoPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfo* right) => left.Handle == right; + + public static bool operator !=(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfo* right) => left.Handle != right; + + public bool Equals(ImGuiDataTypeInfoPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiDataTypeInfoPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiDataTypeInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ulong Size => ref Unsafe.AsRef(&Handle->Size); + /// + /// To be documented. + /// + public byte* Name { get => Handle->Name; set => Handle->Name = value; } + /// + /// To be documented. + /// + public byte* PrintFmt { get => Handle->PrintFmt; set => Handle->PrintFmt = value; } + /// + /// To be documented. + /// + public byte* ScanFmt { get => Handle->ScanFmt; set => Handle->ScanFmt = value; } + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDataTypeTempStorage.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDataTypeTempStorage.cs new file mode 100644 index 000000000..7eae28810 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDataTypeTempStorage.cs @@ -0,0 +1,77 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDataTypeTempStorage + { + /// + /// To be documented. + /// + public byte Data_0; + public byte Data_1; + public byte Data_2; + public byte Data_3; + public byte Data_4; + public byte Data_5; + public byte Data_6; + public byte Data_7; + + + /// + /// To be documented. + /// + public unsafe ImGuiDataTypeTempStorage(byte* data = default) + { + if (data != default(byte*)) + { + Data_0 = data[0]; + Data_1 = data[1]; + Data_2 = data[2]; + Data_3 = data[3]; + Data_4 = data[4]; + Data_5 = data[5]; + Data_6 = data[6]; + Data_7 = data[7]; + } + } + + /// + /// To be documented. + /// + public unsafe ImGuiDataTypeTempStorage(Span data = default) + { + if (data != default(Span)) + { + Data_0 = data[0]; + Data_1 = data[1]; + Data_2 = data[2]; + Data_3 = data[3]; + Data_4 = data[4]; + Data_5 = data[5]; + Data_6 = data[6]; + Data_7 = data[7]; + } + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockContext.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockContext.cs new file mode 100644 index 000000000..2595634e9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockContext.cs @@ -0,0 +1,138 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockContext + { + /// + /// To be documented. + /// + public ImGuiStorage Nodes; + + /// + /// To be documented. + /// + public ImVector Requests; + + /// + /// To be documented. + /// + public ImVector NodesSettings; + + /// + /// To be documented. + /// + public byte WantFullRebuild; + + + /// + /// To be documented. + /// + public unsafe ImGuiDockContext(ImGuiStorage nodes = default, ImVector requests = default, ImVector nodesSettings = default, bool wantFullRebuild = default) + { + Nodes = nodes; + Requests = requests; + NodesSettings = nodesSettings; + WantFullRebuild = wantFullRebuild ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiDockContext* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiDockContextPtr : IEquatable + { + public ImGuiDockContextPtr(ImGuiDockContext* handle) { Handle = handle; } + + public ImGuiDockContext* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiDockContextPtr Null => new ImGuiDockContextPtr(null); + + public ImGuiDockContext this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiDockContextPtr(ImGuiDockContext* handle) => new ImGuiDockContextPtr(handle); + + public static implicit operator ImGuiDockContext*(ImGuiDockContextPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiDockContextPtr left, ImGuiDockContextPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiDockContextPtr left, ImGuiDockContextPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiDockContextPtr left, ImGuiDockContext* right) => left.Handle == right; + + public static bool operator !=(ImGuiDockContextPtr left, ImGuiDockContext* right) => left.Handle != right; + + public bool Equals(ImGuiDockContextPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiDockContextPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiDockContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiStorage Nodes => ref Unsafe.AsRef(&Handle->Nodes); + /// + /// To be documented. + /// + public ref ImVector Requests => ref Unsafe.AsRef>(&Handle->Requests); + /// + /// To be documented. + /// + public ref ImVector NodesSettings => ref Unsafe.AsRef>(&Handle->NodesSettings); + /// + /// To be documented. + /// + public ref bool WantFullRebuild => ref Unsafe.AsRef(&Handle->WantFullRebuild); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockNode.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockNode.cs new file mode 100644 index 000000000..1140c710d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockNode.cs @@ -0,0 +1,559 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// sizeof() 156~192
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockNode + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiDockNodeFlags SharedFlags; + + /// + /// To be documented. + /// + public ImGuiDockNodeFlags LocalFlags; + + /// + /// To be documented. + /// + public ImGuiDockNodeFlags LocalFlagsInWindows; + + /// + /// To be documented. + /// + public ImGuiDockNodeFlags MergedFlags; + + /// + /// To be documented. + /// + public ImGuiDockNodeState State; + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode* ParentNode; + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode* ChildNodes_0; + public unsafe ImGuiDockNode* ChildNodes_1; + + /// + /// To be documented. + /// + public ImVector Windows; + + /// + /// To be documented. + /// + public unsafe ImGuiTabBar* TabBar; + + /// + /// To be documented. + /// + public Vector2 Pos; + + /// + /// To be documented. + /// + public Vector2 Size; + + /// + /// To be documented. + /// + public Vector2 SizeRef; + + /// + /// To be documented. + /// + public ImGuiAxis SplitAxis; + + /// + /// To be documented. + /// + public ImGuiWindowClass WindowClass; + + /// + /// To be documented. + /// + public uint LastBgColor; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* HostWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* VisibleWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode* CentralNode; + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode* OnlyNodeWithWindows; + + /// + /// To be documented. + /// + public int CountNodeWithWindows; + + /// + /// To be documented. + /// + public int LastFrameAlive; + + /// + /// To be documented. + /// + public int LastFrameActive; + + /// + /// To be documented. + /// + public int LastFrameFocused; + + /// + /// To be documented. + /// + public uint LastFocusedNodeId; + + /// + /// To be documented. + /// + public uint SelectedTabId; + + /// + /// To be documented. + /// + public uint WantCloseTabId; + + /// + /// To be documented. + /// + public ImGuiDataAuthority AuthorityForPos; + + /// + /// To be documented. + /// + public ImGuiDataAuthority AuthorityForSize; + + /// + /// To be documented. + /// + public ImGuiDataAuthority AuthorityForViewport; + + /// + /// To be documented. + /// + public byte IsVisible; + + /// + /// To be documented. + /// + public byte IsFocused; + + /// + /// To be documented. + /// + public byte IsBgDrawnThisFrame; + + /// + /// To be documented. + /// + public byte HasCloseButton; + + /// + /// To be documented. + /// + public byte HasWindowMenuButton; + + /// + /// To be documented. + /// + public byte HasCentralNodeChild; + + /// + /// To be documented. + /// + public byte WantCloseAll; + + /// + /// To be documented. + /// + public byte WantLockSizeOnce; + + /// + /// To be documented. + /// + public byte WantMouseMove; + + /// + /// To be documented. + /// + public byte WantHiddenTabBarUpdate; + + /// + /// To be documented. + /// + public byte WantHiddenTabBarToggle; + + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode(uint id = default, ImGuiDockNodeFlags sharedFlags = default, ImGuiDockNodeFlags localFlags = default, ImGuiDockNodeFlags localFlagsInWindows = default, ImGuiDockNodeFlags mergedFlags = default, ImGuiDockNodeState state = default, ImGuiDockNode* parentNode = default, ImGuiDockNode** childNodes = default, ImVector windows = default, ImGuiTabBar* tabBar = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeRef = default, ImGuiAxis splitAxis = default, ImGuiWindowClass windowClass = default, uint lastBgColor = default, ImGuiWindowPtr hostWindow = default, ImGuiWindowPtr visibleWindow = default, ImGuiDockNode* centralNode = default, ImGuiDockNode* onlyNodeWithWindows = default, int countNodeWithWindows = default, int lastFrameAlive = default, int lastFrameActive = default, int lastFrameFocused = default, uint lastFocusedNodeId = default, uint selectedTabId = default, uint wantCloseTabId = default, ImGuiDataAuthority authorityForPos = default, ImGuiDataAuthority authorityForSize = default, ImGuiDataAuthority authorityForViewport = default, bool isVisible = default, bool isFocused = default, bool isBgDrawnThisFrame = default, bool hasCloseButton = default, bool hasWindowMenuButton = default, bool hasCentralNodeChild = default, bool wantCloseAll = default, bool wantLockSizeOnce = default, bool wantMouseMove = default, bool wantHiddenTabBarUpdate = default, bool wantHiddenTabBarToggle = default) + { + ID = id; + SharedFlags = sharedFlags; + LocalFlags = localFlags; + LocalFlagsInWindows = localFlagsInWindows; + MergedFlags = mergedFlags; + State = state; + ParentNode = parentNode; + if (childNodes != default(ImGuiDockNode**)) + { + ChildNodes_0 = childNodes[0]; + ChildNodes_1 = childNodes[1]; + } + Windows = windows; + TabBar = tabBar; + Pos = pos; + Size = size; + SizeRef = sizeRef; + SplitAxis = splitAxis; + WindowClass = windowClass; + LastBgColor = lastBgColor; + HostWindow = hostWindow; + VisibleWindow = visibleWindow; + CentralNode = centralNode; + OnlyNodeWithWindows = onlyNodeWithWindows; + CountNodeWithWindows = countNodeWithWindows; + LastFrameAlive = lastFrameAlive; + LastFrameActive = lastFrameActive; + LastFrameFocused = lastFrameFocused; + LastFocusedNodeId = lastFocusedNodeId; + SelectedTabId = selectedTabId; + WantCloseTabId = wantCloseTabId; + AuthorityForPos = authorityForPos; + AuthorityForSize = authorityForSize; + AuthorityForViewport = authorityForViewport; + IsVisible = isVisible ? (byte)1 : (byte)0; + IsFocused = isFocused ? (byte)1 : (byte)0; + IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0; + HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; + HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0; + HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0; + WantCloseAll = wantCloseAll ? (byte)1 : (byte)0; + WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0; + WantMouseMove = wantMouseMove ? (byte)1 : (byte)0; + WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0; + WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0; + } + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode(uint id = default, ImGuiDockNodeFlags sharedFlags = default, ImGuiDockNodeFlags localFlags = default, ImGuiDockNodeFlags localFlagsInWindows = default, ImGuiDockNodeFlags mergedFlags = default, ImGuiDockNodeState state = default, ImGuiDockNode* parentNode = default, Span> childNodes = default, ImVector windows = default, ImGuiTabBar* tabBar = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeRef = default, ImGuiAxis splitAxis = default, ImGuiWindowClass windowClass = default, uint lastBgColor = default, ImGuiWindowPtr hostWindow = default, ImGuiWindowPtr visibleWindow = default, ImGuiDockNode* centralNode = default, ImGuiDockNode* onlyNodeWithWindows = default, int countNodeWithWindows = default, int lastFrameAlive = default, int lastFrameActive = default, int lastFrameFocused = default, uint lastFocusedNodeId = default, uint selectedTabId = default, uint wantCloseTabId = default, ImGuiDataAuthority authorityForPos = default, ImGuiDataAuthority authorityForSize = default, ImGuiDataAuthority authorityForViewport = default, bool isVisible = default, bool isFocused = default, bool isBgDrawnThisFrame = default, bool hasCloseButton = default, bool hasWindowMenuButton = default, bool hasCentralNodeChild = default, bool wantCloseAll = default, bool wantLockSizeOnce = default, bool wantMouseMove = default, bool wantHiddenTabBarUpdate = default, bool wantHiddenTabBarToggle = default) + { + ID = id; + SharedFlags = sharedFlags; + LocalFlags = localFlags; + LocalFlagsInWindows = localFlagsInWindows; + MergedFlags = mergedFlags; + State = state; + ParentNode = parentNode; + if (childNodes != default(Span>)) + { + ChildNodes_0 = childNodes[0]; + ChildNodes_1 = childNodes[1]; + } + Windows = windows; + TabBar = tabBar; + Pos = pos; + Size = size; + SizeRef = sizeRef; + SplitAxis = splitAxis; + WindowClass = windowClass; + LastBgColor = lastBgColor; + HostWindow = hostWindow; + VisibleWindow = visibleWindow; + CentralNode = centralNode; + OnlyNodeWithWindows = onlyNodeWithWindows; + CountNodeWithWindows = countNodeWithWindows; + LastFrameAlive = lastFrameAlive; + LastFrameActive = lastFrameActive; + LastFrameFocused = lastFrameFocused; + LastFocusedNodeId = lastFocusedNodeId; + SelectedTabId = selectedTabId; + WantCloseTabId = wantCloseTabId; + AuthorityForPos = authorityForPos; + AuthorityForSize = authorityForSize; + AuthorityForViewport = authorityForViewport; + IsVisible = isVisible ? (byte)1 : (byte)0; + IsFocused = isFocused ? (byte)1 : (byte)0; + IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0; + HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; + HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0; + HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0; + WantCloseAll = wantCloseAll ? (byte)1 : (byte)0; + WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0; + WantMouseMove = wantMouseMove ? (byte)1 : (byte)0; + WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0; + WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe Span> ChildNodes + + { + get + { + fixed (ImGuiDockNode** p = &this.ChildNodes_0) + { + return new Span>(p, 2); + } + } + } + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiDockNodePtr : IEquatable + { + public ImGuiDockNodePtr(ImGuiDockNode* handle) { Handle = handle; } + + public ImGuiDockNode* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiDockNodePtr Null => new ImGuiDockNodePtr(null); + + public ImGuiDockNode this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiDockNodePtr(ImGuiDockNode* handle) => new ImGuiDockNodePtr(handle); + + public static implicit operator ImGuiDockNode*(ImGuiDockNodePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiDockNodePtr left, ImGuiDockNodePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiDockNodePtr left, ImGuiDockNodePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiDockNodePtr left, ImGuiDockNode* right) => left.Handle == right; + + public static bool operator !=(ImGuiDockNodePtr left, ImGuiDockNode* right) => left.Handle != right; + + public bool Equals(ImGuiDockNodePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiDockNodePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiDockNodePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiDockNodeFlags SharedFlags => ref Unsafe.AsRef(&Handle->SharedFlags); + /// + /// To be documented. + /// + public ref ImGuiDockNodeFlags LocalFlags => ref Unsafe.AsRef(&Handle->LocalFlags); + /// + /// To be documented. + /// + public ref ImGuiDockNodeFlags LocalFlagsInWindows => ref Unsafe.AsRef(&Handle->LocalFlagsInWindows); + /// + /// To be documented. + /// + public ref ImGuiDockNodeFlags MergedFlags => ref Unsafe.AsRef(&Handle->MergedFlags); + /// + /// To be documented. + /// + public ref ImGuiDockNodeState State => ref Unsafe.AsRef(&Handle->State); + /// + /// To be documented. + /// + public ref ImGuiDockNodePtr ParentNode => ref Unsafe.AsRef(&Handle->ParentNode); + /// + /// To be documented. + /// + /// + /// To be documented. + /// + public ref ImVector Windows => ref Unsafe.AsRef>(&Handle->Windows); + /// + /// To be documented. + /// + public ref ImGuiTabBarPtr TabBar => ref Unsafe.AsRef(&Handle->TabBar); + /// + /// To be documented. + /// + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + /// + /// To be documented. + /// + public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); + /// + /// To be documented. + /// + public ref Vector2 SizeRef => ref Unsafe.AsRef(&Handle->SizeRef); + /// + /// To be documented. + /// + public ref ImGuiAxis SplitAxis => ref Unsafe.AsRef(&Handle->SplitAxis); + /// + /// To be documented. + /// + public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); + /// + /// To be documented. + /// + public ref uint LastBgColor => ref Unsafe.AsRef(&Handle->LastBgColor); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr HostWindow => ref Unsafe.AsRef(&Handle->HostWindow); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr VisibleWindow => ref Unsafe.AsRef(&Handle->VisibleWindow); + /// + /// To be documented. + /// + public ref ImGuiDockNodePtr CentralNode => ref Unsafe.AsRef(&Handle->CentralNode); + /// + /// To be documented. + /// + public ref ImGuiDockNodePtr OnlyNodeWithWindows => ref Unsafe.AsRef(&Handle->OnlyNodeWithWindows); + /// + /// To be documented. + /// + public ref int CountNodeWithWindows => ref Unsafe.AsRef(&Handle->CountNodeWithWindows); + /// + /// To be documented. + /// + public ref int LastFrameAlive => ref Unsafe.AsRef(&Handle->LastFrameAlive); + /// + /// To be documented. + /// + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + /// + /// To be documented. + /// + public ref int LastFrameFocused => ref Unsafe.AsRef(&Handle->LastFrameFocused); + /// + /// To be documented. + /// + public ref uint LastFocusedNodeId => ref Unsafe.AsRef(&Handle->LastFocusedNodeId); + /// + /// To be documented. + /// + public ref uint SelectedTabId => ref Unsafe.AsRef(&Handle->SelectedTabId); + /// + /// To be documented. + /// + public ref uint WantCloseTabId => ref Unsafe.AsRef(&Handle->WantCloseTabId); + /// + /// To be documented. + /// + public ref ImGuiDataAuthority AuthorityForPos => ref Unsafe.AsRef(&Handle->AuthorityForPos); + /// + /// To be documented. + /// + public ref ImGuiDataAuthority AuthorityForSize => ref Unsafe.AsRef(&Handle->AuthorityForSize); + /// + /// To be documented. + /// + public ref ImGuiDataAuthority AuthorityForViewport => ref Unsafe.AsRef(&Handle->AuthorityForViewport); + /// + /// To be documented. + /// + public ref bool IsVisible => ref Unsafe.AsRef(&Handle->IsVisible); + /// + /// To be documented. + /// + public ref bool IsFocused => ref Unsafe.AsRef(&Handle->IsFocused); + /// + /// To be documented. + /// + public ref bool IsBgDrawnThisFrame => ref Unsafe.AsRef(&Handle->IsBgDrawnThisFrame); + /// + /// To be documented. + /// + public ref bool HasCloseButton => ref Unsafe.AsRef(&Handle->HasCloseButton); + /// + /// To be documented. + /// + public ref bool HasWindowMenuButton => ref Unsafe.AsRef(&Handle->HasWindowMenuButton); + /// + /// To be documented. + /// + public ref bool HasCentralNodeChild => ref Unsafe.AsRef(&Handle->HasCentralNodeChild); + /// + /// To be documented. + /// + public ref bool WantCloseAll => ref Unsafe.AsRef(&Handle->WantCloseAll); + /// + /// To be documented. + /// + public ref bool WantLockSizeOnce => ref Unsafe.AsRef(&Handle->WantLockSizeOnce); + /// + /// To be documented. + /// + public ref bool WantMouseMove => ref Unsafe.AsRef(&Handle->WantMouseMove); + /// + /// To be documented. + /// + public ref bool WantHiddenTabBarUpdate => ref Unsafe.AsRef(&Handle->WantHiddenTabBarUpdate); + /// + /// To be documented. + /// + public ref bool WantHiddenTabBarToggle => ref Unsafe.AsRef(&Handle->WantHiddenTabBarToggle); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockNodeSettings.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockNodeSettings.cs new file mode 100644 index 000000000..a608287a9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockNodeSettings.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockNodeSettings + { + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiDockNodeSettingsPtr : IEquatable + { + public ImGuiDockNodeSettingsPtr(ImGuiDockNodeSettings* handle) { Handle = handle; } + + public ImGuiDockNodeSettings* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiDockNodeSettingsPtr Null => new ImGuiDockNodeSettingsPtr(null); + + public ImGuiDockNodeSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiDockNodeSettingsPtr(ImGuiDockNodeSettings* handle) => new ImGuiDockNodeSettingsPtr(handle); + + public static implicit operator ImGuiDockNodeSettings*(ImGuiDockNodeSettingsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettingsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettingsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettings* right) => left.Handle == right; + + public static bool operator !=(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettings* right) => left.Handle != right; + + public bool Equals(ImGuiDockNodeSettingsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiDockNodeSettingsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiDockNodeSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockRequest.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockRequest.cs new file mode 100644 index 000000000..99f6fef29 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiDockRequest.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockRequest + { + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiDockRequestPtr : IEquatable + { + public ImGuiDockRequestPtr(ImGuiDockRequest* handle) { Handle = handle; } + + public ImGuiDockRequest* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiDockRequestPtr Null => new ImGuiDockRequestPtr(null); + + public ImGuiDockRequest this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiDockRequestPtr(ImGuiDockRequest* handle) => new ImGuiDockRequestPtr(handle); + + public static implicit operator ImGuiDockRequest*(ImGuiDockRequestPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiDockRequestPtr left, ImGuiDockRequestPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiDockRequestPtr left, ImGuiDockRequestPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiDockRequestPtr left, ImGuiDockRequest* right) => left.Handle == right; + + public static bool operator !=(ImGuiDockRequestPtr left, ImGuiDockRequest* right) => left.Handle != right; + + public bool Equals(ImGuiDockRequestPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiDockRequestPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiDockRequestPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiGroupData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiGroupData.cs new file mode 100644 index 000000000..aac673a3d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiGroupData.cs @@ -0,0 +1,189 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Stacked storage data for BeginGroup()EndGroup()
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiGroupData + { + /// + /// To be documented. + /// + public uint WindowID; + + /// + /// To be documented. + /// + public Vector2 BackupCursorPos; + + /// + /// To be documented. + /// + public Vector2 BackupCursorMaxPos; + + /// + /// To be documented. + /// + public ImVec1 BackupIndent; + + /// + /// To be documented. + /// + public ImVec1 BackupGroupOffset; + + /// + /// To be documented. + /// + public Vector2 BackupCurrLineSize; + + /// + /// To be documented. + /// + public float BackupCurrLineTextBaseOffset; + + /// + /// To be documented. + /// + public uint BackupActiveIdIsAlive; + + /// + /// To be documented. + /// + public byte BackupActiveIdPreviousFrameIsAlive; + + /// + /// To be documented. + /// + public byte BackupHoveredIdIsAlive; + + /// + /// To be documented. + /// + public byte EmitItem; + + + /// + /// To be documented. + /// + public unsafe ImGuiGroupData(uint windowId = default, Vector2 backupCursorPos = default, Vector2 backupCursorMaxPos = default, ImVec1 backupIndent = default, ImVec1 backupGroupOffset = default, Vector2 backupCurrLineSize = default, float backupCurrLineTextBaseOffset = default, uint backupActiveIdIsAlive = default, bool backupActiveIdPreviousFrameIsAlive = default, bool backupHoveredIdIsAlive = default, bool emitItem = default) + { + WindowID = windowId; + BackupCursorPos = backupCursorPos; + BackupCursorMaxPos = backupCursorMaxPos; + BackupIndent = backupIndent; + BackupGroupOffset = backupGroupOffset; + BackupCurrLineSize = backupCurrLineSize; + BackupCurrLineTextBaseOffset = backupCurrLineTextBaseOffset; + BackupActiveIdIsAlive = backupActiveIdIsAlive; + BackupActiveIdPreviousFrameIsAlive = backupActiveIdPreviousFrameIsAlive ? (byte)1 : (byte)0; + BackupHoveredIdIsAlive = backupHoveredIdIsAlive ? (byte)1 : (byte)0; + EmitItem = emitItem ? (byte)1 : (byte)0; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiGroupDataPtr : IEquatable + { + public ImGuiGroupDataPtr(ImGuiGroupData* handle) { Handle = handle; } + + public ImGuiGroupData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiGroupDataPtr Null => new ImGuiGroupDataPtr(null); + + public ImGuiGroupData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiGroupDataPtr(ImGuiGroupData* handle) => new ImGuiGroupDataPtr(handle); + + public static implicit operator ImGuiGroupData*(ImGuiGroupDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiGroupDataPtr left, ImGuiGroupDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiGroupDataPtr left, ImGuiGroupDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiGroupDataPtr left, ImGuiGroupData* right) => left.Handle == right; + + public static bool operator !=(ImGuiGroupDataPtr left, ImGuiGroupData* right) => left.Handle != right; + + public bool Equals(ImGuiGroupDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiGroupDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiGroupDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint WindowID => ref Unsafe.AsRef(&Handle->WindowID); + /// + /// To be documented. + /// + public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); + /// + /// To be documented. + /// + public ref Vector2 BackupCursorMaxPos => ref Unsafe.AsRef(&Handle->BackupCursorMaxPos); + /// + /// To be documented. + /// + public ref ImVec1 BackupIndent => ref Unsafe.AsRef(&Handle->BackupIndent); + /// + /// To be documented. + /// + public ref ImVec1 BackupGroupOffset => ref Unsafe.AsRef(&Handle->BackupGroupOffset); + /// + /// To be documented. + /// + public ref Vector2 BackupCurrLineSize => ref Unsafe.AsRef(&Handle->BackupCurrLineSize); + /// + /// To be documented. + /// + public ref float BackupCurrLineTextBaseOffset => ref Unsafe.AsRef(&Handle->BackupCurrLineTextBaseOffset); + /// + /// To be documented. + /// + public ref uint BackupActiveIdIsAlive => ref Unsafe.AsRef(&Handle->BackupActiveIdIsAlive); + /// + /// To be documented. + /// + public ref bool BackupActiveIdPreviousFrameIsAlive => ref Unsafe.AsRef(&Handle->BackupActiveIdPreviousFrameIsAlive); + /// + /// To be documented. + /// + public ref bool BackupHoveredIdIsAlive => ref Unsafe.AsRef(&Handle->BackupHoveredIdIsAlive); + /// + /// To be documented. + /// + public ref bool EmitItem => ref Unsafe.AsRef(&Handle->EmitItem); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiIO.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiIO.cs new file mode 100644 index 000000000..8b7e1e5e3 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiIO.cs @@ -0,0 +1,8003 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiIO + { + /// + /// To be documented. + /// + public ImGuiConfigFlags ConfigFlags; + + /// + /// To be documented. + /// + public ImGuiBackendFlags BackendFlags; + + /// + /// To be documented. + /// + public Vector2 DisplaySize; + + /// + /// To be documented. + /// + public float DeltaTime; + + /// + /// To be documented. + /// + public float IniSavingRate; + + /// + /// To be documented. + /// + public unsafe byte* IniFilename; + + /// + /// To be documented. + /// + public unsafe byte* LogFilename; + + /// + /// To be documented. + /// + public float MouseDoubleClickTime; + + /// + /// To be documented. + /// + public float MouseDoubleClickMaxDist; + + /// + /// To be documented. + /// + public float MouseDragThreshold; + + /// + /// To be documented. + /// + public float KeyRepeatDelay; + + /// + /// To be documented. + /// + public float KeyRepeatRate; + + /// + /// To be documented. + /// + public unsafe void* UserData; + + /// + /// To be documented. + /// + public unsafe ImFontAtlas* Fonts; + + /// + /// To be documented. + /// + public float FontGlobalScale; + + /// + /// To be documented. + /// + public byte FontAllowUserScaling; + + /// + /// To be documented. + /// + public unsafe ImFont* FontDefault; + + /// + /// To be documented. + /// + public Vector2 DisplayFramebufferScale; + + /// + /// To be documented. + /// + public byte ConfigDockingNoSplit; + + /// + /// To be documented. + /// + public byte ConfigDockingWithShift; + + /// + /// To be documented. + /// + public byte ConfigDockingAlwaysTabBar; + + /// + /// To be documented. + /// + public byte ConfigDockingTransparentPayload; + + /// + /// To be documented. + /// + public byte ConfigViewportsNoAutoMerge; + + /// + /// To be documented. + /// + public byte ConfigViewportsNoTaskBarIcon; + + /// + /// To be documented. + /// + public byte ConfigViewportsNoDecoration; + + /// + /// To be documented. + /// + public byte ConfigViewportsNoDefaultParent; + + /// + /// To be documented. + /// + public byte MouseDrawCursor; + + /// + /// To be documented. + /// + public byte ConfigMacOSXBehaviors; + + /// + /// To be documented. + /// + public byte ConfigInputTrickleEventQueue; + + /// + /// To be documented. + /// + public byte ConfigInputTextCursorBlink; + + /// + /// To be documented. + /// + public byte ConfigDragClickToInputText; + + /// + /// To be documented. + /// + public byte ConfigWindowsResizeFromEdges; + + /// + /// To be documented. + /// + public byte ConfigWindowsMoveFromTitleBarOnly; + + /// + /// To be documented. + /// + public float ConfigMemoryCompactTimer; + + /// + /// To be documented. + /// + public unsafe byte* BackendPlatformName; + + /// + /// To be documented. + /// + public unsafe byte* BackendRendererName; + + /// + /// To be documented. + /// + public unsafe void* BackendPlatformUserData; + + /// + /// To be documented. + /// + public unsafe void* BackendRendererUserData; + + /// + /// To be documented. + /// + public unsafe void* BackendLanguageUserData; + + /// + /// To be documented. + /// + public unsafe void* GetClipboardTextFn; + + /// + /// To be documented. + /// + public unsafe void* SetClipboardTextFn; + + /// + /// To be documented. + /// + public unsafe void* ClipboardUserData; + + /// + /// To be documented. + /// + public unsafe void* SetPlatformImeDataFn; + + /// + /// To be documented. + /// + public unsafe void* UnusedPadding; + + /// + /// To be documented. + /// + public byte WantCaptureMouse; + + /// + /// To be documented. + /// + public byte WantCaptureKeyboard; + + /// + /// To be documented. + /// + public byte WantTextInput; + + /// + /// To be documented. + /// + public byte WantSetMousePos; + + /// + /// To be documented. + /// + public byte WantSaveIniSettings; + + /// + /// To be documented. + /// + public byte NavActive; + + /// + /// To be documented. + /// + public byte NavVisible; + + /// + /// To be documented. + /// + public float Framerate; + + /// + /// To be documented. + /// + public int MetricsRenderVertices; + + /// + /// To be documented. + /// + public int MetricsRenderIndices; + + /// + /// To be documented. + /// + public int MetricsRenderWindows; + + /// + /// To be documented. + /// + public int MetricsActiveWindows; + + /// + /// To be documented. + /// + public int MetricsActiveAllocations; + + /// + /// To be documented. + /// + public Vector2 MouseDelta; + + /// + /// To be documented. + /// + public int KeyMap_0; + public int KeyMap_1; + public int KeyMap_2; + public int KeyMap_3; + public int KeyMap_4; + public int KeyMap_5; + public int KeyMap_6; + public int KeyMap_7; + public int KeyMap_8; + public int KeyMap_9; + public int KeyMap_10; + public int KeyMap_11; + public int KeyMap_12; + public int KeyMap_13; + public int KeyMap_14; + public int KeyMap_15; + public int KeyMap_16; + public int KeyMap_17; + public int KeyMap_18; + public int KeyMap_19; + public int KeyMap_20; + public int KeyMap_21; + public int KeyMap_22; + public int KeyMap_23; + public int KeyMap_24; + public int KeyMap_25; + public int KeyMap_26; + public int KeyMap_27; + public int KeyMap_28; + public int KeyMap_29; + public int KeyMap_30; + public int KeyMap_31; + public int KeyMap_32; + public int KeyMap_33; + public int KeyMap_34; + public int KeyMap_35; + public int KeyMap_36; + public int KeyMap_37; + public int KeyMap_38; + public int KeyMap_39; + public int KeyMap_40; + public int KeyMap_41; + public int KeyMap_42; + public int KeyMap_43; + public int KeyMap_44; + public int KeyMap_45; + public int KeyMap_46; + public int KeyMap_47; + public int KeyMap_48; + public int KeyMap_49; + public int KeyMap_50; + public int KeyMap_51; + public int KeyMap_52; + public int KeyMap_53; + public int KeyMap_54; + public int KeyMap_55; + public int KeyMap_56; + public int KeyMap_57; + public int KeyMap_58; + public int KeyMap_59; + public int KeyMap_60; + public int KeyMap_61; + public int KeyMap_62; + public int KeyMap_63; + public int KeyMap_64; + public int KeyMap_65; + public int KeyMap_66; + public int KeyMap_67; + public int KeyMap_68; + public int KeyMap_69; + public int KeyMap_70; + public int KeyMap_71; + public int KeyMap_72; + public int KeyMap_73; + public int KeyMap_74; + public int KeyMap_75; + public int KeyMap_76; + public int KeyMap_77; + public int KeyMap_78; + public int KeyMap_79; + public int KeyMap_80; + public int KeyMap_81; + public int KeyMap_82; + public int KeyMap_83; + public int KeyMap_84; + public int KeyMap_85; + public int KeyMap_86; + public int KeyMap_87; + public int KeyMap_88; + public int KeyMap_89; + public int KeyMap_90; + public int KeyMap_91; + public int KeyMap_92; + public int KeyMap_93; + public int KeyMap_94; + public int KeyMap_95; + public int KeyMap_96; + public int KeyMap_97; + public int KeyMap_98; + public int KeyMap_99; + public int KeyMap_100; + public int KeyMap_101; + public int KeyMap_102; + public int KeyMap_103; + public int KeyMap_104; + public int KeyMap_105; + public int KeyMap_106; + public int KeyMap_107; + public int KeyMap_108; + public int KeyMap_109; + public int KeyMap_110; + public int KeyMap_111; + public int KeyMap_112; + public int KeyMap_113; + public int KeyMap_114; + public int KeyMap_115; + public int KeyMap_116; + public int KeyMap_117; + public int KeyMap_118; + public int KeyMap_119; + public int KeyMap_120; + public int KeyMap_121; + public int KeyMap_122; + public int KeyMap_123; + public int KeyMap_124; + public int KeyMap_125; + public int KeyMap_126; + public int KeyMap_127; + public int KeyMap_128; + public int KeyMap_129; + public int KeyMap_130; + public int KeyMap_131; + public int KeyMap_132; + public int KeyMap_133; + public int KeyMap_134; + public int KeyMap_135; + public int KeyMap_136; + public int KeyMap_137; + public int KeyMap_138; + public int KeyMap_139; + public int KeyMap_140; + public int KeyMap_141; + public int KeyMap_142; + public int KeyMap_143; + public int KeyMap_144; + public int KeyMap_145; + public int KeyMap_146; + public int KeyMap_147; + public int KeyMap_148; + public int KeyMap_149; + public int KeyMap_150; + public int KeyMap_151; + public int KeyMap_152; + public int KeyMap_153; + public int KeyMap_154; + public int KeyMap_155; + public int KeyMap_156; + public int KeyMap_157; + public int KeyMap_158; + public int KeyMap_159; + public int KeyMap_160; + public int KeyMap_161; + public int KeyMap_162; + public int KeyMap_163; + public int KeyMap_164; + public int KeyMap_165; + public int KeyMap_166; + public int KeyMap_167; + public int KeyMap_168; + public int KeyMap_169; + public int KeyMap_170; + public int KeyMap_171; + public int KeyMap_172; + public int KeyMap_173; + public int KeyMap_174; + public int KeyMap_175; + public int KeyMap_176; + public int KeyMap_177; + public int KeyMap_178; + public int KeyMap_179; + public int KeyMap_180; + public int KeyMap_181; + public int KeyMap_182; + public int KeyMap_183; + public int KeyMap_184; + public int KeyMap_185; + public int KeyMap_186; + public int KeyMap_187; + public int KeyMap_188; + public int KeyMap_189; + public int KeyMap_190; + public int KeyMap_191; + public int KeyMap_192; + public int KeyMap_193; + public int KeyMap_194; + public int KeyMap_195; + public int KeyMap_196; + public int KeyMap_197; + public int KeyMap_198; + public int KeyMap_199; + public int KeyMap_200; + public int KeyMap_201; + public int KeyMap_202; + public int KeyMap_203; + public int KeyMap_204; + public int KeyMap_205; + public int KeyMap_206; + public int KeyMap_207; + public int KeyMap_208; + public int KeyMap_209; + public int KeyMap_210; + public int KeyMap_211; + public int KeyMap_212; + public int KeyMap_213; + public int KeyMap_214; + public int KeyMap_215; + public int KeyMap_216; + public int KeyMap_217; + public int KeyMap_218; + public int KeyMap_219; + public int KeyMap_220; + public int KeyMap_221; + public int KeyMap_222; + public int KeyMap_223; + public int KeyMap_224; + public int KeyMap_225; + public int KeyMap_226; + public int KeyMap_227; + public int KeyMap_228; + public int KeyMap_229; + public int KeyMap_230; + public int KeyMap_231; + public int KeyMap_232; + public int KeyMap_233; + public int KeyMap_234; + public int KeyMap_235; + public int KeyMap_236; + public int KeyMap_237; + public int KeyMap_238; + public int KeyMap_239; + public int KeyMap_240; + public int KeyMap_241; + public int KeyMap_242; + public int KeyMap_243; + public int KeyMap_244; + public int KeyMap_245; + public int KeyMap_246; + public int KeyMap_247; + public int KeyMap_248; + public int KeyMap_249; + public int KeyMap_250; + public int KeyMap_251; + public int KeyMap_252; + public int KeyMap_253; + public int KeyMap_254; + public int KeyMap_255; + public int KeyMap_256; + public int KeyMap_257; + public int KeyMap_258; + public int KeyMap_259; + public int KeyMap_260; + public int KeyMap_261; + public int KeyMap_262; + public int KeyMap_263; + public int KeyMap_264; + public int KeyMap_265; + public int KeyMap_266; + public int KeyMap_267; + public int KeyMap_268; + public int KeyMap_269; + public int KeyMap_270; + public int KeyMap_271; + public int KeyMap_272; + public int KeyMap_273; + public int KeyMap_274; + public int KeyMap_275; + public int KeyMap_276; + public int KeyMap_277; + public int KeyMap_278; + public int KeyMap_279; + public int KeyMap_280; + public int KeyMap_281; + public int KeyMap_282; + public int KeyMap_283; + public int KeyMap_284; + public int KeyMap_285; + public int KeyMap_286; + public int KeyMap_287; + public int KeyMap_288; + public int KeyMap_289; + public int KeyMap_290; + public int KeyMap_291; + public int KeyMap_292; + public int KeyMap_293; + public int KeyMap_294; + public int KeyMap_295; + public int KeyMap_296; + public int KeyMap_297; + public int KeyMap_298; + public int KeyMap_299; + public int KeyMap_300; + public int KeyMap_301; + public int KeyMap_302; + public int KeyMap_303; + public int KeyMap_304; + public int KeyMap_305; + public int KeyMap_306; + public int KeyMap_307; + public int KeyMap_308; + public int KeyMap_309; + public int KeyMap_310; + public int KeyMap_311; + public int KeyMap_312; + public int KeyMap_313; + public int KeyMap_314; + public int KeyMap_315; + public int KeyMap_316; + public int KeyMap_317; + public int KeyMap_318; + public int KeyMap_319; + public int KeyMap_320; + public int KeyMap_321; + public int KeyMap_322; + public int KeyMap_323; + public int KeyMap_324; + public int KeyMap_325; + public int KeyMap_326; + public int KeyMap_327; + public int KeyMap_328; + public int KeyMap_329; + public int KeyMap_330; + public int KeyMap_331; + public int KeyMap_332; + public int KeyMap_333; + public int KeyMap_334; + public int KeyMap_335; + public int KeyMap_336; + public int KeyMap_337; + public int KeyMap_338; + public int KeyMap_339; + public int KeyMap_340; + public int KeyMap_341; + public int KeyMap_342; + public int KeyMap_343; + public int KeyMap_344; + public int KeyMap_345; + public int KeyMap_346; + public int KeyMap_347; + public int KeyMap_348; + public int KeyMap_349; + public int KeyMap_350; + public int KeyMap_351; + public int KeyMap_352; + public int KeyMap_353; + public int KeyMap_354; + public int KeyMap_355; + public int KeyMap_356; + public int KeyMap_357; + public int KeyMap_358; + public int KeyMap_359; + public int KeyMap_360; + public int KeyMap_361; + public int KeyMap_362; + public int KeyMap_363; + public int KeyMap_364; + public int KeyMap_365; + public int KeyMap_366; + public int KeyMap_367; + public int KeyMap_368; + public int KeyMap_369; + public int KeyMap_370; + public int KeyMap_371; + public int KeyMap_372; + public int KeyMap_373; + public int KeyMap_374; + public int KeyMap_375; + public int KeyMap_376; + public int KeyMap_377; + public int KeyMap_378; + public int KeyMap_379; + public int KeyMap_380; + public int KeyMap_381; + public int KeyMap_382; + public int KeyMap_383; + public int KeyMap_384; + public int KeyMap_385; + public int KeyMap_386; + public int KeyMap_387; + public int KeyMap_388; + public int KeyMap_389; + public int KeyMap_390; + public int KeyMap_391; + public int KeyMap_392; + public int KeyMap_393; + public int KeyMap_394; + public int KeyMap_395; + public int KeyMap_396; + public int KeyMap_397; + public int KeyMap_398; + public int KeyMap_399; + public int KeyMap_400; + public int KeyMap_401; + public int KeyMap_402; + public int KeyMap_403; + public int KeyMap_404; + public int KeyMap_405; + public int KeyMap_406; + public int KeyMap_407; + public int KeyMap_408; + public int KeyMap_409; + public int KeyMap_410; + public int KeyMap_411; + public int KeyMap_412; + public int KeyMap_413; + public int KeyMap_414; + public int KeyMap_415; + public int KeyMap_416; + public int KeyMap_417; + public int KeyMap_418; + public int KeyMap_419; + public int KeyMap_420; + public int KeyMap_421; + public int KeyMap_422; + public int KeyMap_423; + public int KeyMap_424; + public int KeyMap_425; + public int KeyMap_426; + public int KeyMap_427; + public int KeyMap_428; + public int KeyMap_429; + public int KeyMap_430; + public int KeyMap_431; + public int KeyMap_432; + public int KeyMap_433; + public int KeyMap_434; + public int KeyMap_435; + public int KeyMap_436; + public int KeyMap_437; + public int KeyMap_438; + public int KeyMap_439; + public int KeyMap_440; + public int KeyMap_441; + public int KeyMap_442; + public int KeyMap_443; + public int KeyMap_444; + public int KeyMap_445; + public int KeyMap_446; + public int KeyMap_447; + public int KeyMap_448; + public int KeyMap_449; + public int KeyMap_450; + public int KeyMap_451; + public int KeyMap_452; + public int KeyMap_453; + public int KeyMap_454; + public int KeyMap_455; + public int KeyMap_456; + public int KeyMap_457; + public int KeyMap_458; + public int KeyMap_459; + public int KeyMap_460; + public int KeyMap_461; + public int KeyMap_462; + public int KeyMap_463; + public int KeyMap_464; + public int KeyMap_465; + public int KeyMap_466; + public int KeyMap_467; + public int KeyMap_468; + public int KeyMap_469; + public int KeyMap_470; + public int KeyMap_471; + public int KeyMap_472; + public int KeyMap_473; + public int KeyMap_474; + public int KeyMap_475; + public int KeyMap_476; + public int KeyMap_477; + public int KeyMap_478; + public int KeyMap_479; + public int KeyMap_480; + public int KeyMap_481; + public int KeyMap_482; + public int KeyMap_483; + public int KeyMap_484; + public int KeyMap_485; + public int KeyMap_486; + public int KeyMap_487; + public int KeyMap_488; + public int KeyMap_489; + public int KeyMap_490; + public int KeyMap_491; + public int KeyMap_492; + public int KeyMap_493; + public int KeyMap_494; + public int KeyMap_495; + public int KeyMap_496; + public int KeyMap_497; + public int KeyMap_498; + public int KeyMap_499; + public int KeyMap_500; + public int KeyMap_501; + public int KeyMap_502; + public int KeyMap_503; + public int KeyMap_504; + public int KeyMap_505; + public int KeyMap_506; + public int KeyMap_507; + public int KeyMap_508; + public int KeyMap_509; + public int KeyMap_510; + public int KeyMap_511; + public int KeyMap_512; + public int KeyMap_513; + public int KeyMap_514; + public int KeyMap_515; + public int KeyMap_516; + public int KeyMap_517; + public int KeyMap_518; + public int KeyMap_519; + public int KeyMap_520; + public int KeyMap_521; + public int KeyMap_522; + public int KeyMap_523; + public int KeyMap_524; + public int KeyMap_525; + public int KeyMap_526; + public int KeyMap_527; + public int KeyMap_528; + public int KeyMap_529; + public int KeyMap_530; + public int KeyMap_531; + public int KeyMap_532; + public int KeyMap_533; + public int KeyMap_534; + public int KeyMap_535; + public int KeyMap_536; + public int KeyMap_537; + public int KeyMap_538; + public int KeyMap_539; + public int KeyMap_540; + public int KeyMap_541; + public int KeyMap_542; + public int KeyMap_543; + public int KeyMap_544; + public int KeyMap_545; + public int KeyMap_546; + public int KeyMap_547; + public int KeyMap_548; + public int KeyMap_549; + public int KeyMap_550; + public int KeyMap_551; + public int KeyMap_552; + public int KeyMap_553; + public int KeyMap_554; + public int KeyMap_555; + public int KeyMap_556; + public int KeyMap_557; + public int KeyMap_558; + public int KeyMap_559; + public int KeyMap_560; + public int KeyMap_561; + public int KeyMap_562; + public int KeyMap_563; + public int KeyMap_564; + public int KeyMap_565; + public int KeyMap_566; + public int KeyMap_567; + public int KeyMap_568; + public int KeyMap_569; + public int KeyMap_570; + public int KeyMap_571; + public int KeyMap_572; + public int KeyMap_573; + public int KeyMap_574; + public int KeyMap_575; + public int KeyMap_576; + public int KeyMap_577; + public int KeyMap_578; + public int KeyMap_579; + public int KeyMap_580; + public int KeyMap_581; + public int KeyMap_582; + public int KeyMap_583; + public int KeyMap_584; + public int KeyMap_585; + public int KeyMap_586; + public int KeyMap_587; + public int KeyMap_588; + public int KeyMap_589; + public int KeyMap_590; + public int KeyMap_591; + public int KeyMap_592; + public int KeyMap_593; + public int KeyMap_594; + public int KeyMap_595; + public int KeyMap_596; + public int KeyMap_597; + public int KeyMap_598; + public int KeyMap_599; + public int KeyMap_600; + public int KeyMap_601; + public int KeyMap_602; + public int KeyMap_603; + public int KeyMap_604; + public int KeyMap_605; + public int KeyMap_606; + public int KeyMap_607; + public int KeyMap_608; + public int KeyMap_609; + public int KeyMap_610; + public int KeyMap_611; + public int KeyMap_612; + public int KeyMap_613; + public int KeyMap_614; + public int KeyMap_615; + public int KeyMap_616; + public int KeyMap_617; + public int KeyMap_618; + public int KeyMap_619; + public int KeyMap_620; + public int KeyMap_621; + public int KeyMap_622; + public int KeyMap_623; + public int KeyMap_624; + public int KeyMap_625; + public int KeyMap_626; + public int KeyMap_627; + public int KeyMap_628; + public int KeyMap_629; + public int KeyMap_630; + public int KeyMap_631; + public int KeyMap_632; + public int KeyMap_633; + public int KeyMap_634; + public int KeyMap_635; + public int KeyMap_636; + public int KeyMap_637; + public int KeyMap_638; + public int KeyMap_639; + public int KeyMap_640; + public int KeyMap_641; + public int KeyMap_642; + public int KeyMap_643; + public int KeyMap_644; + + /// + /// To be documented. + /// + public byte KeysDown_0; + public byte KeysDown_1; + public byte KeysDown_2; + public byte KeysDown_3; + public byte KeysDown_4; + public byte KeysDown_5; + public byte KeysDown_6; + public byte KeysDown_7; + public byte KeysDown_8; + public byte KeysDown_9; + public byte KeysDown_10; + public byte KeysDown_11; + public byte KeysDown_12; + public byte KeysDown_13; + public byte KeysDown_14; + public byte KeysDown_15; + public byte KeysDown_16; + public byte KeysDown_17; + public byte KeysDown_18; + public byte KeysDown_19; + public byte KeysDown_20; + public byte KeysDown_21; + public byte KeysDown_22; + public byte KeysDown_23; + public byte KeysDown_24; + public byte KeysDown_25; + public byte KeysDown_26; + public byte KeysDown_27; + public byte KeysDown_28; + public byte KeysDown_29; + public byte KeysDown_30; + public byte KeysDown_31; + public byte KeysDown_32; + public byte KeysDown_33; + public byte KeysDown_34; + public byte KeysDown_35; + public byte KeysDown_36; + public byte KeysDown_37; + public byte KeysDown_38; + public byte KeysDown_39; + public byte KeysDown_40; + public byte KeysDown_41; + public byte KeysDown_42; + public byte KeysDown_43; + public byte KeysDown_44; + public byte KeysDown_45; + public byte KeysDown_46; + public byte KeysDown_47; + public byte KeysDown_48; + public byte KeysDown_49; + public byte KeysDown_50; + public byte KeysDown_51; + public byte KeysDown_52; + public byte KeysDown_53; + public byte KeysDown_54; + public byte KeysDown_55; + public byte KeysDown_56; + public byte KeysDown_57; + public byte KeysDown_58; + public byte KeysDown_59; + public byte KeysDown_60; + public byte KeysDown_61; + public byte KeysDown_62; + public byte KeysDown_63; + public byte KeysDown_64; + public byte KeysDown_65; + public byte KeysDown_66; + public byte KeysDown_67; + public byte KeysDown_68; + public byte KeysDown_69; + public byte KeysDown_70; + public byte KeysDown_71; + public byte KeysDown_72; + public byte KeysDown_73; + public byte KeysDown_74; + public byte KeysDown_75; + public byte KeysDown_76; + public byte KeysDown_77; + public byte KeysDown_78; + public byte KeysDown_79; + public byte KeysDown_80; + public byte KeysDown_81; + public byte KeysDown_82; + public byte KeysDown_83; + public byte KeysDown_84; + public byte KeysDown_85; + public byte KeysDown_86; + public byte KeysDown_87; + public byte KeysDown_88; + public byte KeysDown_89; + public byte KeysDown_90; + public byte KeysDown_91; + public byte KeysDown_92; + public byte KeysDown_93; + public byte KeysDown_94; + public byte KeysDown_95; + public byte KeysDown_96; + public byte KeysDown_97; + public byte KeysDown_98; + public byte KeysDown_99; + public byte KeysDown_100; + public byte KeysDown_101; + public byte KeysDown_102; + public byte KeysDown_103; + public byte KeysDown_104; + public byte KeysDown_105; + public byte KeysDown_106; + public byte KeysDown_107; + public byte KeysDown_108; + public byte KeysDown_109; + public byte KeysDown_110; + public byte KeysDown_111; + public byte KeysDown_112; + public byte KeysDown_113; + public byte KeysDown_114; + public byte KeysDown_115; + public byte KeysDown_116; + public byte KeysDown_117; + public byte KeysDown_118; + public byte KeysDown_119; + public byte KeysDown_120; + public byte KeysDown_121; + public byte KeysDown_122; + public byte KeysDown_123; + public byte KeysDown_124; + public byte KeysDown_125; + public byte KeysDown_126; + public byte KeysDown_127; + public byte KeysDown_128; + public byte KeysDown_129; + public byte KeysDown_130; + public byte KeysDown_131; + public byte KeysDown_132; + public byte KeysDown_133; + public byte KeysDown_134; + public byte KeysDown_135; + public byte KeysDown_136; + public byte KeysDown_137; + public byte KeysDown_138; + public byte KeysDown_139; + public byte KeysDown_140; + public byte KeysDown_141; + public byte KeysDown_142; + public byte KeysDown_143; + public byte KeysDown_144; + public byte KeysDown_145; + public byte KeysDown_146; + public byte KeysDown_147; + public byte KeysDown_148; + public byte KeysDown_149; + public byte KeysDown_150; + public byte KeysDown_151; + public byte KeysDown_152; + public byte KeysDown_153; + public byte KeysDown_154; + public byte KeysDown_155; + public byte KeysDown_156; + public byte KeysDown_157; + public byte KeysDown_158; + public byte KeysDown_159; + public byte KeysDown_160; + public byte KeysDown_161; + public byte KeysDown_162; + public byte KeysDown_163; + public byte KeysDown_164; + public byte KeysDown_165; + public byte KeysDown_166; + public byte KeysDown_167; + public byte KeysDown_168; + public byte KeysDown_169; + public byte KeysDown_170; + public byte KeysDown_171; + public byte KeysDown_172; + public byte KeysDown_173; + public byte KeysDown_174; + public byte KeysDown_175; + public byte KeysDown_176; + public byte KeysDown_177; + public byte KeysDown_178; + public byte KeysDown_179; + public byte KeysDown_180; + public byte KeysDown_181; + public byte KeysDown_182; + public byte KeysDown_183; + public byte KeysDown_184; + public byte KeysDown_185; + public byte KeysDown_186; + public byte KeysDown_187; + public byte KeysDown_188; + public byte KeysDown_189; + public byte KeysDown_190; + public byte KeysDown_191; + public byte KeysDown_192; + public byte KeysDown_193; + public byte KeysDown_194; + public byte KeysDown_195; + public byte KeysDown_196; + public byte KeysDown_197; + public byte KeysDown_198; + public byte KeysDown_199; + public byte KeysDown_200; + public byte KeysDown_201; + public byte KeysDown_202; + public byte KeysDown_203; + public byte KeysDown_204; + public byte KeysDown_205; + public byte KeysDown_206; + public byte KeysDown_207; + public byte KeysDown_208; + public byte KeysDown_209; + public byte KeysDown_210; + public byte KeysDown_211; + public byte KeysDown_212; + public byte KeysDown_213; + public byte KeysDown_214; + public byte KeysDown_215; + public byte KeysDown_216; + public byte KeysDown_217; + public byte KeysDown_218; + public byte KeysDown_219; + public byte KeysDown_220; + public byte KeysDown_221; + public byte KeysDown_222; + public byte KeysDown_223; + public byte KeysDown_224; + public byte KeysDown_225; + public byte KeysDown_226; + public byte KeysDown_227; + public byte KeysDown_228; + public byte KeysDown_229; + public byte KeysDown_230; + public byte KeysDown_231; + public byte KeysDown_232; + public byte KeysDown_233; + public byte KeysDown_234; + public byte KeysDown_235; + public byte KeysDown_236; + public byte KeysDown_237; + public byte KeysDown_238; + public byte KeysDown_239; + public byte KeysDown_240; + public byte KeysDown_241; + public byte KeysDown_242; + public byte KeysDown_243; + public byte KeysDown_244; + public byte KeysDown_245; + public byte KeysDown_246; + public byte KeysDown_247; + public byte KeysDown_248; + public byte KeysDown_249; + public byte KeysDown_250; + public byte KeysDown_251; + public byte KeysDown_252; + public byte KeysDown_253; + public byte KeysDown_254; + public byte KeysDown_255; + public byte KeysDown_256; + public byte KeysDown_257; + public byte KeysDown_258; + public byte KeysDown_259; + public byte KeysDown_260; + public byte KeysDown_261; + public byte KeysDown_262; + public byte KeysDown_263; + public byte KeysDown_264; + public byte KeysDown_265; + public byte KeysDown_266; + public byte KeysDown_267; + public byte KeysDown_268; + public byte KeysDown_269; + public byte KeysDown_270; + public byte KeysDown_271; + public byte KeysDown_272; + public byte KeysDown_273; + public byte KeysDown_274; + public byte KeysDown_275; + public byte KeysDown_276; + public byte KeysDown_277; + public byte KeysDown_278; + public byte KeysDown_279; + public byte KeysDown_280; + public byte KeysDown_281; + public byte KeysDown_282; + public byte KeysDown_283; + public byte KeysDown_284; + public byte KeysDown_285; + public byte KeysDown_286; + public byte KeysDown_287; + public byte KeysDown_288; + public byte KeysDown_289; + public byte KeysDown_290; + public byte KeysDown_291; + public byte KeysDown_292; + public byte KeysDown_293; + public byte KeysDown_294; + public byte KeysDown_295; + public byte KeysDown_296; + public byte KeysDown_297; + public byte KeysDown_298; + public byte KeysDown_299; + public byte KeysDown_300; + public byte KeysDown_301; + public byte KeysDown_302; + public byte KeysDown_303; + public byte KeysDown_304; + public byte KeysDown_305; + public byte KeysDown_306; + public byte KeysDown_307; + public byte KeysDown_308; + public byte KeysDown_309; + public byte KeysDown_310; + public byte KeysDown_311; + public byte KeysDown_312; + public byte KeysDown_313; + public byte KeysDown_314; + public byte KeysDown_315; + public byte KeysDown_316; + public byte KeysDown_317; + public byte KeysDown_318; + public byte KeysDown_319; + public byte KeysDown_320; + public byte KeysDown_321; + public byte KeysDown_322; + public byte KeysDown_323; + public byte KeysDown_324; + public byte KeysDown_325; + public byte KeysDown_326; + public byte KeysDown_327; + public byte KeysDown_328; + public byte KeysDown_329; + public byte KeysDown_330; + public byte KeysDown_331; + public byte KeysDown_332; + public byte KeysDown_333; + public byte KeysDown_334; + public byte KeysDown_335; + public byte KeysDown_336; + public byte KeysDown_337; + public byte KeysDown_338; + public byte KeysDown_339; + public byte KeysDown_340; + public byte KeysDown_341; + public byte KeysDown_342; + public byte KeysDown_343; + public byte KeysDown_344; + public byte KeysDown_345; + public byte KeysDown_346; + public byte KeysDown_347; + public byte KeysDown_348; + public byte KeysDown_349; + public byte KeysDown_350; + public byte KeysDown_351; + public byte KeysDown_352; + public byte KeysDown_353; + public byte KeysDown_354; + public byte KeysDown_355; + public byte KeysDown_356; + public byte KeysDown_357; + public byte KeysDown_358; + public byte KeysDown_359; + public byte KeysDown_360; + public byte KeysDown_361; + public byte KeysDown_362; + public byte KeysDown_363; + public byte KeysDown_364; + public byte KeysDown_365; + public byte KeysDown_366; + public byte KeysDown_367; + public byte KeysDown_368; + public byte KeysDown_369; + public byte KeysDown_370; + public byte KeysDown_371; + public byte KeysDown_372; + public byte KeysDown_373; + public byte KeysDown_374; + public byte KeysDown_375; + public byte KeysDown_376; + public byte KeysDown_377; + public byte KeysDown_378; + public byte KeysDown_379; + public byte KeysDown_380; + public byte KeysDown_381; + public byte KeysDown_382; + public byte KeysDown_383; + public byte KeysDown_384; + public byte KeysDown_385; + public byte KeysDown_386; + public byte KeysDown_387; + public byte KeysDown_388; + public byte KeysDown_389; + public byte KeysDown_390; + public byte KeysDown_391; + public byte KeysDown_392; + public byte KeysDown_393; + public byte KeysDown_394; + public byte KeysDown_395; + public byte KeysDown_396; + public byte KeysDown_397; + public byte KeysDown_398; + public byte KeysDown_399; + public byte KeysDown_400; + public byte KeysDown_401; + public byte KeysDown_402; + public byte KeysDown_403; + public byte KeysDown_404; + public byte KeysDown_405; + public byte KeysDown_406; + public byte KeysDown_407; + public byte KeysDown_408; + public byte KeysDown_409; + public byte KeysDown_410; + public byte KeysDown_411; + public byte KeysDown_412; + public byte KeysDown_413; + public byte KeysDown_414; + public byte KeysDown_415; + public byte KeysDown_416; + public byte KeysDown_417; + public byte KeysDown_418; + public byte KeysDown_419; + public byte KeysDown_420; + public byte KeysDown_421; + public byte KeysDown_422; + public byte KeysDown_423; + public byte KeysDown_424; + public byte KeysDown_425; + public byte KeysDown_426; + public byte KeysDown_427; + public byte KeysDown_428; + public byte KeysDown_429; + public byte KeysDown_430; + public byte KeysDown_431; + public byte KeysDown_432; + public byte KeysDown_433; + public byte KeysDown_434; + public byte KeysDown_435; + public byte KeysDown_436; + public byte KeysDown_437; + public byte KeysDown_438; + public byte KeysDown_439; + public byte KeysDown_440; + public byte KeysDown_441; + public byte KeysDown_442; + public byte KeysDown_443; + public byte KeysDown_444; + public byte KeysDown_445; + public byte KeysDown_446; + public byte KeysDown_447; + public byte KeysDown_448; + public byte KeysDown_449; + public byte KeysDown_450; + public byte KeysDown_451; + public byte KeysDown_452; + public byte KeysDown_453; + public byte KeysDown_454; + public byte KeysDown_455; + public byte KeysDown_456; + public byte KeysDown_457; + public byte KeysDown_458; + public byte KeysDown_459; + public byte KeysDown_460; + public byte KeysDown_461; + public byte KeysDown_462; + public byte KeysDown_463; + public byte KeysDown_464; + public byte KeysDown_465; + public byte KeysDown_466; + public byte KeysDown_467; + public byte KeysDown_468; + public byte KeysDown_469; + public byte KeysDown_470; + public byte KeysDown_471; + public byte KeysDown_472; + public byte KeysDown_473; + public byte KeysDown_474; + public byte KeysDown_475; + public byte KeysDown_476; + public byte KeysDown_477; + public byte KeysDown_478; + public byte KeysDown_479; + public byte KeysDown_480; + public byte KeysDown_481; + public byte KeysDown_482; + public byte KeysDown_483; + public byte KeysDown_484; + public byte KeysDown_485; + public byte KeysDown_486; + public byte KeysDown_487; + public byte KeysDown_488; + public byte KeysDown_489; + public byte KeysDown_490; + public byte KeysDown_491; + public byte KeysDown_492; + public byte KeysDown_493; + public byte KeysDown_494; + public byte KeysDown_495; + public byte KeysDown_496; + public byte KeysDown_497; + public byte KeysDown_498; + public byte KeysDown_499; + public byte KeysDown_500; + public byte KeysDown_501; + public byte KeysDown_502; + public byte KeysDown_503; + public byte KeysDown_504; + public byte KeysDown_505; + public byte KeysDown_506; + public byte KeysDown_507; + public byte KeysDown_508; + public byte KeysDown_509; + public byte KeysDown_510; + public byte KeysDown_511; + public byte KeysDown_512; + public byte KeysDown_513; + public byte KeysDown_514; + public byte KeysDown_515; + public byte KeysDown_516; + public byte KeysDown_517; + public byte KeysDown_518; + public byte KeysDown_519; + public byte KeysDown_520; + public byte KeysDown_521; + public byte KeysDown_522; + public byte KeysDown_523; + public byte KeysDown_524; + public byte KeysDown_525; + public byte KeysDown_526; + public byte KeysDown_527; + public byte KeysDown_528; + public byte KeysDown_529; + public byte KeysDown_530; + public byte KeysDown_531; + public byte KeysDown_532; + public byte KeysDown_533; + public byte KeysDown_534; + public byte KeysDown_535; + public byte KeysDown_536; + public byte KeysDown_537; + public byte KeysDown_538; + public byte KeysDown_539; + public byte KeysDown_540; + public byte KeysDown_541; + public byte KeysDown_542; + public byte KeysDown_543; + public byte KeysDown_544; + public byte KeysDown_545; + public byte KeysDown_546; + public byte KeysDown_547; + public byte KeysDown_548; + public byte KeysDown_549; + public byte KeysDown_550; + public byte KeysDown_551; + public byte KeysDown_552; + public byte KeysDown_553; + public byte KeysDown_554; + public byte KeysDown_555; + public byte KeysDown_556; + public byte KeysDown_557; + public byte KeysDown_558; + public byte KeysDown_559; + public byte KeysDown_560; + public byte KeysDown_561; + public byte KeysDown_562; + public byte KeysDown_563; + public byte KeysDown_564; + public byte KeysDown_565; + public byte KeysDown_566; + public byte KeysDown_567; + public byte KeysDown_568; + public byte KeysDown_569; + public byte KeysDown_570; + public byte KeysDown_571; + public byte KeysDown_572; + public byte KeysDown_573; + public byte KeysDown_574; + public byte KeysDown_575; + public byte KeysDown_576; + public byte KeysDown_577; + public byte KeysDown_578; + public byte KeysDown_579; + public byte KeysDown_580; + public byte KeysDown_581; + public byte KeysDown_582; + public byte KeysDown_583; + public byte KeysDown_584; + public byte KeysDown_585; + public byte KeysDown_586; + public byte KeysDown_587; + public byte KeysDown_588; + public byte KeysDown_589; + public byte KeysDown_590; + public byte KeysDown_591; + public byte KeysDown_592; + public byte KeysDown_593; + public byte KeysDown_594; + public byte KeysDown_595; + public byte KeysDown_596; + public byte KeysDown_597; + public byte KeysDown_598; + public byte KeysDown_599; + public byte KeysDown_600; + public byte KeysDown_601; + public byte KeysDown_602; + public byte KeysDown_603; + public byte KeysDown_604; + public byte KeysDown_605; + public byte KeysDown_606; + public byte KeysDown_607; + public byte KeysDown_608; + public byte KeysDown_609; + public byte KeysDown_610; + public byte KeysDown_611; + public byte KeysDown_612; + public byte KeysDown_613; + public byte KeysDown_614; + public byte KeysDown_615; + public byte KeysDown_616; + public byte KeysDown_617; + public byte KeysDown_618; + public byte KeysDown_619; + public byte KeysDown_620; + public byte KeysDown_621; + public byte KeysDown_622; + public byte KeysDown_623; + public byte KeysDown_624; + public byte KeysDown_625; + public byte KeysDown_626; + public byte KeysDown_627; + public byte KeysDown_628; + public byte KeysDown_629; + public byte KeysDown_630; + public byte KeysDown_631; + public byte KeysDown_632; + public byte KeysDown_633; + public byte KeysDown_634; + public byte KeysDown_635; + public byte KeysDown_636; + public byte KeysDown_637; + public byte KeysDown_638; + public byte KeysDown_639; + public byte KeysDown_640; + public byte KeysDown_641; + public byte KeysDown_642; + public byte KeysDown_643; + public byte KeysDown_644; + + /// + /// To be documented. + /// + public Vector2 MousePos; + + /// + /// To be documented. + /// + public byte MouseDown_0; + public byte MouseDown_1; + public byte MouseDown_2; + public byte MouseDown_3; + public byte MouseDown_4; + + /// + /// To be documented. + /// + public float MouseWheel; + + /// + /// To be documented. + /// + public float MouseWheelH; + + /// + /// To be documented. + /// + public uint MouseHoveredViewport; + + /// + /// To be documented. + /// + public byte KeyCtrl; + + /// + /// To be documented. + /// + public byte KeyShift; + + /// + /// To be documented. + /// + public byte KeyAlt; + + /// + /// To be documented. + /// + public byte KeySuper; + + /// + /// To be documented. + /// + public float NavInputs_0; + public float NavInputs_1; + public float NavInputs_2; + public float NavInputs_3; + public float NavInputs_4; + public float NavInputs_5; + public float NavInputs_6; + public float NavInputs_7; + public float NavInputs_8; + public float NavInputs_9; + public float NavInputs_10; + public float NavInputs_11; + public float NavInputs_12; + public float NavInputs_13; + public float NavInputs_14; + public float NavInputs_15; + public float NavInputs_16; + public float NavInputs_17; + public float NavInputs_18; + public float NavInputs_19; + public float NavInputs_20; + + /// + /// To be documented. + /// + public ImGuiModFlags KeyMods; + + /// + /// To be documented. + /// + public ImGuiKeyData KeysData_0; + public ImGuiKeyData KeysData_1; + public ImGuiKeyData KeysData_2; + public ImGuiKeyData KeysData_3; + public ImGuiKeyData KeysData_4; + public ImGuiKeyData KeysData_5; + public ImGuiKeyData KeysData_6; + public ImGuiKeyData KeysData_7; + public ImGuiKeyData KeysData_8; + public ImGuiKeyData KeysData_9; + public ImGuiKeyData KeysData_10; + public ImGuiKeyData KeysData_11; + public ImGuiKeyData KeysData_12; + public ImGuiKeyData KeysData_13; + public ImGuiKeyData KeysData_14; + public ImGuiKeyData KeysData_15; + public ImGuiKeyData KeysData_16; + public ImGuiKeyData KeysData_17; + public ImGuiKeyData KeysData_18; + public ImGuiKeyData KeysData_19; + public ImGuiKeyData KeysData_20; + public ImGuiKeyData KeysData_21; + public ImGuiKeyData KeysData_22; + public ImGuiKeyData KeysData_23; + public ImGuiKeyData KeysData_24; + public ImGuiKeyData KeysData_25; + public ImGuiKeyData KeysData_26; + public ImGuiKeyData KeysData_27; + public ImGuiKeyData KeysData_28; + public ImGuiKeyData KeysData_29; + public ImGuiKeyData KeysData_30; + public ImGuiKeyData KeysData_31; + public ImGuiKeyData KeysData_32; + public ImGuiKeyData KeysData_33; + public ImGuiKeyData KeysData_34; + public ImGuiKeyData KeysData_35; + public ImGuiKeyData KeysData_36; + public ImGuiKeyData KeysData_37; + public ImGuiKeyData KeysData_38; + public ImGuiKeyData KeysData_39; + public ImGuiKeyData KeysData_40; + public ImGuiKeyData KeysData_41; + public ImGuiKeyData KeysData_42; + public ImGuiKeyData KeysData_43; + public ImGuiKeyData KeysData_44; + public ImGuiKeyData KeysData_45; + public ImGuiKeyData KeysData_46; + public ImGuiKeyData KeysData_47; + public ImGuiKeyData KeysData_48; + public ImGuiKeyData KeysData_49; + public ImGuiKeyData KeysData_50; + public ImGuiKeyData KeysData_51; + public ImGuiKeyData KeysData_52; + public ImGuiKeyData KeysData_53; + public ImGuiKeyData KeysData_54; + public ImGuiKeyData KeysData_55; + public ImGuiKeyData KeysData_56; + public ImGuiKeyData KeysData_57; + public ImGuiKeyData KeysData_58; + public ImGuiKeyData KeysData_59; + public ImGuiKeyData KeysData_60; + public ImGuiKeyData KeysData_61; + public ImGuiKeyData KeysData_62; + public ImGuiKeyData KeysData_63; + public ImGuiKeyData KeysData_64; + public ImGuiKeyData KeysData_65; + public ImGuiKeyData KeysData_66; + public ImGuiKeyData KeysData_67; + public ImGuiKeyData KeysData_68; + public ImGuiKeyData KeysData_69; + public ImGuiKeyData KeysData_70; + public ImGuiKeyData KeysData_71; + public ImGuiKeyData KeysData_72; + public ImGuiKeyData KeysData_73; + public ImGuiKeyData KeysData_74; + public ImGuiKeyData KeysData_75; + public ImGuiKeyData KeysData_76; + public ImGuiKeyData KeysData_77; + public ImGuiKeyData KeysData_78; + public ImGuiKeyData KeysData_79; + public ImGuiKeyData KeysData_80; + public ImGuiKeyData KeysData_81; + public ImGuiKeyData KeysData_82; + public ImGuiKeyData KeysData_83; + public ImGuiKeyData KeysData_84; + public ImGuiKeyData KeysData_85; + public ImGuiKeyData KeysData_86; + public ImGuiKeyData KeysData_87; + public ImGuiKeyData KeysData_88; + public ImGuiKeyData KeysData_89; + public ImGuiKeyData KeysData_90; + public ImGuiKeyData KeysData_91; + public ImGuiKeyData KeysData_92; + public ImGuiKeyData KeysData_93; + public ImGuiKeyData KeysData_94; + public ImGuiKeyData KeysData_95; + public ImGuiKeyData KeysData_96; + public ImGuiKeyData KeysData_97; + public ImGuiKeyData KeysData_98; + public ImGuiKeyData KeysData_99; + public ImGuiKeyData KeysData_100; + public ImGuiKeyData KeysData_101; + public ImGuiKeyData KeysData_102; + public ImGuiKeyData KeysData_103; + public ImGuiKeyData KeysData_104; + public ImGuiKeyData KeysData_105; + public ImGuiKeyData KeysData_106; + public ImGuiKeyData KeysData_107; + public ImGuiKeyData KeysData_108; + public ImGuiKeyData KeysData_109; + public ImGuiKeyData KeysData_110; + public ImGuiKeyData KeysData_111; + public ImGuiKeyData KeysData_112; + public ImGuiKeyData KeysData_113; + public ImGuiKeyData KeysData_114; + public ImGuiKeyData KeysData_115; + public ImGuiKeyData KeysData_116; + public ImGuiKeyData KeysData_117; + public ImGuiKeyData KeysData_118; + public ImGuiKeyData KeysData_119; + public ImGuiKeyData KeysData_120; + public ImGuiKeyData KeysData_121; + public ImGuiKeyData KeysData_122; + public ImGuiKeyData KeysData_123; + public ImGuiKeyData KeysData_124; + public ImGuiKeyData KeysData_125; + public ImGuiKeyData KeysData_126; + public ImGuiKeyData KeysData_127; + public ImGuiKeyData KeysData_128; + public ImGuiKeyData KeysData_129; + public ImGuiKeyData KeysData_130; + public ImGuiKeyData KeysData_131; + public ImGuiKeyData KeysData_132; + public ImGuiKeyData KeysData_133; + public ImGuiKeyData KeysData_134; + public ImGuiKeyData KeysData_135; + public ImGuiKeyData KeysData_136; + public ImGuiKeyData KeysData_137; + public ImGuiKeyData KeysData_138; + public ImGuiKeyData KeysData_139; + public ImGuiKeyData KeysData_140; + public ImGuiKeyData KeysData_141; + public ImGuiKeyData KeysData_142; + public ImGuiKeyData KeysData_143; + public ImGuiKeyData KeysData_144; + public ImGuiKeyData KeysData_145; + public ImGuiKeyData KeysData_146; + public ImGuiKeyData KeysData_147; + public ImGuiKeyData KeysData_148; + public ImGuiKeyData KeysData_149; + public ImGuiKeyData KeysData_150; + public ImGuiKeyData KeysData_151; + public ImGuiKeyData KeysData_152; + public ImGuiKeyData KeysData_153; + public ImGuiKeyData KeysData_154; + public ImGuiKeyData KeysData_155; + public ImGuiKeyData KeysData_156; + public ImGuiKeyData KeysData_157; + public ImGuiKeyData KeysData_158; + public ImGuiKeyData KeysData_159; + public ImGuiKeyData KeysData_160; + public ImGuiKeyData KeysData_161; + public ImGuiKeyData KeysData_162; + public ImGuiKeyData KeysData_163; + public ImGuiKeyData KeysData_164; + public ImGuiKeyData KeysData_165; + public ImGuiKeyData KeysData_166; + public ImGuiKeyData KeysData_167; + public ImGuiKeyData KeysData_168; + public ImGuiKeyData KeysData_169; + public ImGuiKeyData KeysData_170; + public ImGuiKeyData KeysData_171; + public ImGuiKeyData KeysData_172; + public ImGuiKeyData KeysData_173; + public ImGuiKeyData KeysData_174; + public ImGuiKeyData KeysData_175; + public ImGuiKeyData KeysData_176; + public ImGuiKeyData KeysData_177; + public ImGuiKeyData KeysData_178; + public ImGuiKeyData KeysData_179; + public ImGuiKeyData KeysData_180; + public ImGuiKeyData KeysData_181; + public ImGuiKeyData KeysData_182; + public ImGuiKeyData KeysData_183; + public ImGuiKeyData KeysData_184; + public ImGuiKeyData KeysData_185; + public ImGuiKeyData KeysData_186; + public ImGuiKeyData KeysData_187; + public ImGuiKeyData KeysData_188; + public ImGuiKeyData KeysData_189; + public ImGuiKeyData KeysData_190; + public ImGuiKeyData KeysData_191; + public ImGuiKeyData KeysData_192; + public ImGuiKeyData KeysData_193; + public ImGuiKeyData KeysData_194; + public ImGuiKeyData KeysData_195; + public ImGuiKeyData KeysData_196; + public ImGuiKeyData KeysData_197; + public ImGuiKeyData KeysData_198; + public ImGuiKeyData KeysData_199; + public ImGuiKeyData KeysData_200; + public ImGuiKeyData KeysData_201; + public ImGuiKeyData KeysData_202; + public ImGuiKeyData KeysData_203; + public ImGuiKeyData KeysData_204; + public ImGuiKeyData KeysData_205; + public ImGuiKeyData KeysData_206; + public ImGuiKeyData KeysData_207; + public ImGuiKeyData KeysData_208; + public ImGuiKeyData KeysData_209; + public ImGuiKeyData KeysData_210; + public ImGuiKeyData KeysData_211; + public ImGuiKeyData KeysData_212; + public ImGuiKeyData KeysData_213; + public ImGuiKeyData KeysData_214; + public ImGuiKeyData KeysData_215; + public ImGuiKeyData KeysData_216; + public ImGuiKeyData KeysData_217; + public ImGuiKeyData KeysData_218; + public ImGuiKeyData KeysData_219; + public ImGuiKeyData KeysData_220; + public ImGuiKeyData KeysData_221; + public ImGuiKeyData KeysData_222; + public ImGuiKeyData KeysData_223; + public ImGuiKeyData KeysData_224; + public ImGuiKeyData KeysData_225; + public ImGuiKeyData KeysData_226; + public ImGuiKeyData KeysData_227; + public ImGuiKeyData KeysData_228; + public ImGuiKeyData KeysData_229; + public ImGuiKeyData KeysData_230; + public ImGuiKeyData KeysData_231; + public ImGuiKeyData KeysData_232; + public ImGuiKeyData KeysData_233; + public ImGuiKeyData KeysData_234; + public ImGuiKeyData KeysData_235; + public ImGuiKeyData KeysData_236; + public ImGuiKeyData KeysData_237; + public ImGuiKeyData KeysData_238; + public ImGuiKeyData KeysData_239; + public ImGuiKeyData KeysData_240; + public ImGuiKeyData KeysData_241; + public ImGuiKeyData KeysData_242; + public ImGuiKeyData KeysData_243; + public ImGuiKeyData KeysData_244; + public ImGuiKeyData KeysData_245; + public ImGuiKeyData KeysData_246; + public ImGuiKeyData KeysData_247; + public ImGuiKeyData KeysData_248; + public ImGuiKeyData KeysData_249; + public ImGuiKeyData KeysData_250; + public ImGuiKeyData KeysData_251; + public ImGuiKeyData KeysData_252; + public ImGuiKeyData KeysData_253; + public ImGuiKeyData KeysData_254; + public ImGuiKeyData KeysData_255; + public ImGuiKeyData KeysData_256; + public ImGuiKeyData KeysData_257; + public ImGuiKeyData KeysData_258; + public ImGuiKeyData KeysData_259; + public ImGuiKeyData KeysData_260; + public ImGuiKeyData KeysData_261; + public ImGuiKeyData KeysData_262; + public ImGuiKeyData KeysData_263; + public ImGuiKeyData KeysData_264; + public ImGuiKeyData KeysData_265; + public ImGuiKeyData KeysData_266; + public ImGuiKeyData KeysData_267; + public ImGuiKeyData KeysData_268; + public ImGuiKeyData KeysData_269; + public ImGuiKeyData KeysData_270; + public ImGuiKeyData KeysData_271; + public ImGuiKeyData KeysData_272; + public ImGuiKeyData KeysData_273; + public ImGuiKeyData KeysData_274; + public ImGuiKeyData KeysData_275; + public ImGuiKeyData KeysData_276; + public ImGuiKeyData KeysData_277; + public ImGuiKeyData KeysData_278; + public ImGuiKeyData KeysData_279; + public ImGuiKeyData KeysData_280; + public ImGuiKeyData KeysData_281; + public ImGuiKeyData KeysData_282; + public ImGuiKeyData KeysData_283; + public ImGuiKeyData KeysData_284; + public ImGuiKeyData KeysData_285; + public ImGuiKeyData KeysData_286; + public ImGuiKeyData KeysData_287; + public ImGuiKeyData KeysData_288; + public ImGuiKeyData KeysData_289; + public ImGuiKeyData KeysData_290; + public ImGuiKeyData KeysData_291; + public ImGuiKeyData KeysData_292; + public ImGuiKeyData KeysData_293; + public ImGuiKeyData KeysData_294; + public ImGuiKeyData KeysData_295; + public ImGuiKeyData KeysData_296; + public ImGuiKeyData KeysData_297; + public ImGuiKeyData KeysData_298; + public ImGuiKeyData KeysData_299; + public ImGuiKeyData KeysData_300; + public ImGuiKeyData KeysData_301; + public ImGuiKeyData KeysData_302; + public ImGuiKeyData KeysData_303; + public ImGuiKeyData KeysData_304; + public ImGuiKeyData KeysData_305; + public ImGuiKeyData KeysData_306; + public ImGuiKeyData KeysData_307; + public ImGuiKeyData KeysData_308; + public ImGuiKeyData KeysData_309; + public ImGuiKeyData KeysData_310; + public ImGuiKeyData KeysData_311; + public ImGuiKeyData KeysData_312; + public ImGuiKeyData KeysData_313; + public ImGuiKeyData KeysData_314; + public ImGuiKeyData KeysData_315; + public ImGuiKeyData KeysData_316; + public ImGuiKeyData KeysData_317; + public ImGuiKeyData KeysData_318; + public ImGuiKeyData KeysData_319; + public ImGuiKeyData KeysData_320; + public ImGuiKeyData KeysData_321; + public ImGuiKeyData KeysData_322; + public ImGuiKeyData KeysData_323; + public ImGuiKeyData KeysData_324; + public ImGuiKeyData KeysData_325; + public ImGuiKeyData KeysData_326; + public ImGuiKeyData KeysData_327; + public ImGuiKeyData KeysData_328; + public ImGuiKeyData KeysData_329; + public ImGuiKeyData KeysData_330; + public ImGuiKeyData KeysData_331; + public ImGuiKeyData KeysData_332; + public ImGuiKeyData KeysData_333; + public ImGuiKeyData KeysData_334; + public ImGuiKeyData KeysData_335; + public ImGuiKeyData KeysData_336; + public ImGuiKeyData KeysData_337; + public ImGuiKeyData KeysData_338; + public ImGuiKeyData KeysData_339; + public ImGuiKeyData KeysData_340; + public ImGuiKeyData KeysData_341; + public ImGuiKeyData KeysData_342; + public ImGuiKeyData KeysData_343; + public ImGuiKeyData KeysData_344; + public ImGuiKeyData KeysData_345; + public ImGuiKeyData KeysData_346; + public ImGuiKeyData KeysData_347; + public ImGuiKeyData KeysData_348; + public ImGuiKeyData KeysData_349; + public ImGuiKeyData KeysData_350; + public ImGuiKeyData KeysData_351; + public ImGuiKeyData KeysData_352; + public ImGuiKeyData KeysData_353; + public ImGuiKeyData KeysData_354; + public ImGuiKeyData KeysData_355; + public ImGuiKeyData KeysData_356; + public ImGuiKeyData KeysData_357; + public ImGuiKeyData KeysData_358; + public ImGuiKeyData KeysData_359; + public ImGuiKeyData KeysData_360; + public ImGuiKeyData KeysData_361; + public ImGuiKeyData KeysData_362; + public ImGuiKeyData KeysData_363; + public ImGuiKeyData KeysData_364; + public ImGuiKeyData KeysData_365; + public ImGuiKeyData KeysData_366; + public ImGuiKeyData KeysData_367; + public ImGuiKeyData KeysData_368; + public ImGuiKeyData KeysData_369; + public ImGuiKeyData KeysData_370; + public ImGuiKeyData KeysData_371; + public ImGuiKeyData KeysData_372; + public ImGuiKeyData KeysData_373; + public ImGuiKeyData KeysData_374; + public ImGuiKeyData KeysData_375; + public ImGuiKeyData KeysData_376; + public ImGuiKeyData KeysData_377; + public ImGuiKeyData KeysData_378; + public ImGuiKeyData KeysData_379; + public ImGuiKeyData KeysData_380; + public ImGuiKeyData KeysData_381; + public ImGuiKeyData KeysData_382; + public ImGuiKeyData KeysData_383; + public ImGuiKeyData KeysData_384; + public ImGuiKeyData KeysData_385; + public ImGuiKeyData KeysData_386; + public ImGuiKeyData KeysData_387; + public ImGuiKeyData KeysData_388; + public ImGuiKeyData KeysData_389; + public ImGuiKeyData KeysData_390; + public ImGuiKeyData KeysData_391; + public ImGuiKeyData KeysData_392; + public ImGuiKeyData KeysData_393; + public ImGuiKeyData KeysData_394; + public ImGuiKeyData KeysData_395; + public ImGuiKeyData KeysData_396; + public ImGuiKeyData KeysData_397; + public ImGuiKeyData KeysData_398; + public ImGuiKeyData KeysData_399; + public ImGuiKeyData KeysData_400; + public ImGuiKeyData KeysData_401; + public ImGuiKeyData KeysData_402; + public ImGuiKeyData KeysData_403; + public ImGuiKeyData KeysData_404; + public ImGuiKeyData KeysData_405; + public ImGuiKeyData KeysData_406; + public ImGuiKeyData KeysData_407; + public ImGuiKeyData KeysData_408; + public ImGuiKeyData KeysData_409; + public ImGuiKeyData KeysData_410; + public ImGuiKeyData KeysData_411; + public ImGuiKeyData KeysData_412; + public ImGuiKeyData KeysData_413; + public ImGuiKeyData KeysData_414; + public ImGuiKeyData KeysData_415; + public ImGuiKeyData KeysData_416; + public ImGuiKeyData KeysData_417; + public ImGuiKeyData KeysData_418; + public ImGuiKeyData KeysData_419; + public ImGuiKeyData KeysData_420; + public ImGuiKeyData KeysData_421; + public ImGuiKeyData KeysData_422; + public ImGuiKeyData KeysData_423; + public ImGuiKeyData KeysData_424; + public ImGuiKeyData KeysData_425; + public ImGuiKeyData KeysData_426; + public ImGuiKeyData KeysData_427; + public ImGuiKeyData KeysData_428; + public ImGuiKeyData KeysData_429; + public ImGuiKeyData KeysData_430; + public ImGuiKeyData KeysData_431; + public ImGuiKeyData KeysData_432; + public ImGuiKeyData KeysData_433; + public ImGuiKeyData KeysData_434; + public ImGuiKeyData KeysData_435; + public ImGuiKeyData KeysData_436; + public ImGuiKeyData KeysData_437; + public ImGuiKeyData KeysData_438; + public ImGuiKeyData KeysData_439; + public ImGuiKeyData KeysData_440; + public ImGuiKeyData KeysData_441; + public ImGuiKeyData KeysData_442; + public ImGuiKeyData KeysData_443; + public ImGuiKeyData KeysData_444; + public ImGuiKeyData KeysData_445; + public ImGuiKeyData KeysData_446; + public ImGuiKeyData KeysData_447; + public ImGuiKeyData KeysData_448; + public ImGuiKeyData KeysData_449; + public ImGuiKeyData KeysData_450; + public ImGuiKeyData KeysData_451; + public ImGuiKeyData KeysData_452; + public ImGuiKeyData KeysData_453; + public ImGuiKeyData KeysData_454; + public ImGuiKeyData KeysData_455; + public ImGuiKeyData KeysData_456; + public ImGuiKeyData KeysData_457; + public ImGuiKeyData KeysData_458; + public ImGuiKeyData KeysData_459; + public ImGuiKeyData KeysData_460; + public ImGuiKeyData KeysData_461; + public ImGuiKeyData KeysData_462; + public ImGuiKeyData KeysData_463; + public ImGuiKeyData KeysData_464; + public ImGuiKeyData KeysData_465; + public ImGuiKeyData KeysData_466; + public ImGuiKeyData KeysData_467; + public ImGuiKeyData KeysData_468; + public ImGuiKeyData KeysData_469; + public ImGuiKeyData KeysData_470; + public ImGuiKeyData KeysData_471; + public ImGuiKeyData KeysData_472; + public ImGuiKeyData KeysData_473; + public ImGuiKeyData KeysData_474; + public ImGuiKeyData KeysData_475; + public ImGuiKeyData KeysData_476; + public ImGuiKeyData KeysData_477; + public ImGuiKeyData KeysData_478; + public ImGuiKeyData KeysData_479; + public ImGuiKeyData KeysData_480; + public ImGuiKeyData KeysData_481; + public ImGuiKeyData KeysData_482; + public ImGuiKeyData KeysData_483; + public ImGuiKeyData KeysData_484; + public ImGuiKeyData KeysData_485; + public ImGuiKeyData KeysData_486; + public ImGuiKeyData KeysData_487; + public ImGuiKeyData KeysData_488; + public ImGuiKeyData KeysData_489; + public ImGuiKeyData KeysData_490; + public ImGuiKeyData KeysData_491; + public ImGuiKeyData KeysData_492; + public ImGuiKeyData KeysData_493; + public ImGuiKeyData KeysData_494; + public ImGuiKeyData KeysData_495; + public ImGuiKeyData KeysData_496; + public ImGuiKeyData KeysData_497; + public ImGuiKeyData KeysData_498; + public ImGuiKeyData KeysData_499; + public ImGuiKeyData KeysData_500; + public ImGuiKeyData KeysData_501; + public ImGuiKeyData KeysData_502; + public ImGuiKeyData KeysData_503; + public ImGuiKeyData KeysData_504; + public ImGuiKeyData KeysData_505; + public ImGuiKeyData KeysData_506; + public ImGuiKeyData KeysData_507; + public ImGuiKeyData KeysData_508; + public ImGuiKeyData KeysData_509; + public ImGuiKeyData KeysData_510; + public ImGuiKeyData KeysData_511; + public ImGuiKeyData KeysData_512; + public ImGuiKeyData KeysData_513; + public ImGuiKeyData KeysData_514; + public ImGuiKeyData KeysData_515; + public ImGuiKeyData KeysData_516; + public ImGuiKeyData KeysData_517; + public ImGuiKeyData KeysData_518; + public ImGuiKeyData KeysData_519; + public ImGuiKeyData KeysData_520; + public ImGuiKeyData KeysData_521; + public ImGuiKeyData KeysData_522; + public ImGuiKeyData KeysData_523; + public ImGuiKeyData KeysData_524; + public ImGuiKeyData KeysData_525; + public ImGuiKeyData KeysData_526; + public ImGuiKeyData KeysData_527; + public ImGuiKeyData KeysData_528; + public ImGuiKeyData KeysData_529; + public ImGuiKeyData KeysData_530; + public ImGuiKeyData KeysData_531; + public ImGuiKeyData KeysData_532; + public ImGuiKeyData KeysData_533; + public ImGuiKeyData KeysData_534; + public ImGuiKeyData KeysData_535; + public ImGuiKeyData KeysData_536; + public ImGuiKeyData KeysData_537; + public ImGuiKeyData KeysData_538; + public ImGuiKeyData KeysData_539; + public ImGuiKeyData KeysData_540; + public ImGuiKeyData KeysData_541; + public ImGuiKeyData KeysData_542; + public ImGuiKeyData KeysData_543; + public ImGuiKeyData KeysData_544; + public ImGuiKeyData KeysData_545; + public ImGuiKeyData KeysData_546; + public ImGuiKeyData KeysData_547; + public ImGuiKeyData KeysData_548; + public ImGuiKeyData KeysData_549; + public ImGuiKeyData KeysData_550; + public ImGuiKeyData KeysData_551; + public ImGuiKeyData KeysData_552; + public ImGuiKeyData KeysData_553; + public ImGuiKeyData KeysData_554; + public ImGuiKeyData KeysData_555; + public ImGuiKeyData KeysData_556; + public ImGuiKeyData KeysData_557; + public ImGuiKeyData KeysData_558; + public ImGuiKeyData KeysData_559; + public ImGuiKeyData KeysData_560; + public ImGuiKeyData KeysData_561; + public ImGuiKeyData KeysData_562; + public ImGuiKeyData KeysData_563; + public ImGuiKeyData KeysData_564; + public ImGuiKeyData KeysData_565; + public ImGuiKeyData KeysData_566; + public ImGuiKeyData KeysData_567; + public ImGuiKeyData KeysData_568; + public ImGuiKeyData KeysData_569; + public ImGuiKeyData KeysData_570; + public ImGuiKeyData KeysData_571; + public ImGuiKeyData KeysData_572; + public ImGuiKeyData KeysData_573; + public ImGuiKeyData KeysData_574; + public ImGuiKeyData KeysData_575; + public ImGuiKeyData KeysData_576; + public ImGuiKeyData KeysData_577; + public ImGuiKeyData KeysData_578; + public ImGuiKeyData KeysData_579; + public ImGuiKeyData KeysData_580; + public ImGuiKeyData KeysData_581; + public ImGuiKeyData KeysData_582; + public ImGuiKeyData KeysData_583; + public ImGuiKeyData KeysData_584; + public ImGuiKeyData KeysData_585; + public ImGuiKeyData KeysData_586; + public ImGuiKeyData KeysData_587; + public ImGuiKeyData KeysData_588; + public ImGuiKeyData KeysData_589; + public ImGuiKeyData KeysData_590; + public ImGuiKeyData KeysData_591; + public ImGuiKeyData KeysData_592; + public ImGuiKeyData KeysData_593; + public ImGuiKeyData KeysData_594; + public ImGuiKeyData KeysData_595; + public ImGuiKeyData KeysData_596; + public ImGuiKeyData KeysData_597; + public ImGuiKeyData KeysData_598; + public ImGuiKeyData KeysData_599; + public ImGuiKeyData KeysData_600; + public ImGuiKeyData KeysData_601; + public ImGuiKeyData KeysData_602; + public ImGuiKeyData KeysData_603; + public ImGuiKeyData KeysData_604; + public ImGuiKeyData KeysData_605; + public ImGuiKeyData KeysData_606; + public ImGuiKeyData KeysData_607; + public ImGuiKeyData KeysData_608; + public ImGuiKeyData KeysData_609; + public ImGuiKeyData KeysData_610; + public ImGuiKeyData KeysData_611; + public ImGuiKeyData KeysData_612; + public ImGuiKeyData KeysData_613; + public ImGuiKeyData KeysData_614; + public ImGuiKeyData KeysData_615; + public ImGuiKeyData KeysData_616; + public ImGuiKeyData KeysData_617; + public ImGuiKeyData KeysData_618; + public ImGuiKeyData KeysData_619; + public ImGuiKeyData KeysData_620; + public ImGuiKeyData KeysData_621; + public ImGuiKeyData KeysData_622; + public ImGuiKeyData KeysData_623; + public ImGuiKeyData KeysData_624; + public ImGuiKeyData KeysData_625; + public ImGuiKeyData KeysData_626; + public ImGuiKeyData KeysData_627; + public ImGuiKeyData KeysData_628; + public ImGuiKeyData KeysData_629; + public ImGuiKeyData KeysData_630; + public ImGuiKeyData KeysData_631; + public ImGuiKeyData KeysData_632; + public ImGuiKeyData KeysData_633; + public ImGuiKeyData KeysData_634; + public ImGuiKeyData KeysData_635; + public ImGuiKeyData KeysData_636; + public ImGuiKeyData KeysData_637; + public ImGuiKeyData KeysData_638; + public ImGuiKeyData KeysData_639; + public ImGuiKeyData KeysData_640; + public ImGuiKeyData KeysData_641; + public ImGuiKeyData KeysData_642; + public ImGuiKeyData KeysData_643; + public ImGuiKeyData KeysData_644; + + /// + /// To be documented. + /// + public byte WantCaptureMouseUnlessPopupClose; + + /// + /// To be documented. + /// + public Vector2 MousePosPrev; + + /// + /// To be documented. + /// + public Vector2 MouseClickedPos_0; + public Vector2 MouseClickedPos_1; + public Vector2 MouseClickedPos_2; + public Vector2 MouseClickedPos_3; + public Vector2 MouseClickedPos_4; + + /// + /// To be documented. + /// + public double MouseClickedTime_0; + public double MouseClickedTime_1; + public double MouseClickedTime_2; + public double MouseClickedTime_3; + public double MouseClickedTime_4; + + /// + /// To be documented. + /// + public byte MouseClicked_0; + public byte MouseClicked_1; + public byte MouseClicked_2; + public byte MouseClicked_3; + public byte MouseClicked_4; + + /// + /// To be documented. + /// + public byte MouseDoubleClicked_0; + public byte MouseDoubleClicked_1; + public byte MouseDoubleClicked_2; + public byte MouseDoubleClicked_3; + public byte MouseDoubleClicked_4; + + /// + /// To be documented. + /// + public ushort MouseClickedCount_0; + public ushort MouseClickedCount_1; + public ushort MouseClickedCount_2; + public ushort MouseClickedCount_3; + public ushort MouseClickedCount_4; + + /// + /// To be documented. + /// + public ushort MouseClickedLastCount_0; + public ushort MouseClickedLastCount_1; + public ushort MouseClickedLastCount_2; + public ushort MouseClickedLastCount_3; + public ushort MouseClickedLastCount_4; + + /// + /// To be documented. + /// + public byte MouseReleased_0; + public byte MouseReleased_1; + public byte MouseReleased_2; + public byte MouseReleased_3; + public byte MouseReleased_4; + + /// + /// To be documented. + /// + public byte MouseDownOwned_0; + public byte MouseDownOwned_1; + public byte MouseDownOwned_2; + public byte MouseDownOwned_3; + public byte MouseDownOwned_4; + + /// + /// To be documented. + /// + public byte MouseDownOwnedUnlessPopupClose_0; + public byte MouseDownOwnedUnlessPopupClose_1; + public byte MouseDownOwnedUnlessPopupClose_2; + public byte MouseDownOwnedUnlessPopupClose_3; + public byte MouseDownOwnedUnlessPopupClose_4; + + /// + /// To be documented. + /// + public float MouseDownDuration_0; + public float MouseDownDuration_1; + public float MouseDownDuration_2; + public float MouseDownDuration_3; + public float MouseDownDuration_4; + + /// + /// To be documented. + /// + public float MouseDownDurationPrev_0; + public float MouseDownDurationPrev_1; + public float MouseDownDurationPrev_2; + public float MouseDownDurationPrev_3; + public float MouseDownDurationPrev_4; + + /// + /// To be documented. + /// + public Vector2 MouseDragMaxDistanceAbs_0; + public Vector2 MouseDragMaxDistanceAbs_1; + public Vector2 MouseDragMaxDistanceAbs_2; + public Vector2 MouseDragMaxDistanceAbs_3; + public Vector2 MouseDragMaxDistanceAbs_4; + + /// + /// To be documented. + /// + public float MouseDragMaxDistanceSqr_0; + public float MouseDragMaxDistanceSqr_1; + public float MouseDragMaxDistanceSqr_2; + public float MouseDragMaxDistanceSqr_3; + public float MouseDragMaxDistanceSqr_4; + + /// + /// To be documented. + /// + public float NavInputsDownDuration_0; + public float NavInputsDownDuration_1; + public float NavInputsDownDuration_2; + public float NavInputsDownDuration_3; + public float NavInputsDownDuration_4; + public float NavInputsDownDuration_5; + public float NavInputsDownDuration_6; + public float NavInputsDownDuration_7; + public float NavInputsDownDuration_8; + public float NavInputsDownDuration_9; + public float NavInputsDownDuration_10; + public float NavInputsDownDuration_11; + public float NavInputsDownDuration_12; + public float NavInputsDownDuration_13; + public float NavInputsDownDuration_14; + public float NavInputsDownDuration_15; + public float NavInputsDownDuration_16; + public float NavInputsDownDuration_17; + public float NavInputsDownDuration_18; + public float NavInputsDownDuration_19; + public float NavInputsDownDuration_20; + + /// + /// To be documented. + /// + public float NavInputsDownDurationPrev_0; + public float NavInputsDownDurationPrev_1; + public float NavInputsDownDurationPrev_2; + public float NavInputsDownDurationPrev_3; + public float NavInputsDownDurationPrev_4; + public float NavInputsDownDurationPrev_5; + public float NavInputsDownDurationPrev_6; + public float NavInputsDownDurationPrev_7; + public float NavInputsDownDurationPrev_8; + public float NavInputsDownDurationPrev_9; + public float NavInputsDownDurationPrev_10; + public float NavInputsDownDurationPrev_11; + public float NavInputsDownDurationPrev_12; + public float NavInputsDownDurationPrev_13; + public float NavInputsDownDurationPrev_14; + public float NavInputsDownDurationPrev_15; + public float NavInputsDownDurationPrev_16; + public float NavInputsDownDurationPrev_17; + public float NavInputsDownDurationPrev_18; + public float NavInputsDownDurationPrev_19; + public float NavInputsDownDurationPrev_20; + + /// + /// To be documented. + /// + public float PenPressure; + + /// + /// To be documented. + /// + public byte AppFocusLost; + + /// + /// To be documented. + /// + public byte AppAcceptingEvents; + + /// + /// To be documented. + /// + public byte BackendUsingLegacyKeyArrays; + + /// + /// To be documented. + /// + public byte BackendUsingLegacyNavInputArray; + + /// + /// To be documented. + /// + public ushort InputQueueSurrogate; + + /// + /// To be documented. + /// + public ImVector InputQueueCharacters; + + + /// + /// To be documented. + /// + public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate* getClipboardTextFn = default, delegate* setClipboardTextFn = default, void* clipboardUserData = default, delegate* setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, int* keyMap = default, byte* keysDown = default, Vector2 mousePos = default, byte* mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, float* navInputs = default, ImGuiModFlags keyMods = default, ImGuiKeyData* keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Vector2* mouseClickedPos = default, double* mouseClickedTime = default, byte* mouseClicked = default, byte* mouseDoubleClicked = default, ushort* mouseClickedCount = default, ushort* mouseClickedLastCount = default, byte* mouseReleased = default, byte* mouseDownOwned = default, byte* mouseDownOwnedUnlessPopupClose = default, float* mouseDownDuration = default, float* mouseDownDurationPrev = default, Vector2* mouseDragMaxDistanceAbs = default, float* mouseDragMaxDistanceSqr = default, float* navInputsDownDuration = default, float* navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, byte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector inputQueueCharacters = default) + { + ConfigFlags = configFlags; + BackendFlags = backendFlags; + DisplaySize = displaySize; + DeltaTime = deltaTime; + IniSavingRate = iniSavingRate; + IniFilename = iniFilename; + LogFilename = logFilename; + MouseDoubleClickTime = mouseDoubleClickTime; + MouseDoubleClickMaxDist = mouseDoubleClickMaxDist; + MouseDragThreshold = mouseDragThreshold; + KeyRepeatDelay = keyRepeatDelay; + KeyRepeatRate = keyRepeatRate; + UserData = userData; + Fonts = fonts; + FontGlobalScale = fontGlobalScale; + FontAllowUserScaling = fontAllowUserScaling ? (byte)1 : (byte)0; + FontDefault = fontDefault; + DisplayFramebufferScale = displayFramebufferScale; + ConfigDockingNoSplit = configDockingNoSplit ? (byte)1 : (byte)0; + ConfigDockingWithShift = configDockingWithShift ? (byte)1 : (byte)0; + ConfigDockingAlwaysTabBar = configDockingAlwaysTabBar ? (byte)1 : (byte)0; + ConfigDockingTransparentPayload = configDockingTransparentPayload ? (byte)1 : (byte)0; + ConfigViewportsNoAutoMerge = configViewportsNoAutoMerge ? (byte)1 : (byte)0; + ConfigViewportsNoTaskBarIcon = configViewportsNoTaskBarIcon ? (byte)1 : (byte)0; + ConfigViewportsNoDecoration = configViewportsNoDecoration ? (byte)1 : (byte)0; + ConfigViewportsNoDefaultParent = configViewportsNoDefaultParent ? (byte)1 : (byte)0; + MouseDrawCursor = mouseDrawCursor ? (byte)1 : (byte)0; + ConfigMacOSXBehaviors = configMacOsxBehaviors ? (byte)1 : (byte)0; + ConfigInputTrickleEventQueue = configInputTrickleEventQueue ? (byte)1 : (byte)0; + ConfigInputTextCursorBlink = configInputTextCursorBlink ? (byte)1 : (byte)0; + ConfigDragClickToInputText = configDragClickToInputText ? (byte)1 : (byte)0; + ConfigWindowsResizeFromEdges = configWindowsResizeFromEdges ? (byte)1 : (byte)0; + ConfigWindowsMoveFromTitleBarOnly = configWindowsMoveFromTitleBarOnly ? (byte)1 : (byte)0; + ConfigMemoryCompactTimer = configMemoryCompactTimer; + BackendPlatformName = backendPlatformName; + BackendRendererName = backendRendererName; + BackendPlatformUserData = backendPlatformUserData; + BackendRendererUserData = backendRendererUserData; + BackendLanguageUserData = backendLanguageUserData; + GetClipboardTextFn = (void*)getClipboardTextFn; + SetClipboardTextFn = (void*)setClipboardTextFn; + ClipboardUserData = clipboardUserData; + SetPlatformImeDataFn = (void*)setPlatformImeDataFn; + UnusedPadding = unusedPadding; + WantCaptureMouse = wantCaptureMouse ? (byte)1 : (byte)0; + WantCaptureKeyboard = wantCaptureKeyboard ? (byte)1 : (byte)0; + WantTextInput = wantTextInput ? (byte)1 : (byte)0; + WantSetMousePos = wantSetMousePos ? (byte)1 : (byte)0; + WantSaveIniSettings = wantSaveIniSettings ? (byte)1 : (byte)0; + NavActive = navActive ? (byte)1 : (byte)0; + NavVisible = navVisible ? (byte)1 : (byte)0; + Framerate = framerate; + MetricsRenderVertices = metricsRenderVertices; + MetricsRenderIndices = metricsRenderIndices; + MetricsRenderWindows = metricsRenderWindows; + MetricsActiveWindows = metricsActiveWindows; + MetricsActiveAllocations = metricsActiveAllocations; + MouseDelta = mouseDelta; + if (keyMap != default(int*)) + { + KeyMap_0 = keyMap[0]; + KeyMap_1 = keyMap[1]; + KeyMap_2 = keyMap[2]; + KeyMap_3 = keyMap[3]; + KeyMap_4 = keyMap[4]; + KeyMap_5 = keyMap[5]; + KeyMap_6 = keyMap[6]; + KeyMap_7 = keyMap[7]; + KeyMap_8 = keyMap[8]; + KeyMap_9 = keyMap[9]; + KeyMap_10 = keyMap[10]; + KeyMap_11 = keyMap[11]; + KeyMap_12 = keyMap[12]; + KeyMap_13 = keyMap[13]; + KeyMap_14 = keyMap[14]; + KeyMap_15 = keyMap[15]; + KeyMap_16 = keyMap[16]; + KeyMap_17 = keyMap[17]; + KeyMap_18 = keyMap[18]; + KeyMap_19 = keyMap[19]; + KeyMap_20 = keyMap[20]; + KeyMap_21 = keyMap[21]; + KeyMap_22 = keyMap[22]; + KeyMap_23 = keyMap[23]; + KeyMap_24 = keyMap[24]; + KeyMap_25 = keyMap[25]; + KeyMap_26 = keyMap[26]; + KeyMap_27 = keyMap[27]; + KeyMap_28 = keyMap[28]; + KeyMap_29 = keyMap[29]; + KeyMap_30 = keyMap[30]; + KeyMap_31 = keyMap[31]; + KeyMap_32 = keyMap[32]; + KeyMap_33 = keyMap[33]; + KeyMap_34 = keyMap[34]; + KeyMap_35 = keyMap[35]; + KeyMap_36 = keyMap[36]; + KeyMap_37 = keyMap[37]; + KeyMap_38 = keyMap[38]; + KeyMap_39 = keyMap[39]; + KeyMap_40 = keyMap[40]; + KeyMap_41 = keyMap[41]; + KeyMap_42 = keyMap[42]; + KeyMap_43 = keyMap[43]; + KeyMap_44 = keyMap[44]; + KeyMap_45 = keyMap[45]; + KeyMap_46 = keyMap[46]; + KeyMap_47 = keyMap[47]; + KeyMap_48 = keyMap[48]; + KeyMap_49 = keyMap[49]; + KeyMap_50 = keyMap[50]; + KeyMap_51 = keyMap[51]; + KeyMap_52 = keyMap[52]; + KeyMap_53 = keyMap[53]; + KeyMap_54 = keyMap[54]; + KeyMap_55 = keyMap[55]; + KeyMap_56 = keyMap[56]; + KeyMap_57 = keyMap[57]; + KeyMap_58 = keyMap[58]; + KeyMap_59 = keyMap[59]; + KeyMap_60 = keyMap[60]; + KeyMap_61 = keyMap[61]; + KeyMap_62 = keyMap[62]; + KeyMap_63 = keyMap[63]; + KeyMap_64 = keyMap[64]; + KeyMap_65 = keyMap[65]; + KeyMap_66 = keyMap[66]; + KeyMap_67 = keyMap[67]; + KeyMap_68 = keyMap[68]; + KeyMap_69 = keyMap[69]; + KeyMap_70 = keyMap[70]; + KeyMap_71 = keyMap[71]; + KeyMap_72 = keyMap[72]; + KeyMap_73 = keyMap[73]; + KeyMap_74 = keyMap[74]; + KeyMap_75 = keyMap[75]; + KeyMap_76 = keyMap[76]; + KeyMap_77 = keyMap[77]; + KeyMap_78 = keyMap[78]; + KeyMap_79 = keyMap[79]; + KeyMap_80 = keyMap[80]; + KeyMap_81 = keyMap[81]; + KeyMap_82 = keyMap[82]; + KeyMap_83 = keyMap[83]; + KeyMap_84 = keyMap[84]; + KeyMap_85 = keyMap[85]; + KeyMap_86 = keyMap[86]; + KeyMap_87 = keyMap[87]; + KeyMap_88 = keyMap[88]; + KeyMap_89 = keyMap[89]; + KeyMap_90 = keyMap[90]; + KeyMap_91 = keyMap[91]; + KeyMap_92 = keyMap[92]; + KeyMap_93 = keyMap[93]; + KeyMap_94 = keyMap[94]; + KeyMap_95 = keyMap[95]; + KeyMap_96 = keyMap[96]; + KeyMap_97 = keyMap[97]; + KeyMap_98 = keyMap[98]; + KeyMap_99 = keyMap[99]; + KeyMap_100 = keyMap[100]; + KeyMap_101 = keyMap[101]; + KeyMap_102 = keyMap[102]; + KeyMap_103 = keyMap[103]; + KeyMap_104 = keyMap[104]; + KeyMap_105 = keyMap[105]; + KeyMap_106 = keyMap[106]; + KeyMap_107 = keyMap[107]; + KeyMap_108 = keyMap[108]; + KeyMap_109 = keyMap[109]; + KeyMap_110 = keyMap[110]; + KeyMap_111 = keyMap[111]; + KeyMap_112 = keyMap[112]; + KeyMap_113 = keyMap[113]; + KeyMap_114 = keyMap[114]; + KeyMap_115 = keyMap[115]; + KeyMap_116 = keyMap[116]; + KeyMap_117 = keyMap[117]; + KeyMap_118 = keyMap[118]; + KeyMap_119 = keyMap[119]; + KeyMap_120 = keyMap[120]; + KeyMap_121 = keyMap[121]; + KeyMap_122 = keyMap[122]; + KeyMap_123 = keyMap[123]; + KeyMap_124 = keyMap[124]; + KeyMap_125 = keyMap[125]; + KeyMap_126 = keyMap[126]; + KeyMap_127 = keyMap[127]; + KeyMap_128 = keyMap[128]; + KeyMap_129 = keyMap[129]; + KeyMap_130 = keyMap[130]; + KeyMap_131 = keyMap[131]; + KeyMap_132 = keyMap[132]; + KeyMap_133 = keyMap[133]; + KeyMap_134 = keyMap[134]; + KeyMap_135 = keyMap[135]; + KeyMap_136 = keyMap[136]; + KeyMap_137 = keyMap[137]; + KeyMap_138 = keyMap[138]; + KeyMap_139 = keyMap[139]; + KeyMap_140 = keyMap[140]; + KeyMap_141 = keyMap[141]; + KeyMap_142 = keyMap[142]; + KeyMap_143 = keyMap[143]; + KeyMap_144 = keyMap[144]; + KeyMap_145 = keyMap[145]; + KeyMap_146 = keyMap[146]; + KeyMap_147 = keyMap[147]; + KeyMap_148 = keyMap[148]; + KeyMap_149 = keyMap[149]; + KeyMap_150 = keyMap[150]; + KeyMap_151 = keyMap[151]; + KeyMap_152 = keyMap[152]; + KeyMap_153 = keyMap[153]; + KeyMap_154 = keyMap[154]; + KeyMap_155 = keyMap[155]; + KeyMap_156 = keyMap[156]; + KeyMap_157 = keyMap[157]; + KeyMap_158 = keyMap[158]; + KeyMap_159 = keyMap[159]; + KeyMap_160 = keyMap[160]; + KeyMap_161 = keyMap[161]; + KeyMap_162 = keyMap[162]; + KeyMap_163 = keyMap[163]; + KeyMap_164 = keyMap[164]; + KeyMap_165 = keyMap[165]; + KeyMap_166 = keyMap[166]; + KeyMap_167 = keyMap[167]; + KeyMap_168 = keyMap[168]; + KeyMap_169 = keyMap[169]; + KeyMap_170 = keyMap[170]; + KeyMap_171 = keyMap[171]; + KeyMap_172 = keyMap[172]; + KeyMap_173 = keyMap[173]; + KeyMap_174 = keyMap[174]; + KeyMap_175 = keyMap[175]; + KeyMap_176 = keyMap[176]; + KeyMap_177 = keyMap[177]; + KeyMap_178 = keyMap[178]; + KeyMap_179 = keyMap[179]; + KeyMap_180 = keyMap[180]; + KeyMap_181 = keyMap[181]; + KeyMap_182 = keyMap[182]; + KeyMap_183 = keyMap[183]; + KeyMap_184 = keyMap[184]; + KeyMap_185 = keyMap[185]; + KeyMap_186 = keyMap[186]; + KeyMap_187 = keyMap[187]; + KeyMap_188 = keyMap[188]; + KeyMap_189 = keyMap[189]; + KeyMap_190 = keyMap[190]; + KeyMap_191 = keyMap[191]; + KeyMap_192 = keyMap[192]; + KeyMap_193 = keyMap[193]; + KeyMap_194 = keyMap[194]; + KeyMap_195 = keyMap[195]; + KeyMap_196 = keyMap[196]; + KeyMap_197 = keyMap[197]; + KeyMap_198 = keyMap[198]; + KeyMap_199 = keyMap[199]; + KeyMap_200 = keyMap[200]; + KeyMap_201 = keyMap[201]; + KeyMap_202 = keyMap[202]; + KeyMap_203 = keyMap[203]; + KeyMap_204 = keyMap[204]; + KeyMap_205 = keyMap[205]; + KeyMap_206 = keyMap[206]; + KeyMap_207 = keyMap[207]; + KeyMap_208 = keyMap[208]; + KeyMap_209 = keyMap[209]; + KeyMap_210 = keyMap[210]; + KeyMap_211 = keyMap[211]; + KeyMap_212 = keyMap[212]; + KeyMap_213 = keyMap[213]; + KeyMap_214 = keyMap[214]; + KeyMap_215 = keyMap[215]; + KeyMap_216 = keyMap[216]; + KeyMap_217 = keyMap[217]; + KeyMap_218 = keyMap[218]; + KeyMap_219 = keyMap[219]; + KeyMap_220 = keyMap[220]; + KeyMap_221 = keyMap[221]; + KeyMap_222 = keyMap[222]; + KeyMap_223 = keyMap[223]; + KeyMap_224 = keyMap[224]; + KeyMap_225 = keyMap[225]; + KeyMap_226 = keyMap[226]; + KeyMap_227 = keyMap[227]; + KeyMap_228 = keyMap[228]; + KeyMap_229 = keyMap[229]; + KeyMap_230 = keyMap[230]; + KeyMap_231 = keyMap[231]; + KeyMap_232 = keyMap[232]; + KeyMap_233 = keyMap[233]; + KeyMap_234 = keyMap[234]; + KeyMap_235 = keyMap[235]; + KeyMap_236 = keyMap[236]; + KeyMap_237 = keyMap[237]; + KeyMap_238 = keyMap[238]; + KeyMap_239 = keyMap[239]; + KeyMap_240 = keyMap[240]; + KeyMap_241 = keyMap[241]; + KeyMap_242 = keyMap[242]; + KeyMap_243 = keyMap[243]; + KeyMap_244 = keyMap[244]; + KeyMap_245 = keyMap[245]; + KeyMap_246 = keyMap[246]; + KeyMap_247 = keyMap[247]; + KeyMap_248 = keyMap[248]; + KeyMap_249 = keyMap[249]; + KeyMap_250 = keyMap[250]; + KeyMap_251 = keyMap[251]; + KeyMap_252 = keyMap[252]; + KeyMap_253 = keyMap[253]; + KeyMap_254 = keyMap[254]; + KeyMap_255 = keyMap[255]; + KeyMap_256 = keyMap[256]; + KeyMap_257 = keyMap[257]; + KeyMap_258 = keyMap[258]; + KeyMap_259 = keyMap[259]; + KeyMap_260 = keyMap[260]; + KeyMap_261 = keyMap[261]; + KeyMap_262 = keyMap[262]; + KeyMap_263 = keyMap[263]; + KeyMap_264 = keyMap[264]; + KeyMap_265 = keyMap[265]; + KeyMap_266 = keyMap[266]; + KeyMap_267 = keyMap[267]; + KeyMap_268 = keyMap[268]; + KeyMap_269 = keyMap[269]; + KeyMap_270 = keyMap[270]; + KeyMap_271 = keyMap[271]; + KeyMap_272 = keyMap[272]; + KeyMap_273 = keyMap[273]; + KeyMap_274 = keyMap[274]; + KeyMap_275 = keyMap[275]; + KeyMap_276 = keyMap[276]; + KeyMap_277 = keyMap[277]; + KeyMap_278 = keyMap[278]; + KeyMap_279 = keyMap[279]; + KeyMap_280 = keyMap[280]; + KeyMap_281 = keyMap[281]; + KeyMap_282 = keyMap[282]; + KeyMap_283 = keyMap[283]; + KeyMap_284 = keyMap[284]; + KeyMap_285 = keyMap[285]; + KeyMap_286 = keyMap[286]; + KeyMap_287 = keyMap[287]; + KeyMap_288 = keyMap[288]; + KeyMap_289 = keyMap[289]; + KeyMap_290 = keyMap[290]; + KeyMap_291 = keyMap[291]; + KeyMap_292 = keyMap[292]; + KeyMap_293 = keyMap[293]; + KeyMap_294 = keyMap[294]; + KeyMap_295 = keyMap[295]; + KeyMap_296 = keyMap[296]; + KeyMap_297 = keyMap[297]; + KeyMap_298 = keyMap[298]; + KeyMap_299 = keyMap[299]; + KeyMap_300 = keyMap[300]; + KeyMap_301 = keyMap[301]; + KeyMap_302 = keyMap[302]; + KeyMap_303 = keyMap[303]; + KeyMap_304 = keyMap[304]; + KeyMap_305 = keyMap[305]; + KeyMap_306 = keyMap[306]; + KeyMap_307 = keyMap[307]; + KeyMap_308 = keyMap[308]; + KeyMap_309 = keyMap[309]; + KeyMap_310 = keyMap[310]; + KeyMap_311 = keyMap[311]; + KeyMap_312 = keyMap[312]; + KeyMap_313 = keyMap[313]; + KeyMap_314 = keyMap[314]; + KeyMap_315 = keyMap[315]; + KeyMap_316 = keyMap[316]; + KeyMap_317 = keyMap[317]; + KeyMap_318 = keyMap[318]; + KeyMap_319 = keyMap[319]; + KeyMap_320 = keyMap[320]; + KeyMap_321 = keyMap[321]; + KeyMap_322 = keyMap[322]; + KeyMap_323 = keyMap[323]; + KeyMap_324 = keyMap[324]; + KeyMap_325 = keyMap[325]; + KeyMap_326 = keyMap[326]; + KeyMap_327 = keyMap[327]; + KeyMap_328 = keyMap[328]; + KeyMap_329 = keyMap[329]; + KeyMap_330 = keyMap[330]; + KeyMap_331 = keyMap[331]; + KeyMap_332 = keyMap[332]; + KeyMap_333 = keyMap[333]; + KeyMap_334 = keyMap[334]; + KeyMap_335 = keyMap[335]; + KeyMap_336 = keyMap[336]; + KeyMap_337 = keyMap[337]; + KeyMap_338 = keyMap[338]; + KeyMap_339 = keyMap[339]; + KeyMap_340 = keyMap[340]; + KeyMap_341 = keyMap[341]; + KeyMap_342 = keyMap[342]; + KeyMap_343 = keyMap[343]; + KeyMap_344 = keyMap[344]; + KeyMap_345 = keyMap[345]; + KeyMap_346 = keyMap[346]; + KeyMap_347 = keyMap[347]; + KeyMap_348 = keyMap[348]; + KeyMap_349 = keyMap[349]; + KeyMap_350 = keyMap[350]; + KeyMap_351 = keyMap[351]; + KeyMap_352 = keyMap[352]; + KeyMap_353 = keyMap[353]; + KeyMap_354 = keyMap[354]; + KeyMap_355 = keyMap[355]; + KeyMap_356 = keyMap[356]; + KeyMap_357 = keyMap[357]; + KeyMap_358 = keyMap[358]; + KeyMap_359 = keyMap[359]; + KeyMap_360 = keyMap[360]; + KeyMap_361 = keyMap[361]; + KeyMap_362 = keyMap[362]; + KeyMap_363 = keyMap[363]; + KeyMap_364 = keyMap[364]; + KeyMap_365 = keyMap[365]; + KeyMap_366 = keyMap[366]; + KeyMap_367 = keyMap[367]; + KeyMap_368 = keyMap[368]; + KeyMap_369 = keyMap[369]; + KeyMap_370 = keyMap[370]; + KeyMap_371 = keyMap[371]; + KeyMap_372 = keyMap[372]; + KeyMap_373 = keyMap[373]; + KeyMap_374 = keyMap[374]; + KeyMap_375 = keyMap[375]; + KeyMap_376 = keyMap[376]; + KeyMap_377 = keyMap[377]; + KeyMap_378 = keyMap[378]; + KeyMap_379 = keyMap[379]; + KeyMap_380 = keyMap[380]; + KeyMap_381 = keyMap[381]; + KeyMap_382 = keyMap[382]; + KeyMap_383 = keyMap[383]; + KeyMap_384 = keyMap[384]; + KeyMap_385 = keyMap[385]; + KeyMap_386 = keyMap[386]; + KeyMap_387 = keyMap[387]; + KeyMap_388 = keyMap[388]; + KeyMap_389 = keyMap[389]; + KeyMap_390 = keyMap[390]; + KeyMap_391 = keyMap[391]; + KeyMap_392 = keyMap[392]; + KeyMap_393 = keyMap[393]; + KeyMap_394 = keyMap[394]; + KeyMap_395 = keyMap[395]; + KeyMap_396 = keyMap[396]; + KeyMap_397 = keyMap[397]; + KeyMap_398 = keyMap[398]; + KeyMap_399 = keyMap[399]; + KeyMap_400 = keyMap[400]; + KeyMap_401 = keyMap[401]; + KeyMap_402 = keyMap[402]; + KeyMap_403 = keyMap[403]; + KeyMap_404 = keyMap[404]; + KeyMap_405 = keyMap[405]; + KeyMap_406 = keyMap[406]; + KeyMap_407 = keyMap[407]; + KeyMap_408 = keyMap[408]; + KeyMap_409 = keyMap[409]; + KeyMap_410 = keyMap[410]; + KeyMap_411 = keyMap[411]; + KeyMap_412 = keyMap[412]; + KeyMap_413 = keyMap[413]; + KeyMap_414 = keyMap[414]; + KeyMap_415 = keyMap[415]; + KeyMap_416 = keyMap[416]; + KeyMap_417 = keyMap[417]; + KeyMap_418 = keyMap[418]; + KeyMap_419 = keyMap[419]; + KeyMap_420 = keyMap[420]; + KeyMap_421 = keyMap[421]; + KeyMap_422 = keyMap[422]; + KeyMap_423 = keyMap[423]; + KeyMap_424 = keyMap[424]; + KeyMap_425 = keyMap[425]; + KeyMap_426 = keyMap[426]; + KeyMap_427 = keyMap[427]; + KeyMap_428 = keyMap[428]; + KeyMap_429 = keyMap[429]; + KeyMap_430 = keyMap[430]; + KeyMap_431 = keyMap[431]; + KeyMap_432 = keyMap[432]; + KeyMap_433 = keyMap[433]; + KeyMap_434 = keyMap[434]; + KeyMap_435 = keyMap[435]; + KeyMap_436 = keyMap[436]; + KeyMap_437 = keyMap[437]; + KeyMap_438 = keyMap[438]; + KeyMap_439 = keyMap[439]; + KeyMap_440 = keyMap[440]; + KeyMap_441 = keyMap[441]; + KeyMap_442 = keyMap[442]; + KeyMap_443 = keyMap[443]; + KeyMap_444 = keyMap[444]; + KeyMap_445 = keyMap[445]; + KeyMap_446 = keyMap[446]; + KeyMap_447 = keyMap[447]; + KeyMap_448 = keyMap[448]; + KeyMap_449 = keyMap[449]; + KeyMap_450 = keyMap[450]; + KeyMap_451 = keyMap[451]; + KeyMap_452 = keyMap[452]; + KeyMap_453 = keyMap[453]; + KeyMap_454 = keyMap[454]; + KeyMap_455 = keyMap[455]; + KeyMap_456 = keyMap[456]; + KeyMap_457 = keyMap[457]; + KeyMap_458 = keyMap[458]; + KeyMap_459 = keyMap[459]; + KeyMap_460 = keyMap[460]; + KeyMap_461 = keyMap[461]; + KeyMap_462 = keyMap[462]; + KeyMap_463 = keyMap[463]; + KeyMap_464 = keyMap[464]; + KeyMap_465 = keyMap[465]; + KeyMap_466 = keyMap[466]; + KeyMap_467 = keyMap[467]; + KeyMap_468 = keyMap[468]; + KeyMap_469 = keyMap[469]; + KeyMap_470 = keyMap[470]; + KeyMap_471 = keyMap[471]; + KeyMap_472 = keyMap[472]; + KeyMap_473 = keyMap[473]; + KeyMap_474 = keyMap[474]; + KeyMap_475 = keyMap[475]; + KeyMap_476 = keyMap[476]; + KeyMap_477 = keyMap[477]; + KeyMap_478 = keyMap[478]; + KeyMap_479 = keyMap[479]; + KeyMap_480 = keyMap[480]; + KeyMap_481 = keyMap[481]; + KeyMap_482 = keyMap[482]; + KeyMap_483 = keyMap[483]; + KeyMap_484 = keyMap[484]; + KeyMap_485 = keyMap[485]; + KeyMap_486 = keyMap[486]; + KeyMap_487 = keyMap[487]; + KeyMap_488 = keyMap[488]; + KeyMap_489 = keyMap[489]; + KeyMap_490 = keyMap[490]; + KeyMap_491 = keyMap[491]; + KeyMap_492 = keyMap[492]; + KeyMap_493 = keyMap[493]; + KeyMap_494 = keyMap[494]; + KeyMap_495 = keyMap[495]; + KeyMap_496 = keyMap[496]; + KeyMap_497 = keyMap[497]; + KeyMap_498 = keyMap[498]; + KeyMap_499 = keyMap[499]; + KeyMap_500 = keyMap[500]; + KeyMap_501 = keyMap[501]; + KeyMap_502 = keyMap[502]; + KeyMap_503 = keyMap[503]; + KeyMap_504 = keyMap[504]; + KeyMap_505 = keyMap[505]; + KeyMap_506 = keyMap[506]; + KeyMap_507 = keyMap[507]; + KeyMap_508 = keyMap[508]; + KeyMap_509 = keyMap[509]; + KeyMap_510 = keyMap[510]; + KeyMap_511 = keyMap[511]; + KeyMap_512 = keyMap[512]; + KeyMap_513 = keyMap[513]; + KeyMap_514 = keyMap[514]; + KeyMap_515 = keyMap[515]; + KeyMap_516 = keyMap[516]; + KeyMap_517 = keyMap[517]; + KeyMap_518 = keyMap[518]; + KeyMap_519 = keyMap[519]; + KeyMap_520 = keyMap[520]; + KeyMap_521 = keyMap[521]; + KeyMap_522 = keyMap[522]; + KeyMap_523 = keyMap[523]; + KeyMap_524 = keyMap[524]; + KeyMap_525 = keyMap[525]; + KeyMap_526 = keyMap[526]; + KeyMap_527 = keyMap[527]; + KeyMap_528 = keyMap[528]; + KeyMap_529 = keyMap[529]; + KeyMap_530 = keyMap[530]; + KeyMap_531 = keyMap[531]; + KeyMap_532 = keyMap[532]; + KeyMap_533 = keyMap[533]; + KeyMap_534 = keyMap[534]; + KeyMap_535 = keyMap[535]; + KeyMap_536 = keyMap[536]; + KeyMap_537 = keyMap[537]; + KeyMap_538 = keyMap[538]; + KeyMap_539 = keyMap[539]; + KeyMap_540 = keyMap[540]; + KeyMap_541 = keyMap[541]; + KeyMap_542 = keyMap[542]; + KeyMap_543 = keyMap[543]; + KeyMap_544 = keyMap[544]; + KeyMap_545 = keyMap[545]; + KeyMap_546 = keyMap[546]; + KeyMap_547 = keyMap[547]; + KeyMap_548 = keyMap[548]; + KeyMap_549 = keyMap[549]; + KeyMap_550 = keyMap[550]; + KeyMap_551 = keyMap[551]; + KeyMap_552 = keyMap[552]; + KeyMap_553 = keyMap[553]; + KeyMap_554 = keyMap[554]; + KeyMap_555 = keyMap[555]; + KeyMap_556 = keyMap[556]; + KeyMap_557 = keyMap[557]; + KeyMap_558 = keyMap[558]; + KeyMap_559 = keyMap[559]; + KeyMap_560 = keyMap[560]; + KeyMap_561 = keyMap[561]; + KeyMap_562 = keyMap[562]; + KeyMap_563 = keyMap[563]; + KeyMap_564 = keyMap[564]; + KeyMap_565 = keyMap[565]; + KeyMap_566 = keyMap[566]; + KeyMap_567 = keyMap[567]; + KeyMap_568 = keyMap[568]; + KeyMap_569 = keyMap[569]; + KeyMap_570 = keyMap[570]; + KeyMap_571 = keyMap[571]; + KeyMap_572 = keyMap[572]; + KeyMap_573 = keyMap[573]; + KeyMap_574 = keyMap[574]; + KeyMap_575 = keyMap[575]; + KeyMap_576 = keyMap[576]; + KeyMap_577 = keyMap[577]; + KeyMap_578 = keyMap[578]; + KeyMap_579 = keyMap[579]; + KeyMap_580 = keyMap[580]; + KeyMap_581 = keyMap[581]; + KeyMap_582 = keyMap[582]; + KeyMap_583 = keyMap[583]; + KeyMap_584 = keyMap[584]; + KeyMap_585 = keyMap[585]; + KeyMap_586 = keyMap[586]; + KeyMap_587 = keyMap[587]; + KeyMap_588 = keyMap[588]; + KeyMap_589 = keyMap[589]; + KeyMap_590 = keyMap[590]; + KeyMap_591 = keyMap[591]; + KeyMap_592 = keyMap[592]; + KeyMap_593 = keyMap[593]; + KeyMap_594 = keyMap[594]; + KeyMap_595 = keyMap[595]; + KeyMap_596 = keyMap[596]; + KeyMap_597 = keyMap[597]; + KeyMap_598 = keyMap[598]; + KeyMap_599 = keyMap[599]; + KeyMap_600 = keyMap[600]; + KeyMap_601 = keyMap[601]; + KeyMap_602 = keyMap[602]; + KeyMap_603 = keyMap[603]; + KeyMap_604 = keyMap[604]; + KeyMap_605 = keyMap[605]; + KeyMap_606 = keyMap[606]; + KeyMap_607 = keyMap[607]; + KeyMap_608 = keyMap[608]; + KeyMap_609 = keyMap[609]; + KeyMap_610 = keyMap[610]; + KeyMap_611 = keyMap[611]; + KeyMap_612 = keyMap[612]; + KeyMap_613 = keyMap[613]; + KeyMap_614 = keyMap[614]; + KeyMap_615 = keyMap[615]; + KeyMap_616 = keyMap[616]; + KeyMap_617 = keyMap[617]; + KeyMap_618 = keyMap[618]; + KeyMap_619 = keyMap[619]; + KeyMap_620 = keyMap[620]; + KeyMap_621 = keyMap[621]; + KeyMap_622 = keyMap[622]; + KeyMap_623 = keyMap[623]; + KeyMap_624 = keyMap[624]; + KeyMap_625 = keyMap[625]; + KeyMap_626 = keyMap[626]; + KeyMap_627 = keyMap[627]; + KeyMap_628 = keyMap[628]; + KeyMap_629 = keyMap[629]; + KeyMap_630 = keyMap[630]; + KeyMap_631 = keyMap[631]; + KeyMap_632 = keyMap[632]; + KeyMap_633 = keyMap[633]; + KeyMap_634 = keyMap[634]; + KeyMap_635 = keyMap[635]; + KeyMap_636 = keyMap[636]; + KeyMap_637 = keyMap[637]; + KeyMap_638 = keyMap[638]; + KeyMap_639 = keyMap[639]; + KeyMap_640 = keyMap[640]; + KeyMap_641 = keyMap[641]; + KeyMap_642 = keyMap[642]; + KeyMap_643 = keyMap[643]; + KeyMap_644 = keyMap[644]; + } + if (keysDown != default(byte*)) + { + KeysDown_0 = keysDown[0]; + KeysDown_1 = keysDown[1]; + KeysDown_2 = keysDown[2]; + KeysDown_3 = keysDown[3]; + KeysDown_4 = keysDown[4]; + KeysDown_5 = keysDown[5]; + KeysDown_6 = keysDown[6]; + KeysDown_7 = keysDown[7]; + KeysDown_8 = keysDown[8]; + KeysDown_9 = keysDown[9]; + KeysDown_10 = keysDown[10]; + KeysDown_11 = keysDown[11]; + KeysDown_12 = keysDown[12]; + KeysDown_13 = keysDown[13]; + KeysDown_14 = keysDown[14]; + KeysDown_15 = keysDown[15]; + KeysDown_16 = keysDown[16]; + KeysDown_17 = keysDown[17]; + KeysDown_18 = keysDown[18]; + KeysDown_19 = keysDown[19]; + KeysDown_20 = keysDown[20]; + KeysDown_21 = keysDown[21]; + KeysDown_22 = keysDown[22]; + KeysDown_23 = keysDown[23]; + KeysDown_24 = keysDown[24]; + KeysDown_25 = keysDown[25]; + KeysDown_26 = keysDown[26]; + KeysDown_27 = keysDown[27]; + KeysDown_28 = keysDown[28]; + KeysDown_29 = keysDown[29]; + KeysDown_30 = keysDown[30]; + KeysDown_31 = keysDown[31]; + KeysDown_32 = keysDown[32]; + KeysDown_33 = keysDown[33]; + KeysDown_34 = keysDown[34]; + KeysDown_35 = keysDown[35]; + KeysDown_36 = keysDown[36]; + KeysDown_37 = keysDown[37]; + KeysDown_38 = keysDown[38]; + KeysDown_39 = keysDown[39]; + KeysDown_40 = keysDown[40]; + KeysDown_41 = keysDown[41]; + KeysDown_42 = keysDown[42]; + KeysDown_43 = keysDown[43]; + KeysDown_44 = keysDown[44]; + KeysDown_45 = keysDown[45]; + KeysDown_46 = keysDown[46]; + KeysDown_47 = keysDown[47]; + KeysDown_48 = keysDown[48]; + KeysDown_49 = keysDown[49]; + KeysDown_50 = keysDown[50]; + KeysDown_51 = keysDown[51]; + KeysDown_52 = keysDown[52]; + KeysDown_53 = keysDown[53]; + KeysDown_54 = keysDown[54]; + KeysDown_55 = keysDown[55]; + KeysDown_56 = keysDown[56]; + KeysDown_57 = keysDown[57]; + KeysDown_58 = keysDown[58]; + KeysDown_59 = keysDown[59]; + KeysDown_60 = keysDown[60]; + KeysDown_61 = keysDown[61]; + KeysDown_62 = keysDown[62]; + KeysDown_63 = keysDown[63]; + KeysDown_64 = keysDown[64]; + KeysDown_65 = keysDown[65]; + KeysDown_66 = keysDown[66]; + KeysDown_67 = keysDown[67]; + KeysDown_68 = keysDown[68]; + KeysDown_69 = keysDown[69]; + KeysDown_70 = keysDown[70]; + KeysDown_71 = keysDown[71]; + KeysDown_72 = keysDown[72]; + KeysDown_73 = keysDown[73]; + KeysDown_74 = keysDown[74]; + KeysDown_75 = keysDown[75]; + KeysDown_76 = keysDown[76]; + KeysDown_77 = keysDown[77]; + KeysDown_78 = keysDown[78]; + KeysDown_79 = keysDown[79]; + KeysDown_80 = keysDown[80]; + KeysDown_81 = keysDown[81]; + KeysDown_82 = keysDown[82]; + KeysDown_83 = keysDown[83]; + KeysDown_84 = keysDown[84]; + KeysDown_85 = keysDown[85]; + KeysDown_86 = keysDown[86]; + KeysDown_87 = keysDown[87]; + KeysDown_88 = keysDown[88]; + KeysDown_89 = keysDown[89]; + KeysDown_90 = keysDown[90]; + KeysDown_91 = keysDown[91]; + KeysDown_92 = keysDown[92]; + KeysDown_93 = keysDown[93]; + KeysDown_94 = keysDown[94]; + KeysDown_95 = keysDown[95]; + KeysDown_96 = keysDown[96]; + KeysDown_97 = keysDown[97]; + KeysDown_98 = keysDown[98]; + KeysDown_99 = keysDown[99]; + KeysDown_100 = keysDown[100]; + KeysDown_101 = keysDown[101]; + KeysDown_102 = keysDown[102]; + KeysDown_103 = keysDown[103]; + KeysDown_104 = keysDown[104]; + KeysDown_105 = keysDown[105]; + KeysDown_106 = keysDown[106]; + KeysDown_107 = keysDown[107]; + KeysDown_108 = keysDown[108]; + KeysDown_109 = keysDown[109]; + KeysDown_110 = keysDown[110]; + KeysDown_111 = keysDown[111]; + KeysDown_112 = keysDown[112]; + KeysDown_113 = keysDown[113]; + KeysDown_114 = keysDown[114]; + KeysDown_115 = keysDown[115]; + KeysDown_116 = keysDown[116]; + KeysDown_117 = keysDown[117]; + KeysDown_118 = keysDown[118]; + KeysDown_119 = keysDown[119]; + KeysDown_120 = keysDown[120]; + KeysDown_121 = keysDown[121]; + KeysDown_122 = keysDown[122]; + KeysDown_123 = keysDown[123]; + KeysDown_124 = keysDown[124]; + KeysDown_125 = keysDown[125]; + KeysDown_126 = keysDown[126]; + KeysDown_127 = keysDown[127]; + KeysDown_128 = keysDown[128]; + KeysDown_129 = keysDown[129]; + KeysDown_130 = keysDown[130]; + KeysDown_131 = keysDown[131]; + KeysDown_132 = keysDown[132]; + KeysDown_133 = keysDown[133]; + KeysDown_134 = keysDown[134]; + KeysDown_135 = keysDown[135]; + KeysDown_136 = keysDown[136]; + KeysDown_137 = keysDown[137]; + KeysDown_138 = keysDown[138]; + KeysDown_139 = keysDown[139]; + KeysDown_140 = keysDown[140]; + KeysDown_141 = keysDown[141]; + KeysDown_142 = keysDown[142]; + KeysDown_143 = keysDown[143]; + KeysDown_144 = keysDown[144]; + KeysDown_145 = keysDown[145]; + KeysDown_146 = keysDown[146]; + KeysDown_147 = keysDown[147]; + KeysDown_148 = keysDown[148]; + KeysDown_149 = keysDown[149]; + KeysDown_150 = keysDown[150]; + KeysDown_151 = keysDown[151]; + KeysDown_152 = keysDown[152]; + KeysDown_153 = keysDown[153]; + KeysDown_154 = keysDown[154]; + KeysDown_155 = keysDown[155]; + KeysDown_156 = keysDown[156]; + KeysDown_157 = keysDown[157]; + KeysDown_158 = keysDown[158]; + KeysDown_159 = keysDown[159]; + KeysDown_160 = keysDown[160]; + KeysDown_161 = keysDown[161]; + KeysDown_162 = keysDown[162]; + KeysDown_163 = keysDown[163]; + KeysDown_164 = keysDown[164]; + KeysDown_165 = keysDown[165]; + KeysDown_166 = keysDown[166]; + KeysDown_167 = keysDown[167]; + KeysDown_168 = keysDown[168]; + KeysDown_169 = keysDown[169]; + KeysDown_170 = keysDown[170]; + KeysDown_171 = keysDown[171]; + KeysDown_172 = keysDown[172]; + KeysDown_173 = keysDown[173]; + KeysDown_174 = keysDown[174]; + KeysDown_175 = keysDown[175]; + KeysDown_176 = keysDown[176]; + KeysDown_177 = keysDown[177]; + KeysDown_178 = keysDown[178]; + KeysDown_179 = keysDown[179]; + KeysDown_180 = keysDown[180]; + KeysDown_181 = keysDown[181]; + KeysDown_182 = keysDown[182]; + KeysDown_183 = keysDown[183]; + KeysDown_184 = keysDown[184]; + KeysDown_185 = keysDown[185]; + KeysDown_186 = keysDown[186]; + KeysDown_187 = keysDown[187]; + KeysDown_188 = keysDown[188]; + KeysDown_189 = keysDown[189]; + KeysDown_190 = keysDown[190]; + KeysDown_191 = keysDown[191]; + KeysDown_192 = keysDown[192]; + KeysDown_193 = keysDown[193]; + KeysDown_194 = keysDown[194]; + KeysDown_195 = keysDown[195]; + KeysDown_196 = keysDown[196]; + KeysDown_197 = keysDown[197]; + KeysDown_198 = keysDown[198]; + KeysDown_199 = keysDown[199]; + KeysDown_200 = keysDown[200]; + KeysDown_201 = keysDown[201]; + KeysDown_202 = keysDown[202]; + KeysDown_203 = keysDown[203]; + KeysDown_204 = keysDown[204]; + KeysDown_205 = keysDown[205]; + KeysDown_206 = keysDown[206]; + KeysDown_207 = keysDown[207]; + KeysDown_208 = keysDown[208]; + KeysDown_209 = keysDown[209]; + KeysDown_210 = keysDown[210]; + KeysDown_211 = keysDown[211]; + KeysDown_212 = keysDown[212]; + KeysDown_213 = keysDown[213]; + KeysDown_214 = keysDown[214]; + KeysDown_215 = keysDown[215]; + KeysDown_216 = keysDown[216]; + KeysDown_217 = keysDown[217]; + KeysDown_218 = keysDown[218]; + KeysDown_219 = keysDown[219]; + KeysDown_220 = keysDown[220]; + KeysDown_221 = keysDown[221]; + KeysDown_222 = keysDown[222]; + KeysDown_223 = keysDown[223]; + KeysDown_224 = keysDown[224]; + KeysDown_225 = keysDown[225]; + KeysDown_226 = keysDown[226]; + KeysDown_227 = keysDown[227]; + KeysDown_228 = keysDown[228]; + KeysDown_229 = keysDown[229]; + KeysDown_230 = keysDown[230]; + KeysDown_231 = keysDown[231]; + KeysDown_232 = keysDown[232]; + KeysDown_233 = keysDown[233]; + KeysDown_234 = keysDown[234]; + KeysDown_235 = keysDown[235]; + KeysDown_236 = keysDown[236]; + KeysDown_237 = keysDown[237]; + KeysDown_238 = keysDown[238]; + KeysDown_239 = keysDown[239]; + KeysDown_240 = keysDown[240]; + KeysDown_241 = keysDown[241]; + KeysDown_242 = keysDown[242]; + KeysDown_243 = keysDown[243]; + KeysDown_244 = keysDown[244]; + KeysDown_245 = keysDown[245]; + KeysDown_246 = keysDown[246]; + KeysDown_247 = keysDown[247]; + KeysDown_248 = keysDown[248]; + KeysDown_249 = keysDown[249]; + KeysDown_250 = keysDown[250]; + KeysDown_251 = keysDown[251]; + KeysDown_252 = keysDown[252]; + KeysDown_253 = keysDown[253]; + KeysDown_254 = keysDown[254]; + KeysDown_255 = keysDown[255]; + KeysDown_256 = keysDown[256]; + KeysDown_257 = keysDown[257]; + KeysDown_258 = keysDown[258]; + KeysDown_259 = keysDown[259]; + KeysDown_260 = keysDown[260]; + KeysDown_261 = keysDown[261]; + KeysDown_262 = keysDown[262]; + KeysDown_263 = keysDown[263]; + KeysDown_264 = keysDown[264]; + KeysDown_265 = keysDown[265]; + KeysDown_266 = keysDown[266]; + KeysDown_267 = keysDown[267]; + KeysDown_268 = keysDown[268]; + KeysDown_269 = keysDown[269]; + KeysDown_270 = keysDown[270]; + KeysDown_271 = keysDown[271]; + KeysDown_272 = keysDown[272]; + KeysDown_273 = keysDown[273]; + KeysDown_274 = keysDown[274]; + KeysDown_275 = keysDown[275]; + KeysDown_276 = keysDown[276]; + KeysDown_277 = keysDown[277]; + KeysDown_278 = keysDown[278]; + KeysDown_279 = keysDown[279]; + KeysDown_280 = keysDown[280]; + KeysDown_281 = keysDown[281]; + KeysDown_282 = keysDown[282]; + KeysDown_283 = keysDown[283]; + KeysDown_284 = keysDown[284]; + KeysDown_285 = keysDown[285]; + KeysDown_286 = keysDown[286]; + KeysDown_287 = keysDown[287]; + KeysDown_288 = keysDown[288]; + KeysDown_289 = keysDown[289]; + KeysDown_290 = keysDown[290]; + KeysDown_291 = keysDown[291]; + KeysDown_292 = keysDown[292]; + KeysDown_293 = keysDown[293]; + KeysDown_294 = keysDown[294]; + KeysDown_295 = keysDown[295]; + KeysDown_296 = keysDown[296]; + KeysDown_297 = keysDown[297]; + KeysDown_298 = keysDown[298]; + KeysDown_299 = keysDown[299]; + KeysDown_300 = keysDown[300]; + KeysDown_301 = keysDown[301]; + KeysDown_302 = keysDown[302]; + KeysDown_303 = keysDown[303]; + KeysDown_304 = keysDown[304]; + KeysDown_305 = keysDown[305]; + KeysDown_306 = keysDown[306]; + KeysDown_307 = keysDown[307]; + KeysDown_308 = keysDown[308]; + KeysDown_309 = keysDown[309]; + KeysDown_310 = keysDown[310]; + KeysDown_311 = keysDown[311]; + KeysDown_312 = keysDown[312]; + KeysDown_313 = keysDown[313]; + KeysDown_314 = keysDown[314]; + KeysDown_315 = keysDown[315]; + KeysDown_316 = keysDown[316]; + KeysDown_317 = keysDown[317]; + KeysDown_318 = keysDown[318]; + KeysDown_319 = keysDown[319]; + KeysDown_320 = keysDown[320]; + KeysDown_321 = keysDown[321]; + KeysDown_322 = keysDown[322]; + KeysDown_323 = keysDown[323]; + KeysDown_324 = keysDown[324]; + KeysDown_325 = keysDown[325]; + KeysDown_326 = keysDown[326]; + KeysDown_327 = keysDown[327]; + KeysDown_328 = keysDown[328]; + KeysDown_329 = keysDown[329]; + KeysDown_330 = keysDown[330]; + KeysDown_331 = keysDown[331]; + KeysDown_332 = keysDown[332]; + KeysDown_333 = keysDown[333]; + KeysDown_334 = keysDown[334]; + KeysDown_335 = keysDown[335]; + KeysDown_336 = keysDown[336]; + KeysDown_337 = keysDown[337]; + KeysDown_338 = keysDown[338]; + KeysDown_339 = keysDown[339]; + KeysDown_340 = keysDown[340]; + KeysDown_341 = keysDown[341]; + KeysDown_342 = keysDown[342]; + KeysDown_343 = keysDown[343]; + KeysDown_344 = keysDown[344]; + KeysDown_345 = keysDown[345]; + KeysDown_346 = keysDown[346]; + KeysDown_347 = keysDown[347]; + KeysDown_348 = keysDown[348]; + KeysDown_349 = keysDown[349]; + KeysDown_350 = keysDown[350]; + KeysDown_351 = keysDown[351]; + KeysDown_352 = keysDown[352]; + KeysDown_353 = keysDown[353]; + KeysDown_354 = keysDown[354]; + KeysDown_355 = keysDown[355]; + KeysDown_356 = keysDown[356]; + KeysDown_357 = keysDown[357]; + KeysDown_358 = keysDown[358]; + KeysDown_359 = keysDown[359]; + KeysDown_360 = keysDown[360]; + KeysDown_361 = keysDown[361]; + KeysDown_362 = keysDown[362]; + KeysDown_363 = keysDown[363]; + KeysDown_364 = keysDown[364]; + KeysDown_365 = keysDown[365]; + KeysDown_366 = keysDown[366]; + KeysDown_367 = keysDown[367]; + KeysDown_368 = keysDown[368]; + KeysDown_369 = keysDown[369]; + KeysDown_370 = keysDown[370]; + KeysDown_371 = keysDown[371]; + KeysDown_372 = keysDown[372]; + KeysDown_373 = keysDown[373]; + KeysDown_374 = keysDown[374]; + KeysDown_375 = keysDown[375]; + KeysDown_376 = keysDown[376]; + KeysDown_377 = keysDown[377]; + KeysDown_378 = keysDown[378]; + KeysDown_379 = keysDown[379]; + KeysDown_380 = keysDown[380]; + KeysDown_381 = keysDown[381]; + KeysDown_382 = keysDown[382]; + KeysDown_383 = keysDown[383]; + KeysDown_384 = keysDown[384]; + KeysDown_385 = keysDown[385]; + KeysDown_386 = keysDown[386]; + KeysDown_387 = keysDown[387]; + KeysDown_388 = keysDown[388]; + KeysDown_389 = keysDown[389]; + KeysDown_390 = keysDown[390]; + KeysDown_391 = keysDown[391]; + KeysDown_392 = keysDown[392]; + KeysDown_393 = keysDown[393]; + KeysDown_394 = keysDown[394]; + KeysDown_395 = keysDown[395]; + KeysDown_396 = keysDown[396]; + KeysDown_397 = keysDown[397]; + KeysDown_398 = keysDown[398]; + KeysDown_399 = keysDown[399]; + KeysDown_400 = keysDown[400]; + KeysDown_401 = keysDown[401]; + KeysDown_402 = keysDown[402]; + KeysDown_403 = keysDown[403]; + KeysDown_404 = keysDown[404]; + KeysDown_405 = keysDown[405]; + KeysDown_406 = keysDown[406]; + KeysDown_407 = keysDown[407]; + KeysDown_408 = keysDown[408]; + KeysDown_409 = keysDown[409]; + KeysDown_410 = keysDown[410]; + KeysDown_411 = keysDown[411]; + KeysDown_412 = keysDown[412]; + KeysDown_413 = keysDown[413]; + KeysDown_414 = keysDown[414]; + KeysDown_415 = keysDown[415]; + KeysDown_416 = keysDown[416]; + KeysDown_417 = keysDown[417]; + KeysDown_418 = keysDown[418]; + KeysDown_419 = keysDown[419]; + KeysDown_420 = keysDown[420]; + KeysDown_421 = keysDown[421]; + KeysDown_422 = keysDown[422]; + KeysDown_423 = keysDown[423]; + KeysDown_424 = keysDown[424]; + KeysDown_425 = keysDown[425]; + KeysDown_426 = keysDown[426]; + KeysDown_427 = keysDown[427]; + KeysDown_428 = keysDown[428]; + KeysDown_429 = keysDown[429]; + KeysDown_430 = keysDown[430]; + KeysDown_431 = keysDown[431]; + KeysDown_432 = keysDown[432]; + KeysDown_433 = keysDown[433]; + KeysDown_434 = keysDown[434]; + KeysDown_435 = keysDown[435]; + KeysDown_436 = keysDown[436]; + KeysDown_437 = keysDown[437]; + KeysDown_438 = keysDown[438]; + KeysDown_439 = keysDown[439]; + KeysDown_440 = keysDown[440]; + KeysDown_441 = keysDown[441]; + KeysDown_442 = keysDown[442]; + KeysDown_443 = keysDown[443]; + KeysDown_444 = keysDown[444]; + KeysDown_445 = keysDown[445]; + KeysDown_446 = keysDown[446]; + KeysDown_447 = keysDown[447]; + KeysDown_448 = keysDown[448]; + KeysDown_449 = keysDown[449]; + KeysDown_450 = keysDown[450]; + KeysDown_451 = keysDown[451]; + KeysDown_452 = keysDown[452]; + KeysDown_453 = keysDown[453]; + KeysDown_454 = keysDown[454]; + KeysDown_455 = keysDown[455]; + KeysDown_456 = keysDown[456]; + KeysDown_457 = keysDown[457]; + KeysDown_458 = keysDown[458]; + KeysDown_459 = keysDown[459]; + KeysDown_460 = keysDown[460]; + KeysDown_461 = keysDown[461]; + KeysDown_462 = keysDown[462]; + KeysDown_463 = keysDown[463]; + KeysDown_464 = keysDown[464]; + KeysDown_465 = keysDown[465]; + KeysDown_466 = keysDown[466]; + KeysDown_467 = keysDown[467]; + KeysDown_468 = keysDown[468]; + KeysDown_469 = keysDown[469]; + KeysDown_470 = keysDown[470]; + KeysDown_471 = keysDown[471]; + KeysDown_472 = keysDown[472]; + KeysDown_473 = keysDown[473]; + KeysDown_474 = keysDown[474]; + KeysDown_475 = keysDown[475]; + KeysDown_476 = keysDown[476]; + KeysDown_477 = keysDown[477]; + KeysDown_478 = keysDown[478]; + KeysDown_479 = keysDown[479]; + KeysDown_480 = keysDown[480]; + KeysDown_481 = keysDown[481]; + KeysDown_482 = keysDown[482]; + KeysDown_483 = keysDown[483]; + KeysDown_484 = keysDown[484]; + KeysDown_485 = keysDown[485]; + KeysDown_486 = keysDown[486]; + KeysDown_487 = keysDown[487]; + KeysDown_488 = keysDown[488]; + KeysDown_489 = keysDown[489]; + KeysDown_490 = keysDown[490]; + KeysDown_491 = keysDown[491]; + KeysDown_492 = keysDown[492]; + KeysDown_493 = keysDown[493]; + KeysDown_494 = keysDown[494]; + KeysDown_495 = keysDown[495]; + KeysDown_496 = keysDown[496]; + KeysDown_497 = keysDown[497]; + KeysDown_498 = keysDown[498]; + KeysDown_499 = keysDown[499]; + KeysDown_500 = keysDown[500]; + KeysDown_501 = keysDown[501]; + KeysDown_502 = keysDown[502]; + KeysDown_503 = keysDown[503]; + KeysDown_504 = keysDown[504]; + KeysDown_505 = keysDown[505]; + KeysDown_506 = keysDown[506]; + KeysDown_507 = keysDown[507]; + KeysDown_508 = keysDown[508]; + KeysDown_509 = keysDown[509]; + KeysDown_510 = keysDown[510]; + KeysDown_511 = keysDown[511]; + KeysDown_512 = keysDown[512]; + KeysDown_513 = keysDown[513]; + KeysDown_514 = keysDown[514]; + KeysDown_515 = keysDown[515]; + KeysDown_516 = keysDown[516]; + KeysDown_517 = keysDown[517]; + KeysDown_518 = keysDown[518]; + KeysDown_519 = keysDown[519]; + KeysDown_520 = keysDown[520]; + KeysDown_521 = keysDown[521]; + KeysDown_522 = keysDown[522]; + KeysDown_523 = keysDown[523]; + KeysDown_524 = keysDown[524]; + KeysDown_525 = keysDown[525]; + KeysDown_526 = keysDown[526]; + KeysDown_527 = keysDown[527]; + KeysDown_528 = keysDown[528]; + KeysDown_529 = keysDown[529]; + KeysDown_530 = keysDown[530]; + KeysDown_531 = keysDown[531]; + KeysDown_532 = keysDown[532]; + KeysDown_533 = keysDown[533]; + KeysDown_534 = keysDown[534]; + KeysDown_535 = keysDown[535]; + KeysDown_536 = keysDown[536]; + KeysDown_537 = keysDown[537]; + KeysDown_538 = keysDown[538]; + KeysDown_539 = keysDown[539]; + KeysDown_540 = keysDown[540]; + KeysDown_541 = keysDown[541]; + KeysDown_542 = keysDown[542]; + KeysDown_543 = keysDown[543]; + KeysDown_544 = keysDown[544]; + KeysDown_545 = keysDown[545]; + KeysDown_546 = keysDown[546]; + KeysDown_547 = keysDown[547]; + KeysDown_548 = keysDown[548]; + KeysDown_549 = keysDown[549]; + KeysDown_550 = keysDown[550]; + KeysDown_551 = keysDown[551]; + KeysDown_552 = keysDown[552]; + KeysDown_553 = keysDown[553]; + KeysDown_554 = keysDown[554]; + KeysDown_555 = keysDown[555]; + KeysDown_556 = keysDown[556]; + KeysDown_557 = keysDown[557]; + KeysDown_558 = keysDown[558]; + KeysDown_559 = keysDown[559]; + KeysDown_560 = keysDown[560]; + KeysDown_561 = keysDown[561]; + KeysDown_562 = keysDown[562]; + KeysDown_563 = keysDown[563]; + KeysDown_564 = keysDown[564]; + KeysDown_565 = keysDown[565]; + KeysDown_566 = keysDown[566]; + KeysDown_567 = keysDown[567]; + KeysDown_568 = keysDown[568]; + KeysDown_569 = keysDown[569]; + KeysDown_570 = keysDown[570]; + KeysDown_571 = keysDown[571]; + KeysDown_572 = keysDown[572]; + KeysDown_573 = keysDown[573]; + KeysDown_574 = keysDown[574]; + KeysDown_575 = keysDown[575]; + KeysDown_576 = keysDown[576]; + KeysDown_577 = keysDown[577]; + KeysDown_578 = keysDown[578]; + KeysDown_579 = keysDown[579]; + KeysDown_580 = keysDown[580]; + KeysDown_581 = keysDown[581]; + KeysDown_582 = keysDown[582]; + KeysDown_583 = keysDown[583]; + KeysDown_584 = keysDown[584]; + KeysDown_585 = keysDown[585]; + KeysDown_586 = keysDown[586]; + KeysDown_587 = keysDown[587]; + KeysDown_588 = keysDown[588]; + KeysDown_589 = keysDown[589]; + KeysDown_590 = keysDown[590]; + KeysDown_591 = keysDown[591]; + KeysDown_592 = keysDown[592]; + KeysDown_593 = keysDown[593]; + KeysDown_594 = keysDown[594]; + KeysDown_595 = keysDown[595]; + KeysDown_596 = keysDown[596]; + KeysDown_597 = keysDown[597]; + KeysDown_598 = keysDown[598]; + KeysDown_599 = keysDown[599]; + KeysDown_600 = keysDown[600]; + KeysDown_601 = keysDown[601]; + KeysDown_602 = keysDown[602]; + KeysDown_603 = keysDown[603]; + KeysDown_604 = keysDown[604]; + KeysDown_605 = keysDown[605]; + KeysDown_606 = keysDown[606]; + KeysDown_607 = keysDown[607]; + KeysDown_608 = keysDown[608]; + KeysDown_609 = keysDown[609]; + KeysDown_610 = keysDown[610]; + KeysDown_611 = keysDown[611]; + KeysDown_612 = keysDown[612]; + KeysDown_613 = keysDown[613]; + KeysDown_614 = keysDown[614]; + KeysDown_615 = keysDown[615]; + KeysDown_616 = keysDown[616]; + KeysDown_617 = keysDown[617]; + KeysDown_618 = keysDown[618]; + KeysDown_619 = keysDown[619]; + KeysDown_620 = keysDown[620]; + KeysDown_621 = keysDown[621]; + KeysDown_622 = keysDown[622]; + KeysDown_623 = keysDown[623]; + KeysDown_624 = keysDown[624]; + KeysDown_625 = keysDown[625]; + KeysDown_626 = keysDown[626]; + KeysDown_627 = keysDown[627]; + KeysDown_628 = keysDown[628]; + KeysDown_629 = keysDown[629]; + KeysDown_630 = keysDown[630]; + KeysDown_631 = keysDown[631]; + KeysDown_632 = keysDown[632]; + KeysDown_633 = keysDown[633]; + KeysDown_634 = keysDown[634]; + KeysDown_635 = keysDown[635]; + KeysDown_636 = keysDown[636]; + KeysDown_637 = keysDown[637]; + KeysDown_638 = keysDown[638]; + KeysDown_639 = keysDown[639]; + KeysDown_640 = keysDown[640]; + KeysDown_641 = keysDown[641]; + KeysDown_642 = keysDown[642]; + KeysDown_643 = keysDown[643]; + KeysDown_644 = keysDown[644]; + } + MousePos = mousePos; + if (mouseDown != default(byte*)) + { + MouseDown_0 = mouseDown[0]; + MouseDown_1 = mouseDown[1]; + MouseDown_2 = mouseDown[2]; + MouseDown_3 = mouseDown[3]; + MouseDown_4 = mouseDown[4]; + } + MouseWheel = mouseWheel; + MouseWheelH = mouseWheelH; + MouseHoveredViewport = mouseHoveredViewport; + KeyCtrl = keyCtrl ? (byte)1 : (byte)0; + KeyShift = keyShift ? (byte)1 : (byte)0; + KeyAlt = keyAlt ? (byte)1 : (byte)0; + KeySuper = keySuper ? (byte)1 : (byte)0; + if (navInputs != default(float*)) + { + NavInputs_0 = navInputs[0]; + NavInputs_1 = navInputs[1]; + NavInputs_2 = navInputs[2]; + NavInputs_3 = navInputs[3]; + NavInputs_4 = navInputs[4]; + NavInputs_5 = navInputs[5]; + NavInputs_6 = navInputs[6]; + NavInputs_7 = navInputs[7]; + NavInputs_8 = navInputs[8]; + NavInputs_9 = navInputs[9]; + NavInputs_10 = navInputs[10]; + NavInputs_11 = navInputs[11]; + NavInputs_12 = navInputs[12]; + NavInputs_13 = navInputs[13]; + NavInputs_14 = navInputs[14]; + NavInputs_15 = navInputs[15]; + NavInputs_16 = navInputs[16]; + NavInputs_17 = navInputs[17]; + NavInputs_18 = navInputs[18]; + NavInputs_19 = navInputs[19]; + NavInputs_20 = navInputs[20]; + } + KeyMods = keyMods; + if (keysData != default(ImGuiKeyData*)) + { + KeysData_0 = keysData[0]; + KeysData_1 = keysData[1]; + KeysData_2 = keysData[2]; + KeysData_3 = keysData[3]; + KeysData_4 = keysData[4]; + KeysData_5 = keysData[5]; + KeysData_6 = keysData[6]; + KeysData_7 = keysData[7]; + KeysData_8 = keysData[8]; + KeysData_9 = keysData[9]; + KeysData_10 = keysData[10]; + KeysData_11 = keysData[11]; + KeysData_12 = keysData[12]; + KeysData_13 = keysData[13]; + KeysData_14 = keysData[14]; + KeysData_15 = keysData[15]; + KeysData_16 = keysData[16]; + KeysData_17 = keysData[17]; + KeysData_18 = keysData[18]; + KeysData_19 = keysData[19]; + KeysData_20 = keysData[20]; + KeysData_21 = keysData[21]; + KeysData_22 = keysData[22]; + KeysData_23 = keysData[23]; + KeysData_24 = keysData[24]; + KeysData_25 = keysData[25]; + KeysData_26 = keysData[26]; + KeysData_27 = keysData[27]; + KeysData_28 = keysData[28]; + KeysData_29 = keysData[29]; + KeysData_30 = keysData[30]; + KeysData_31 = keysData[31]; + KeysData_32 = keysData[32]; + KeysData_33 = keysData[33]; + KeysData_34 = keysData[34]; + KeysData_35 = keysData[35]; + KeysData_36 = keysData[36]; + KeysData_37 = keysData[37]; + KeysData_38 = keysData[38]; + KeysData_39 = keysData[39]; + KeysData_40 = keysData[40]; + KeysData_41 = keysData[41]; + KeysData_42 = keysData[42]; + KeysData_43 = keysData[43]; + KeysData_44 = keysData[44]; + KeysData_45 = keysData[45]; + KeysData_46 = keysData[46]; + KeysData_47 = keysData[47]; + KeysData_48 = keysData[48]; + KeysData_49 = keysData[49]; + KeysData_50 = keysData[50]; + KeysData_51 = keysData[51]; + KeysData_52 = keysData[52]; + KeysData_53 = keysData[53]; + KeysData_54 = keysData[54]; + KeysData_55 = keysData[55]; + KeysData_56 = keysData[56]; + KeysData_57 = keysData[57]; + KeysData_58 = keysData[58]; + KeysData_59 = keysData[59]; + KeysData_60 = keysData[60]; + KeysData_61 = keysData[61]; + KeysData_62 = keysData[62]; + KeysData_63 = keysData[63]; + KeysData_64 = keysData[64]; + KeysData_65 = keysData[65]; + KeysData_66 = keysData[66]; + KeysData_67 = keysData[67]; + KeysData_68 = keysData[68]; + KeysData_69 = keysData[69]; + KeysData_70 = keysData[70]; + KeysData_71 = keysData[71]; + KeysData_72 = keysData[72]; + KeysData_73 = keysData[73]; + KeysData_74 = keysData[74]; + KeysData_75 = keysData[75]; + KeysData_76 = keysData[76]; + KeysData_77 = keysData[77]; + KeysData_78 = keysData[78]; + KeysData_79 = keysData[79]; + KeysData_80 = keysData[80]; + KeysData_81 = keysData[81]; + KeysData_82 = keysData[82]; + KeysData_83 = keysData[83]; + KeysData_84 = keysData[84]; + KeysData_85 = keysData[85]; + KeysData_86 = keysData[86]; + KeysData_87 = keysData[87]; + KeysData_88 = keysData[88]; + KeysData_89 = keysData[89]; + KeysData_90 = keysData[90]; + KeysData_91 = keysData[91]; + KeysData_92 = keysData[92]; + KeysData_93 = keysData[93]; + KeysData_94 = keysData[94]; + KeysData_95 = keysData[95]; + KeysData_96 = keysData[96]; + KeysData_97 = keysData[97]; + KeysData_98 = keysData[98]; + KeysData_99 = keysData[99]; + KeysData_100 = keysData[100]; + KeysData_101 = keysData[101]; + KeysData_102 = keysData[102]; + KeysData_103 = keysData[103]; + KeysData_104 = keysData[104]; + KeysData_105 = keysData[105]; + KeysData_106 = keysData[106]; + KeysData_107 = keysData[107]; + KeysData_108 = keysData[108]; + KeysData_109 = keysData[109]; + KeysData_110 = keysData[110]; + KeysData_111 = keysData[111]; + KeysData_112 = keysData[112]; + KeysData_113 = keysData[113]; + KeysData_114 = keysData[114]; + KeysData_115 = keysData[115]; + KeysData_116 = keysData[116]; + KeysData_117 = keysData[117]; + KeysData_118 = keysData[118]; + KeysData_119 = keysData[119]; + KeysData_120 = keysData[120]; + KeysData_121 = keysData[121]; + KeysData_122 = keysData[122]; + KeysData_123 = keysData[123]; + KeysData_124 = keysData[124]; + KeysData_125 = keysData[125]; + KeysData_126 = keysData[126]; + KeysData_127 = keysData[127]; + KeysData_128 = keysData[128]; + KeysData_129 = keysData[129]; + KeysData_130 = keysData[130]; + KeysData_131 = keysData[131]; + KeysData_132 = keysData[132]; + KeysData_133 = keysData[133]; + KeysData_134 = keysData[134]; + KeysData_135 = keysData[135]; + KeysData_136 = keysData[136]; + KeysData_137 = keysData[137]; + KeysData_138 = keysData[138]; + KeysData_139 = keysData[139]; + KeysData_140 = keysData[140]; + KeysData_141 = keysData[141]; + KeysData_142 = keysData[142]; + KeysData_143 = keysData[143]; + KeysData_144 = keysData[144]; + KeysData_145 = keysData[145]; + KeysData_146 = keysData[146]; + KeysData_147 = keysData[147]; + KeysData_148 = keysData[148]; + KeysData_149 = keysData[149]; + KeysData_150 = keysData[150]; + KeysData_151 = keysData[151]; + KeysData_152 = keysData[152]; + KeysData_153 = keysData[153]; + KeysData_154 = keysData[154]; + KeysData_155 = keysData[155]; + KeysData_156 = keysData[156]; + KeysData_157 = keysData[157]; + KeysData_158 = keysData[158]; + KeysData_159 = keysData[159]; + KeysData_160 = keysData[160]; + KeysData_161 = keysData[161]; + KeysData_162 = keysData[162]; + KeysData_163 = keysData[163]; + KeysData_164 = keysData[164]; + KeysData_165 = keysData[165]; + KeysData_166 = keysData[166]; + KeysData_167 = keysData[167]; + KeysData_168 = keysData[168]; + KeysData_169 = keysData[169]; + KeysData_170 = keysData[170]; + KeysData_171 = keysData[171]; + KeysData_172 = keysData[172]; + KeysData_173 = keysData[173]; + KeysData_174 = keysData[174]; + KeysData_175 = keysData[175]; + KeysData_176 = keysData[176]; + KeysData_177 = keysData[177]; + KeysData_178 = keysData[178]; + KeysData_179 = keysData[179]; + KeysData_180 = keysData[180]; + KeysData_181 = keysData[181]; + KeysData_182 = keysData[182]; + KeysData_183 = keysData[183]; + KeysData_184 = keysData[184]; + KeysData_185 = keysData[185]; + KeysData_186 = keysData[186]; + KeysData_187 = keysData[187]; + KeysData_188 = keysData[188]; + KeysData_189 = keysData[189]; + KeysData_190 = keysData[190]; + KeysData_191 = keysData[191]; + KeysData_192 = keysData[192]; + KeysData_193 = keysData[193]; + KeysData_194 = keysData[194]; + KeysData_195 = keysData[195]; + KeysData_196 = keysData[196]; + KeysData_197 = keysData[197]; + KeysData_198 = keysData[198]; + KeysData_199 = keysData[199]; + KeysData_200 = keysData[200]; + KeysData_201 = keysData[201]; + KeysData_202 = keysData[202]; + KeysData_203 = keysData[203]; + KeysData_204 = keysData[204]; + KeysData_205 = keysData[205]; + KeysData_206 = keysData[206]; + KeysData_207 = keysData[207]; + KeysData_208 = keysData[208]; + KeysData_209 = keysData[209]; + KeysData_210 = keysData[210]; + KeysData_211 = keysData[211]; + KeysData_212 = keysData[212]; + KeysData_213 = keysData[213]; + KeysData_214 = keysData[214]; + KeysData_215 = keysData[215]; + KeysData_216 = keysData[216]; + KeysData_217 = keysData[217]; + KeysData_218 = keysData[218]; + KeysData_219 = keysData[219]; + KeysData_220 = keysData[220]; + KeysData_221 = keysData[221]; + KeysData_222 = keysData[222]; + KeysData_223 = keysData[223]; + KeysData_224 = keysData[224]; + KeysData_225 = keysData[225]; + KeysData_226 = keysData[226]; + KeysData_227 = keysData[227]; + KeysData_228 = keysData[228]; + KeysData_229 = keysData[229]; + KeysData_230 = keysData[230]; + KeysData_231 = keysData[231]; + KeysData_232 = keysData[232]; + KeysData_233 = keysData[233]; + KeysData_234 = keysData[234]; + KeysData_235 = keysData[235]; + KeysData_236 = keysData[236]; + KeysData_237 = keysData[237]; + KeysData_238 = keysData[238]; + KeysData_239 = keysData[239]; + KeysData_240 = keysData[240]; + KeysData_241 = keysData[241]; + KeysData_242 = keysData[242]; + KeysData_243 = keysData[243]; + KeysData_244 = keysData[244]; + KeysData_245 = keysData[245]; + KeysData_246 = keysData[246]; + KeysData_247 = keysData[247]; + KeysData_248 = keysData[248]; + KeysData_249 = keysData[249]; + KeysData_250 = keysData[250]; + KeysData_251 = keysData[251]; + KeysData_252 = keysData[252]; + KeysData_253 = keysData[253]; + KeysData_254 = keysData[254]; + KeysData_255 = keysData[255]; + KeysData_256 = keysData[256]; + KeysData_257 = keysData[257]; + KeysData_258 = keysData[258]; + KeysData_259 = keysData[259]; + KeysData_260 = keysData[260]; + KeysData_261 = keysData[261]; + KeysData_262 = keysData[262]; + KeysData_263 = keysData[263]; + KeysData_264 = keysData[264]; + KeysData_265 = keysData[265]; + KeysData_266 = keysData[266]; + KeysData_267 = keysData[267]; + KeysData_268 = keysData[268]; + KeysData_269 = keysData[269]; + KeysData_270 = keysData[270]; + KeysData_271 = keysData[271]; + KeysData_272 = keysData[272]; + KeysData_273 = keysData[273]; + KeysData_274 = keysData[274]; + KeysData_275 = keysData[275]; + KeysData_276 = keysData[276]; + KeysData_277 = keysData[277]; + KeysData_278 = keysData[278]; + KeysData_279 = keysData[279]; + KeysData_280 = keysData[280]; + KeysData_281 = keysData[281]; + KeysData_282 = keysData[282]; + KeysData_283 = keysData[283]; + KeysData_284 = keysData[284]; + KeysData_285 = keysData[285]; + KeysData_286 = keysData[286]; + KeysData_287 = keysData[287]; + KeysData_288 = keysData[288]; + KeysData_289 = keysData[289]; + KeysData_290 = keysData[290]; + KeysData_291 = keysData[291]; + KeysData_292 = keysData[292]; + KeysData_293 = keysData[293]; + KeysData_294 = keysData[294]; + KeysData_295 = keysData[295]; + KeysData_296 = keysData[296]; + KeysData_297 = keysData[297]; + KeysData_298 = keysData[298]; + KeysData_299 = keysData[299]; + KeysData_300 = keysData[300]; + KeysData_301 = keysData[301]; + KeysData_302 = keysData[302]; + KeysData_303 = keysData[303]; + KeysData_304 = keysData[304]; + KeysData_305 = keysData[305]; + KeysData_306 = keysData[306]; + KeysData_307 = keysData[307]; + KeysData_308 = keysData[308]; + KeysData_309 = keysData[309]; + KeysData_310 = keysData[310]; + KeysData_311 = keysData[311]; + KeysData_312 = keysData[312]; + KeysData_313 = keysData[313]; + KeysData_314 = keysData[314]; + KeysData_315 = keysData[315]; + KeysData_316 = keysData[316]; + KeysData_317 = keysData[317]; + KeysData_318 = keysData[318]; + KeysData_319 = keysData[319]; + KeysData_320 = keysData[320]; + KeysData_321 = keysData[321]; + KeysData_322 = keysData[322]; + KeysData_323 = keysData[323]; + KeysData_324 = keysData[324]; + KeysData_325 = keysData[325]; + KeysData_326 = keysData[326]; + KeysData_327 = keysData[327]; + KeysData_328 = keysData[328]; + KeysData_329 = keysData[329]; + KeysData_330 = keysData[330]; + KeysData_331 = keysData[331]; + KeysData_332 = keysData[332]; + KeysData_333 = keysData[333]; + KeysData_334 = keysData[334]; + KeysData_335 = keysData[335]; + KeysData_336 = keysData[336]; + KeysData_337 = keysData[337]; + KeysData_338 = keysData[338]; + KeysData_339 = keysData[339]; + KeysData_340 = keysData[340]; + KeysData_341 = keysData[341]; + KeysData_342 = keysData[342]; + KeysData_343 = keysData[343]; + KeysData_344 = keysData[344]; + KeysData_345 = keysData[345]; + KeysData_346 = keysData[346]; + KeysData_347 = keysData[347]; + KeysData_348 = keysData[348]; + KeysData_349 = keysData[349]; + KeysData_350 = keysData[350]; + KeysData_351 = keysData[351]; + KeysData_352 = keysData[352]; + KeysData_353 = keysData[353]; + KeysData_354 = keysData[354]; + KeysData_355 = keysData[355]; + KeysData_356 = keysData[356]; + KeysData_357 = keysData[357]; + KeysData_358 = keysData[358]; + KeysData_359 = keysData[359]; + KeysData_360 = keysData[360]; + KeysData_361 = keysData[361]; + KeysData_362 = keysData[362]; + KeysData_363 = keysData[363]; + KeysData_364 = keysData[364]; + KeysData_365 = keysData[365]; + KeysData_366 = keysData[366]; + KeysData_367 = keysData[367]; + KeysData_368 = keysData[368]; + KeysData_369 = keysData[369]; + KeysData_370 = keysData[370]; + KeysData_371 = keysData[371]; + KeysData_372 = keysData[372]; + KeysData_373 = keysData[373]; + KeysData_374 = keysData[374]; + KeysData_375 = keysData[375]; + KeysData_376 = keysData[376]; + KeysData_377 = keysData[377]; + KeysData_378 = keysData[378]; + KeysData_379 = keysData[379]; + KeysData_380 = keysData[380]; + KeysData_381 = keysData[381]; + KeysData_382 = keysData[382]; + KeysData_383 = keysData[383]; + KeysData_384 = keysData[384]; + KeysData_385 = keysData[385]; + KeysData_386 = keysData[386]; + KeysData_387 = keysData[387]; + KeysData_388 = keysData[388]; + KeysData_389 = keysData[389]; + KeysData_390 = keysData[390]; + KeysData_391 = keysData[391]; + KeysData_392 = keysData[392]; + KeysData_393 = keysData[393]; + KeysData_394 = keysData[394]; + KeysData_395 = keysData[395]; + KeysData_396 = keysData[396]; + KeysData_397 = keysData[397]; + KeysData_398 = keysData[398]; + KeysData_399 = keysData[399]; + KeysData_400 = keysData[400]; + KeysData_401 = keysData[401]; + KeysData_402 = keysData[402]; + KeysData_403 = keysData[403]; + KeysData_404 = keysData[404]; + KeysData_405 = keysData[405]; + KeysData_406 = keysData[406]; + KeysData_407 = keysData[407]; + KeysData_408 = keysData[408]; + KeysData_409 = keysData[409]; + KeysData_410 = keysData[410]; + KeysData_411 = keysData[411]; + KeysData_412 = keysData[412]; + KeysData_413 = keysData[413]; + KeysData_414 = keysData[414]; + KeysData_415 = keysData[415]; + KeysData_416 = keysData[416]; + KeysData_417 = keysData[417]; + KeysData_418 = keysData[418]; + KeysData_419 = keysData[419]; + KeysData_420 = keysData[420]; + KeysData_421 = keysData[421]; + KeysData_422 = keysData[422]; + KeysData_423 = keysData[423]; + KeysData_424 = keysData[424]; + KeysData_425 = keysData[425]; + KeysData_426 = keysData[426]; + KeysData_427 = keysData[427]; + KeysData_428 = keysData[428]; + KeysData_429 = keysData[429]; + KeysData_430 = keysData[430]; + KeysData_431 = keysData[431]; + KeysData_432 = keysData[432]; + KeysData_433 = keysData[433]; + KeysData_434 = keysData[434]; + KeysData_435 = keysData[435]; + KeysData_436 = keysData[436]; + KeysData_437 = keysData[437]; + KeysData_438 = keysData[438]; + KeysData_439 = keysData[439]; + KeysData_440 = keysData[440]; + KeysData_441 = keysData[441]; + KeysData_442 = keysData[442]; + KeysData_443 = keysData[443]; + KeysData_444 = keysData[444]; + KeysData_445 = keysData[445]; + KeysData_446 = keysData[446]; + KeysData_447 = keysData[447]; + KeysData_448 = keysData[448]; + KeysData_449 = keysData[449]; + KeysData_450 = keysData[450]; + KeysData_451 = keysData[451]; + KeysData_452 = keysData[452]; + KeysData_453 = keysData[453]; + KeysData_454 = keysData[454]; + KeysData_455 = keysData[455]; + KeysData_456 = keysData[456]; + KeysData_457 = keysData[457]; + KeysData_458 = keysData[458]; + KeysData_459 = keysData[459]; + KeysData_460 = keysData[460]; + KeysData_461 = keysData[461]; + KeysData_462 = keysData[462]; + KeysData_463 = keysData[463]; + KeysData_464 = keysData[464]; + KeysData_465 = keysData[465]; + KeysData_466 = keysData[466]; + KeysData_467 = keysData[467]; + KeysData_468 = keysData[468]; + KeysData_469 = keysData[469]; + KeysData_470 = keysData[470]; + KeysData_471 = keysData[471]; + KeysData_472 = keysData[472]; + KeysData_473 = keysData[473]; + KeysData_474 = keysData[474]; + KeysData_475 = keysData[475]; + KeysData_476 = keysData[476]; + KeysData_477 = keysData[477]; + KeysData_478 = keysData[478]; + KeysData_479 = keysData[479]; + KeysData_480 = keysData[480]; + KeysData_481 = keysData[481]; + KeysData_482 = keysData[482]; + KeysData_483 = keysData[483]; + KeysData_484 = keysData[484]; + KeysData_485 = keysData[485]; + KeysData_486 = keysData[486]; + KeysData_487 = keysData[487]; + KeysData_488 = keysData[488]; + KeysData_489 = keysData[489]; + KeysData_490 = keysData[490]; + KeysData_491 = keysData[491]; + KeysData_492 = keysData[492]; + KeysData_493 = keysData[493]; + KeysData_494 = keysData[494]; + KeysData_495 = keysData[495]; + KeysData_496 = keysData[496]; + KeysData_497 = keysData[497]; + KeysData_498 = keysData[498]; + KeysData_499 = keysData[499]; + KeysData_500 = keysData[500]; + KeysData_501 = keysData[501]; + KeysData_502 = keysData[502]; + KeysData_503 = keysData[503]; + KeysData_504 = keysData[504]; + KeysData_505 = keysData[505]; + KeysData_506 = keysData[506]; + KeysData_507 = keysData[507]; + KeysData_508 = keysData[508]; + KeysData_509 = keysData[509]; + KeysData_510 = keysData[510]; + KeysData_511 = keysData[511]; + KeysData_512 = keysData[512]; + KeysData_513 = keysData[513]; + KeysData_514 = keysData[514]; + KeysData_515 = keysData[515]; + KeysData_516 = keysData[516]; + KeysData_517 = keysData[517]; + KeysData_518 = keysData[518]; + KeysData_519 = keysData[519]; + KeysData_520 = keysData[520]; + KeysData_521 = keysData[521]; + KeysData_522 = keysData[522]; + KeysData_523 = keysData[523]; + KeysData_524 = keysData[524]; + KeysData_525 = keysData[525]; + KeysData_526 = keysData[526]; + KeysData_527 = keysData[527]; + KeysData_528 = keysData[528]; + KeysData_529 = keysData[529]; + KeysData_530 = keysData[530]; + KeysData_531 = keysData[531]; + KeysData_532 = keysData[532]; + KeysData_533 = keysData[533]; + KeysData_534 = keysData[534]; + KeysData_535 = keysData[535]; + KeysData_536 = keysData[536]; + KeysData_537 = keysData[537]; + KeysData_538 = keysData[538]; + KeysData_539 = keysData[539]; + KeysData_540 = keysData[540]; + KeysData_541 = keysData[541]; + KeysData_542 = keysData[542]; + KeysData_543 = keysData[543]; + KeysData_544 = keysData[544]; + KeysData_545 = keysData[545]; + KeysData_546 = keysData[546]; + KeysData_547 = keysData[547]; + KeysData_548 = keysData[548]; + KeysData_549 = keysData[549]; + KeysData_550 = keysData[550]; + KeysData_551 = keysData[551]; + KeysData_552 = keysData[552]; + KeysData_553 = keysData[553]; + KeysData_554 = keysData[554]; + KeysData_555 = keysData[555]; + KeysData_556 = keysData[556]; + KeysData_557 = keysData[557]; + KeysData_558 = keysData[558]; + KeysData_559 = keysData[559]; + KeysData_560 = keysData[560]; + KeysData_561 = keysData[561]; + KeysData_562 = keysData[562]; + KeysData_563 = keysData[563]; + KeysData_564 = keysData[564]; + KeysData_565 = keysData[565]; + KeysData_566 = keysData[566]; + KeysData_567 = keysData[567]; + KeysData_568 = keysData[568]; + KeysData_569 = keysData[569]; + KeysData_570 = keysData[570]; + KeysData_571 = keysData[571]; + KeysData_572 = keysData[572]; + KeysData_573 = keysData[573]; + KeysData_574 = keysData[574]; + KeysData_575 = keysData[575]; + KeysData_576 = keysData[576]; + KeysData_577 = keysData[577]; + KeysData_578 = keysData[578]; + KeysData_579 = keysData[579]; + KeysData_580 = keysData[580]; + KeysData_581 = keysData[581]; + KeysData_582 = keysData[582]; + KeysData_583 = keysData[583]; + KeysData_584 = keysData[584]; + KeysData_585 = keysData[585]; + KeysData_586 = keysData[586]; + KeysData_587 = keysData[587]; + KeysData_588 = keysData[588]; + KeysData_589 = keysData[589]; + KeysData_590 = keysData[590]; + KeysData_591 = keysData[591]; + KeysData_592 = keysData[592]; + KeysData_593 = keysData[593]; + KeysData_594 = keysData[594]; + KeysData_595 = keysData[595]; + KeysData_596 = keysData[596]; + KeysData_597 = keysData[597]; + KeysData_598 = keysData[598]; + KeysData_599 = keysData[599]; + KeysData_600 = keysData[600]; + KeysData_601 = keysData[601]; + KeysData_602 = keysData[602]; + KeysData_603 = keysData[603]; + KeysData_604 = keysData[604]; + KeysData_605 = keysData[605]; + KeysData_606 = keysData[606]; + KeysData_607 = keysData[607]; + KeysData_608 = keysData[608]; + KeysData_609 = keysData[609]; + KeysData_610 = keysData[610]; + KeysData_611 = keysData[611]; + KeysData_612 = keysData[612]; + KeysData_613 = keysData[613]; + KeysData_614 = keysData[614]; + KeysData_615 = keysData[615]; + KeysData_616 = keysData[616]; + KeysData_617 = keysData[617]; + KeysData_618 = keysData[618]; + KeysData_619 = keysData[619]; + KeysData_620 = keysData[620]; + KeysData_621 = keysData[621]; + KeysData_622 = keysData[622]; + KeysData_623 = keysData[623]; + KeysData_624 = keysData[624]; + KeysData_625 = keysData[625]; + KeysData_626 = keysData[626]; + KeysData_627 = keysData[627]; + KeysData_628 = keysData[628]; + KeysData_629 = keysData[629]; + KeysData_630 = keysData[630]; + KeysData_631 = keysData[631]; + KeysData_632 = keysData[632]; + KeysData_633 = keysData[633]; + KeysData_634 = keysData[634]; + KeysData_635 = keysData[635]; + KeysData_636 = keysData[636]; + KeysData_637 = keysData[637]; + KeysData_638 = keysData[638]; + KeysData_639 = keysData[639]; + KeysData_640 = keysData[640]; + KeysData_641 = keysData[641]; + KeysData_642 = keysData[642]; + KeysData_643 = keysData[643]; + KeysData_644 = keysData[644]; + } + WantCaptureMouseUnlessPopupClose = wantCaptureMouseUnlessPopupClose ? (byte)1 : (byte)0; + MousePosPrev = mousePosPrev; + if (mouseClickedPos != default(Vector2*)) + { + MouseClickedPos_0 = mouseClickedPos[0]; + MouseClickedPos_1 = mouseClickedPos[1]; + MouseClickedPos_2 = mouseClickedPos[2]; + MouseClickedPos_3 = mouseClickedPos[3]; + MouseClickedPos_4 = mouseClickedPos[4]; + } + if (mouseClickedTime != default(double*)) + { + MouseClickedTime_0 = mouseClickedTime[0]; + MouseClickedTime_1 = mouseClickedTime[1]; + MouseClickedTime_2 = mouseClickedTime[2]; + MouseClickedTime_3 = mouseClickedTime[3]; + MouseClickedTime_4 = mouseClickedTime[4]; + } + if (mouseClicked != default(byte*)) + { + MouseClicked_0 = mouseClicked[0]; + MouseClicked_1 = mouseClicked[1]; + MouseClicked_2 = mouseClicked[2]; + MouseClicked_3 = mouseClicked[3]; + MouseClicked_4 = mouseClicked[4]; + } + if (mouseDoubleClicked != default(byte*)) + { + MouseDoubleClicked_0 = mouseDoubleClicked[0]; + MouseDoubleClicked_1 = mouseDoubleClicked[1]; + MouseDoubleClicked_2 = mouseDoubleClicked[2]; + MouseDoubleClicked_3 = mouseDoubleClicked[3]; + MouseDoubleClicked_4 = mouseDoubleClicked[4]; + } + if (mouseClickedCount != default(ushort*)) + { + MouseClickedCount_0 = mouseClickedCount[0]; + MouseClickedCount_1 = mouseClickedCount[1]; + MouseClickedCount_2 = mouseClickedCount[2]; + MouseClickedCount_3 = mouseClickedCount[3]; + MouseClickedCount_4 = mouseClickedCount[4]; + } + if (mouseClickedLastCount != default(ushort*)) + { + MouseClickedLastCount_0 = mouseClickedLastCount[0]; + MouseClickedLastCount_1 = mouseClickedLastCount[1]; + MouseClickedLastCount_2 = mouseClickedLastCount[2]; + MouseClickedLastCount_3 = mouseClickedLastCount[3]; + MouseClickedLastCount_4 = mouseClickedLastCount[4]; + } + if (mouseReleased != default(bool*)) + { + MouseReleased_0 = mouseReleased[0]; + MouseReleased_1 = mouseReleased[1]; + MouseReleased_2 = mouseReleased[2]; + MouseReleased_3 = mouseReleased[3]; + MouseReleased_4 = mouseReleased[4]; + } + if (mouseDownOwned != default(bool*)) + { + MouseDownOwned_0 = mouseDownOwned[0]; + MouseDownOwned_1 = mouseDownOwned[1]; + MouseDownOwned_2 = mouseDownOwned[2]; + MouseDownOwned_3 = mouseDownOwned[3]; + MouseDownOwned_4 = mouseDownOwned[4]; + } + if (mouseDownOwnedUnlessPopupClose != default(bool*)) + { + MouseDownOwnedUnlessPopupClose_0 = mouseDownOwnedUnlessPopupClose[0]; + MouseDownOwnedUnlessPopupClose_1 = mouseDownOwnedUnlessPopupClose[1]; + MouseDownOwnedUnlessPopupClose_2 = mouseDownOwnedUnlessPopupClose[2]; + MouseDownOwnedUnlessPopupClose_3 = mouseDownOwnedUnlessPopupClose[3]; + MouseDownOwnedUnlessPopupClose_4 = mouseDownOwnedUnlessPopupClose[4]; + } + if (mouseDownDuration != default(float*)) + { + MouseDownDuration_0 = mouseDownDuration[0]; + MouseDownDuration_1 = mouseDownDuration[1]; + MouseDownDuration_2 = mouseDownDuration[2]; + MouseDownDuration_3 = mouseDownDuration[3]; + MouseDownDuration_4 = mouseDownDuration[4]; + } + if (mouseDownDurationPrev != default(float*)) + { + MouseDownDurationPrev_0 = mouseDownDurationPrev[0]; + MouseDownDurationPrev_1 = mouseDownDurationPrev[1]; + MouseDownDurationPrev_2 = mouseDownDurationPrev[2]; + MouseDownDurationPrev_3 = mouseDownDurationPrev[3]; + MouseDownDurationPrev_4 = mouseDownDurationPrev[4]; + } + if (mouseDragMaxDistanceAbs != default(Vector2*)) + { + MouseDragMaxDistanceAbs_0 = mouseDragMaxDistanceAbs[0]; + MouseDragMaxDistanceAbs_1 = mouseDragMaxDistanceAbs[1]; + MouseDragMaxDistanceAbs_2 = mouseDragMaxDistanceAbs[2]; + MouseDragMaxDistanceAbs_3 = mouseDragMaxDistanceAbs[3]; + MouseDragMaxDistanceAbs_4 = mouseDragMaxDistanceAbs[4]; + } + if (mouseDragMaxDistanceSqr != default(float*)) + { + MouseDragMaxDistanceSqr_0 = mouseDragMaxDistanceSqr[0]; + MouseDragMaxDistanceSqr_1 = mouseDragMaxDistanceSqr[1]; + MouseDragMaxDistanceSqr_2 = mouseDragMaxDistanceSqr[2]; + MouseDragMaxDistanceSqr_3 = mouseDragMaxDistanceSqr[3]; + MouseDragMaxDistanceSqr_4 = mouseDragMaxDistanceSqr[4]; + } + if (navInputsDownDuration != default(float*)) + { + NavInputsDownDuration_0 = navInputsDownDuration[0]; + NavInputsDownDuration_1 = navInputsDownDuration[1]; + NavInputsDownDuration_2 = navInputsDownDuration[2]; + NavInputsDownDuration_3 = navInputsDownDuration[3]; + NavInputsDownDuration_4 = navInputsDownDuration[4]; + NavInputsDownDuration_5 = navInputsDownDuration[5]; + NavInputsDownDuration_6 = navInputsDownDuration[6]; + NavInputsDownDuration_7 = navInputsDownDuration[7]; + NavInputsDownDuration_8 = navInputsDownDuration[8]; + NavInputsDownDuration_9 = navInputsDownDuration[9]; + NavInputsDownDuration_10 = navInputsDownDuration[10]; + NavInputsDownDuration_11 = navInputsDownDuration[11]; + NavInputsDownDuration_12 = navInputsDownDuration[12]; + NavInputsDownDuration_13 = navInputsDownDuration[13]; + NavInputsDownDuration_14 = navInputsDownDuration[14]; + NavInputsDownDuration_15 = navInputsDownDuration[15]; + NavInputsDownDuration_16 = navInputsDownDuration[16]; + NavInputsDownDuration_17 = navInputsDownDuration[17]; + NavInputsDownDuration_18 = navInputsDownDuration[18]; + NavInputsDownDuration_19 = navInputsDownDuration[19]; + NavInputsDownDuration_20 = navInputsDownDuration[20]; + } + if (navInputsDownDurationPrev != default(float*)) + { + NavInputsDownDurationPrev_0 = navInputsDownDurationPrev[0]; + NavInputsDownDurationPrev_1 = navInputsDownDurationPrev[1]; + NavInputsDownDurationPrev_2 = navInputsDownDurationPrev[2]; + NavInputsDownDurationPrev_3 = navInputsDownDurationPrev[3]; + NavInputsDownDurationPrev_4 = navInputsDownDurationPrev[4]; + NavInputsDownDurationPrev_5 = navInputsDownDurationPrev[5]; + NavInputsDownDurationPrev_6 = navInputsDownDurationPrev[6]; + NavInputsDownDurationPrev_7 = navInputsDownDurationPrev[7]; + NavInputsDownDurationPrev_8 = navInputsDownDurationPrev[8]; + NavInputsDownDurationPrev_9 = navInputsDownDurationPrev[9]; + NavInputsDownDurationPrev_10 = navInputsDownDurationPrev[10]; + NavInputsDownDurationPrev_11 = navInputsDownDurationPrev[11]; + NavInputsDownDurationPrev_12 = navInputsDownDurationPrev[12]; + NavInputsDownDurationPrev_13 = navInputsDownDurationPrev[13]; + NavInputsDownDurationPrev_14 = navInputsDownDurationPrev[14]; + NavInputsDownDurationPrev_15 = navInputsDownDurationPrev[15]; + NavInputsDownDurationPrev_16 = navInputsDownDurationPrev[16]; + NavInputsDownDurationPrev_17 = navInputsDownDurationPrev[17]; + NavInputsDownDurationPrev_18 = navInputsDownDurationPrev[18]; + NavInputsDownDurationPrev_19 = navInputsDownDurationPrev[19]; + NavInputsDownDurationPrev_20 = navInputsDownDurationPrev[20]; + } + PenPressure = penPressure; + AppFocusLost = appFocusLost ? (byte)1 : (byte)0; + AppAcceptingEvents = appAcceptingEvents ? (byte)1 : (byte)0; + BackendUsingLegacyKeyArrays = backendUsingLegacyKeyArrays; + BackendUsingLegacyNavInputArray = backendUsingLegacyNavInputArray ? (byte)1 : (byte)0; + InputQueueSurrogate = inputQueueSurrogate; + InputQueueCharacters = inputQueueCharacters; + } + + /// + /// To be documented. + /// + public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate* getClipboardTextFn = default, delegate* setClipboardTextFn = default, void* clipboardUserData = default, delegate* setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, Span keyMap = default, Span keysDown = default, Vector2 mousePos = default, Span mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, Span navInputs = default, ImGuiModFlags keyMods = default, Span keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Span mouseClickedPos = default, Span mouseClickedTime = default, Span mouseClicked = default, Span mouseDoubleClicked = default, Span mouseClickedCount = default, Span mouseClickedLastCount = default, Span mouseReleased = default, Span mouseDownOwned = default, Span mouseDownOwnedUnlessPopupClose = default, Span mouseDownDuration = default, Span mouseDownDurationPrev = default, Span mouseDragMaxDistanceAbs = default, Span mouseDragMaxDistanceSqr = default, Span navInputsDownDuration = default, Span navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, byte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector inputQueueCharacters = default) + { + ConfigFlags = configFlags; + BackendFlags = backendFlags; + DisplaySize = displaySize; + DeltaTime = deltaTime; + IniSavingRate = iniSavingRate; + IniFilename = iniFilename; + LogFilename = logFilename; + MouseDoubleClickTime = mouseDoubleClickTime; + MouseDoubleClickMaxDist = mouseDoubleClickMaxDist; + MouseDragThreshold = mouseDragThreshold; + KeyRepeatDelay = keyRepeatDelay; + KeyRepeatRate = keyRepeatRate; + UserData = userData; + Fonts = fonts; + FontGlobalScale = fontGlobalScale; + FontAllowUserScaling = fontAllowUserScaling ? (byte)1 : (byte)0; + FontDefault = fontDefault; + DisplayFramebufferScale = displayFramebufferScale; + ConfigDockingNoSplit = configDockingNoSplit ? (byte)1 : (byte)0; + ConfigDockingWithShift = configDockingWithShift ? (byte)1 : (byte)0; + ConfigDockingAlwaysTabBar = configDockingAlwaysTabBar ? (byte)1 : (byte)0; + ConfigDockingTransparentPayload = configDockingTransparentPayload ? (byte)1 : (byte)0; + ConfigViewportsNoAutoMerge = configViewportsNoAutoMerge ? (byte)1 : (byte)0; + ConfigViewportsNoTaskBarIcon = configViewportsNoTaskBarIcon ? (byte)1 : (byte)0; + ConfigViewportsNoDecoration = configViewportsNoDecoration ? (byte)1 : (byte)0; + ConfigViewportsNoDefaultParent = configViewportsNoDefaultParent ? (byte)1 : (byte)0; + MouseDrawCursor = mouseDrawCursor ? (byte)1 : (byte)0; + ConfigMacOSXBehaviors = configMacOsxBehaviors ? (byte)1 : (byte)0; + ConfigInputTrickleEventQueue = configInputTrickleEventQueue ? (byte)1 : (byte)0; + ConfigInputTextCursorBlink = configInputTextCursorBlink ? (byte)1 : (byte)0; + ConfigDragClickToInputText = configDragClickToInputText ? (byte)1 : (byte)0; + ConfigWindowsResizeFromEdges = configWindowsResizeFromEdges ? (byte)1 : (byte)0; + ConfigWindowsMoveFromTitleBarOnly = configWindowsMoveFromTitleBarOnly ? (byte)1 : (byte)0; + ConfigMemoryCompactTimer = configMemoryCompactTimer; + BackendPlatformName = backendPlatformName; + BackendRendererName = backendRendererName; + BackendPlatformUserData = backendPlatformUserData; + BackendRendererUserData = backendRendererUserData; + BackendLanguageUserData = backendLanguageUserData; + GetClipboardTextFn = (void*)getClipboardTextFn; + SetClipboardTextFn = (void*)setClipboardTextFn; + ClipboardUserData = clipboardUserData; + SetPlatformImeDataFn = (void*)setPlatformImeDataFn; + UnusedPadding = unusedPadding; + WantCaptureMouse = wantCaptureMouse ? (byte)1 : (byte)0; + WantCaptureKeyboard = wantCaptureKeyboard ? (byte)1 : (byte)0; + WantTextInput = wantTextInput ? (byte)1 : (byte)0; + WantSetMousePos = wantSetMousePos ? (byte)1 : (byte)0; + WantSaveIniSettings = wantSaveIniSettings ? (byte)1 : (byte)0; + NavActive = navActive ? (byte)1 : (byte)0; + NavVisible = navVisible ? (byte)1 : (byte)0; + Framerate = framerate; + MetricsRenderVertices = metricsRenderVertices; + MetricsRenderIndices = metricsRenderIndices; + MetricsRenderWindows = metricsRenderWindows; + MetricsActiveWindows = metricsActiveWindows; + MetricsActiveAllocations = metricsActiveAllocations; + MouseDelta = mouseDelta; + if (keyMap != default(Span)) + { + KeyMap_0 = keyMap[0]; + KeyMap_1 = keyMap[1]; + KeyMap_2 = keyMap[2]; + KeyMap_3 = keyMap[3]; + KeyMap_4 = keyMap[4]; + KeyMap_5 = keyMap[5]; + KeyMap_6 = keyMap[6]; + KeyMap_7 = keyMap[7]; + KeyMap_8 = keyMap[8]; + KeyMap_9 = keyMap[9]; + KeyMap_10 = keyMap[10]; + KeyMap_11 = keyMap[11]; + KeyMap_12 = keyMap[12]; + KeyMap_13 = keyMap[13]; + KeyMap_14 = keyMap[14]; + KeyMap_15 = keyMap[15]; + KeyMap_16 = keyMap[16]; + KeyMap_17 = keyMap[17]; + KeyMap_18 = keyMap[18]; + KeyMap_19 = keyMap[19]; + KeyMap_20 = keyMap[20]; + KeyMap_21 = keyMap[21]; + KeyMap_22 = keyMap[22]; + KeyMap_23 = keyMap[23]; + KeyMap_24 = keyMap[24]; + KeyMap_25 = keyMap[25]; + KeyMap_26 = keyMap[26]; + KeyMap_27 = keyMap[27]; + KeyMap_28 = keyMap[28]; + KeyMap_29 = keyMap[29]; + KeyMap_30 = keyMap[30]; + KeyMap_31 = keyMap[31]; + KeyMap_32 = keyMap[32]; + KeyMap_33 = keyMap[33]; + KeyMap_34 = keyMap[34]; + KeyMap_35 = keyMap[35]; + KeyMap_36 = keyMap[36]; + KeyMap_37 = keyMap[37]; + KeyMap_38 = keyMap[38]; + KeyMap_39 = keyMap[39]; + KeyMap_40 = keyMap[40]; + KeyMap_41 = keyMap[41]; + KeyMap_42 = keyMap[42]; + KeyMap_43 = keyMap[43]; + KeyMap_44 = keyMap[44]; + KeyMap_45 = keyMap[45]; + KeyMap_46 = keyMap[46]; + KeyMap_47 = keyMap[47]; + KeyMap_48 = keyMap[48]; + KeyMap_49 = keyMap[49]; + KeyMap_50 = keyMap[50]; + KeyMap_51 = keyMap[51]; + KeyMap_52 = keyMap[52]; + KeyMap_53 = keyMap[53]; + KeyMap_54 = keyMap[54]; + KeyMap_55 = keyMap[55]; + KeyMap_56 = keyMap[56]; + KeyMap_57 = keyMap[57]; + KeyMap_58 = keyMap[58]; + KeyMap_59 = keyMap[59]; + KeyMap_60 = keyMap[60]; + KeyMap_61 = keyMap[61]; + KeyMap_62 = keyMap[62]; + KeyMap_63 = keyMap[63]; + KeyMap_64 = keyMap[64]; + KeyMap_65 = keyMap[65]; + KeyMap_66 = keyMap[66]; + KeyMap_67 = keyMap[67]; + KeyMap_68 = keyMap[68]; + KeyMap_69 = keyMap[69]; + KeyMap_70 = keyMap[70]; + KeyMap_71 = keyMap[71]; + KeyMap_72 = keyMap[72]; + KeyMap_73 = keyMap[73]; + KeyMap_74 = keyMap[74]; + KeyMap_75 = keyMap[75]; + KeyMap_76 = keyMap[76]; + KeyMap_77 = keyMap[77]; + KeyMap_78 = keyMap[78]; + KeyMap_79 = keyMap[79]; + KeyMap_80 = keyMap[80]; + KeyMap_81 = keyMap[81]; + KeyMap_82 = keyMap[82]; + KeyMap_83 = keyMap[83]; + KeyMap_84 = keyMap[84]; + KeyMap_85 = keyMap[85]; + KeyMap_86 = keyMap[86]; + KeyMap_87 = keyMap[87]; + KeyMap_88 = keyMap[88]; + KeyMap_89 = keyMap[89]; + KeyMap_90 = keyMap[90]; + KeyMap_91 = keyMap[91]; + KeyMap_92 = keyMap[92]; + KeyMap_93 = keyMap[93]; + KeyMap_94 = keyMap[94]; + KeyMap_95 = keyMap[95]; + KeyMap_96 = keyMap[96]; + KeyMap_97 = keyMap[97]; + KeyMap_98 = keyMap[98]; + KeyMap_99 = keyMap[99]; + KeyMap_100 = keyMap[100]; + KeyMap_101 = keyMap[101]; + KeyMap_102 = keyMap[102]; + KeyMap_103 = keyMap[103]; + KeyMap_104 = keyMap[104]; + KeyMap_105 = keyMap[105]; + KeyMap_106 = keyMap[106]; + KeyMap_107 = keyMap[107]; + KeyMap_108 = keyMap[108]; + KeyMap_109 = keyMap[109]; + KeyMap_110 = keyMap[110]; + KeyMap_111 = keyMap[111]; + KeyMap_112 = keyMap[112]; + KeyMap_113 = keyMap[113]; + KeyMap_114 = keyMap[114]; + KeyMap_115 = keyMap[115]; + KeyMap_116 = keyMap[116]; + KeyMap_117 = keyMap[117]; + KeyMap_118 = keyMap[118]; + KeyMap_119 = keyMap[119]; + KeyMap_120 = keyMap[120]; + KeyMap_121 = keyMap[121]; + KeyMap_122 = keyMap[122]; + KeyMap_123 = keyMap[123]; + KeyMap_124 = keyMap[124]; + KeyMap_125 = keyMap[125]; + KeyMap_126 = keyMap[126]; + KeyMap_127 = keyMap[127]; + KeyMap_128 = keyMap[128]; + KeyMap_129 = keyMap[129]; + KeyMap_130 = keyMap[130]; + KeyMap_131 = keyMap[131]; + KeyMap_132 = keyMap[132]; + KeyMap_133 = keyMap[133]; + KeyMap_134 = keyMap[134]; + KeyMap_135 = keyMap[135]; + KeyMap_136 = keyMap[136]; + KeyMap_137 = keyMap[137]; + KeyMap_138 = keyMap[138]; + KeyMap_139 = keyMap[139]; + KeyMap_140 = keyMap[140]; + KeyMap_141 = keyMap[141]; + KeyMap_142 = keyMap[142]; + KeyMap_143 = keyMap[143]; + KeyMap_144 = keyMap[144]; + KeyMap_145 = keyMap[145]; + KeyMap_146 = keyMap[146]; + KeyMap_147 = keyMap[147]; + KeyMap_148 = keyMap[148]; + KeyMap_149 = keyMap[149]; + KeyMap_150 = keyMap[150]; + KeyMap_151 = keyMap[151]; + KeyMap_152 = keyMap[152]; + KeyMap_153 = keyMap[153]; + KeyMap_154 = keyMap[154]; + KeyMap_155 = keyMap[155]; + KeyMap_156 = keyMap[156]; + KeyMap_157 = keyMap[157]; + KeyMap_158 = keyMap[158]; + KeyMap_159 = keyMap[159]; + KeyMap_160 = keyMap[160]; + KeyMap_161 = keyMap[161]; + KeyMap_162 = keyMap[162]; + KeyMap_163 = keyMap[163]; + KeyMap_164 = keyMap[164]; + KeyMap_165 = keyMap[165]; + KeyMap_166 = keyMap[166]; + KeyMap_167 = keyMap[167]; + KeyMap_168 = keyMap[168]; + KeyMap_169 = keyMap[169]; + KeyMap_170 = keyMap[170]; + KeyMap_171 = keyMap[171]; + KeyMap_172 = keyMap[172]; + KeyMap_173 = keyMap[173]; + KeyMap_174 = keyMap[174]; + KeyMap_175 = keyMap[175]; + KeyMap_176 = keyMap[176]; + KeyMap_177 = keyMap[177]; + KeyMap_178 = keyMap[178]; + KeyMap_179 = keyMap[179]; + KeyMap_180 = keyMap[180]; + KeyMap_181 = keyMap[181]; + KeyMap_182 = keyMap[182]; + KeyMap_183 = keyMap[183]; + KeyMap_184 = keyMap[184]; + KeyMap_185 = keyMap[185]; + KeyMap_186 = keyMap[186]; + KeyMap_187 = keyMap[187]; + KeyMap_188 = keyMap[188]; + KeyMap_189 = keyMap[189]; + KeyMap_190 = keyMap[190]; + KeyMap_191 = keyMap[191]; + KeyMap_192 = keyMap[192]; + KeyMap_193 = keyMap[193]; + KeyMap_194 = keyMap[194]; + KeyMap_195 = keyMap[195]; + KeyMap_196 = keyMap[196]; + KeyMap_197 = keyMap[197]; + KeyMap_198 = keyMap[198]; + KeyMap_199 = keyMap[199]; + KeyMap_200 = keyMap[200]; + KeyMap_201 = keyMap[201]; + KeyMap_202 = keyMap[202]; + KeyMap_203 = keyMap[203]; + KeyMap_204 = keyMap[204]; + KeyMap_205 = keyMap[205]; + KeyMap_206 = keyMap[206]; + KeyMap_207 = keyMap[207]; + KeyMap_208 = keyMap[208]; + KeyMap_209 = keyMap[209]; + KeyMap_210 = keyMap[210]; + KeyMap_211 = keyMap[211]; + KeyMap_212 = keyMap[212]; + KeyMap_213 = keyMap[213]; + KeyMap_214 = keyMap[214]; + KeyMap_215 = keyMap[215]; + KeyMap_216 = keyMap[216]; + KeyMap_217 = keyMap[217]; + KeyMap_218 = keyMap[218]; + KeyMap_219 = keyMap[219]; + KeyMap_220 = keyMap[220]; + KeyMap_221 = keyMap[221]; + KeyMap_222 = keyMap[222]; + KeyMap_223 = keyMap[223]; + KeyMap_224 = keyMap[224]; + KeyMap_225 = keyMap[225]; + KeyMap_226 = keyMap[226]; + KeyMap_227 = keyMap[227]; + KeyMap_228 = keyMap[228]; + KeyMap_229 = keyMap[229]; + KeyMap_230 = keyMap[230]; + KeyMap_231 = keyMap[231]; + KeyMap_232 = keyMap[232]; + KeyMap_233 = keyMap[233]; + KeyMap_234 = keyMap[234]; + KeyMap_235 = keyMap[235]; + KeyMap_236 = keyMap[236]; + KeyMap_237 = keyMap[237]; + KeyMap_238 = keyMap[238]; + KeyMap_239 = keyMap[239]; + KeyMap_240 = keyMap[240]; + KeyMap_241 = keyMap[241]; + KeyMap_242 = keyMap[242]; + KeyMap_243 = keyMap[243]; + KeyMap_244 = keyMap[244]; + KeyMap_245 = keyMap[245]; + KeyMap_246 = keyMap[246]; + KeyMap_247 = keyMap[247]; + KeyMap_248 = keyMap[248]; + KeyMap_249 = keyMap[249]; + KeyMap_250 = keyMap[250]; + KeyMap_251 = keyMap[251]; + KeyMap_252 = keyMap[252]; + KeyMap_253 = keyMap[253]; + KeyMap_254 = keyMap[254]; + KeyMap_255 = keyMap[255]; + KeyMap_256 = keyMap[256]; + KeyMap_257 = keyMap[257]; + KeyMap_258 = keyMap[258]; + KeyMap_259 = keyMap[259]; + KeyMap_260 = keyMap[260]; + KeyMap_261 = keyMap[261]; + KeyMap_262 = keyMap[262]; + KeyMap_263 = keyMap[263]; + KeyMap_264 = keyMap[264]; + KeyMap_265 = keyMap[265]; + KeyMap_266 = keyMap[266]; + KeyMap_267 = keyMap[267]; + KeyMap_268 = keyMap[268]; + KeyMap_269 = keyMap[269]; + KeyMap_270 = keyMap[270]; + KeyMap_271 = keyMap[271]; + KeyMap_272 = keyMap[272]; + KeyMap_273 = keyMap[273]; + KeyMap_274 = keyMap[274]; + KeyMap_275 = keyMap[275]; + KeyMap_276 = keyMap[276]; + KeyMap_277 = keyMap[277]; + KeyMap_278 = keyMap[278]; + KeyMap_279 = keyMap[279]; + KeyMap_280 = keyMap[280]; + KeyMap_281 = keyMap[281]; + KeyMap_282 = keyMap[282]; + KeyMap_283 = keyMap[283]; + KeyMap_284 = keyMap[284]; + KeyMap_285 = keyMap[285]; + KeyMap_286 = keyMap[286]; + KeyMap_287 = keyMap[287]; + KeyMap_288 = keyMap[288]; + KeyMap_289 = keyMap[289]; + KeyMap_290 = keyMap[290]; + KeyMap_291 = keyMap[291]; + KeyMap_292 = keyMap[292]; + KeyMap_293 = keyMap[293]; + KeyMap_294 = keyMap[294]; + KeyMap_295 = keyMap[295]; + KeyMap_296 = keyMap[296]; + KeyMap_297 = keyMap[297]; + KeyMap_298 = keyMap[298]; + KeyMap_299 = keyMap[299]; + KeyMap_300 = keyMap[300]; + KeyMap_301 = keyMap[301]; + KeyMap_302 = keyMap[302]; + KeyMap_303 = keyMap[303]; + KeyMap_304 = keyMap[304]; + KeyMap_305 = keyMap[305]; + KeyMap_306 = keyMap[306]; + KeyMap_307 = keyMap[307]; + KeyMap_308 = keyMap[308]; + KeyMap_309 = keyMap[309]; + KeyMap_310 = keyMap[310]; + KeyMap_311 = keyMap[311]; + KeyMap_312 = keyMap[312]; + KeyMap_313 = keyMap[313]; + KeyMap_314 = keyMap[314]; + KeyMap_315 = keyMap[315]; + KeyMap_316 = keyMap[316]; + KeyMap_317 = keyMap[317]; + KeyMap_318 = keyMap[318]; + KeyMap_319 = keyMap[319]; + KeyMap_320 = keyMap[320]; + KeyMap_321 = keyMap[321]; + KeyMap_322 = keyMap[322]; + KeyMap_323 = keyMap[323]; + KeyMap_324 = keyMap[324]; + KeyMap_325 = keyMap[325]; + KeyMap_326 = keyMap[326]; + KeyMap_327 = keyMap[327]; + KeyMap_328 = keyMap[328]; + KeyMap_329 = keyMap[329]; + KeyMap_330 = keyMap[330]; + KeyMap_331 = keyMap[331]; + KeyMap_332 = keyMap[332]; + KeyMap_333 = keyMap[333]; + KeyMap_334 = keyMap[334]; + KeyMap_335 = keyMap[335]; + KeyMap_336 = keyMap[336]; + KeyMap_337 = keyMap[337]; + KeyMap_338 = keyMap[338]; + KeyMap_339 = keyMap[339]; + KeyMap_340 = keyMap[340]; + KeyMap_341 = keyMap[341]; + KeyMap_342 = keyMap[342]; + KeyMap_343 = keyMap[343]; + KeyMap_344 = keyMap[344]; + KeyMap_345 = keyMap[345]; + KeyMap_346 = keyMap[346]; + KeyMap_347 = keyMap[347]; + KeyMap_348 = keyMap[348]; + KeyMap_349 = keyMap[349]; + KeyMap_350 = keyMap[350]; + KeyMap_351 = keyMap[351]; + KeyMap_352 = keyMap[352]; + KeyMap_353 = keyMap[353]; + KeyMap_354 = keyMap[354]; + KeyMap_355 = keyMap[355]; + KeyMap_356 = keyMap[356]; + KeyMap_357 = keyMap[357]; + KeyMap_358 = keyMap[358]; + KeyMap_359 = keyMap[359]; + KeyMap_360 = keyMap[360]; + KeyMap_361 = keyMap[361]; + KeyMap_362 = keyMap[362]; + KeyMap_363 = keyMap[363]; + KeyMap_364 = keyMap[364]; + KeyMap_365 = keyMap[365]; + KeyMap_366 = keyMap[366]; + KeyMap_367 = keyMap[367]; + KeyMap_368 = keyMap[368]; + KeyMap_369 = keyMap[369]; + KeyMap_370 = keyMap[370]; + KeyMap_371 = keyMap[371]; + KeyMap_372 = keyMap[372]; + KeyMap_373 = keyMap[373]; + KeyMap_374 = keyMap[374]; + KeyMap_375 = keyMap[375]; + KeyMap_376 = keyMap[376]; + KeyMap_377 = keyMap[377]; + KeyMap_378 = keyMap[378]; + KeyMap_379 = keyMap[379]; + KeyMap_380 = keyMap[380]; + KeyMap_381 = keyMap[381]; + KeyMap_382 = keyMap[382]; + KeyMap_383 = keyMap[383]; + KeyMap_384 = keyMap[384]; + KeyMap_385 = keyMap[385]; + KeyMap_386 = keyMap[386]; + KeyMap_387 = keyMap[387]; + KeyMap_388 = keyMap[388]; + KeyMap_389 = keyMap[389]; + KeyMap_390 = keyMap[390]; + KeyMap_391 = keyMap[391]; + KeyMap_392 = keyMap[392]; + KeyMap_393 = keyMap[393]; + KeyMap_394 = keyMap[394]; + KeyMap_395 = keyMap[395]; + KeyMap_396 = keyMap[396]; + KeyMap_397 = keyMap[397]; + KeyMap_398 = keyMap[398]; + KeyMap_399 = keyMap[399]; + KeyMap_400 = keyMap[400]; + KeyMap_401 = keyMap[401]; + KeyMap_402 = keyMap[402]; + KeyMap_403 = keyMap[403]; + KeyMap_404 = keyMap[404]; + KeyMap_405 = keyMap[405]; + KeyMap_406 = keyMap[406]; + KeyMap_407 = keyMap[407]; + KeyMap_408 = keyMap[408]; + KeyMap_409 = keyMap[409]; + KeyMap_410 = keyMap[410]; + KeyMap_411 = keyMap[411]; + KeyMap_412 = keyMap[412]; + KeyMap_413 = keyMap[413]; + KeyMap_414 = keyMap[414]; + KeyMap_415 = keyMap[415]; + KeyMap_416 = keyMap[416]; + KeyMap_417 = keyMap[417]; + KeyMap_418 = keyMap[418]; + KeyMap_419 = keyMap[419]; + KeyMap_420 = keyMap[420]; + KeyMap_421 = keyMap[421]; + KeyMap_422 = keyMap[422]; + KeyMap_423 = keyMap[423]; + KeyMap_424 = keyMap[424]; + KeyMap_425 = keyMap[425]; + KeyMap_426 = keyMap[426]; + KeyMap_427 = keyMap[427]; + KeyMap_428 = keyMap[428]; + KeyMap_429 = keyMap[429]; + KeyMap_430 = keyMap[430]; + KeyMap_431 = keyMap[431]; + KeyMap_432 = keyMap[432]; + KeyMap_433 = keyMap[433]; + KeyMap_434 = keyMap[434]; + KeyMap_435 = keyMap[435]; + KeyMap_436 = keyMap[436]; + KeyMap_437 = keyMap[437]; + KeyMap_438 = keyMap[438]; + KeyMap_439 = keyMap[439]; + KeyMap_440 = keyMap[440]; + KeyMap_441 = keyMap[441]; + KeyMap_442 = keyMap[442]; + KeyMap_443 = keyMap[443]; + KeyMap_444 = keyMap[444]; + KeyMap_445 = keyMap[445]; + KeyMap_446 = keyMap[446]; + KeyMap_447 = keyMap[447]; + KeyMap_448 = keyMap[448]; + KeyMap_449 = keyMap[449]; + KeyMap_450 = keyMap[450]; + KeyMap_451 = keyMap[451]; + KeyMap_452 = keyMap[452]; + KeyMap_453 = keyMap[453]; + KeyMap_454 = keyMap[454]; + KeyMap_455 = keyMap[455]; + KeyMap_456 = keyMap[456]; + KeyMap_457 = keyMap[457]; + KeyMap_458 = keyMap[458]; + KeyMap_459 = keyMap[459]; + KeyMap_460 = keyMap[460]; + KeyMap_461 = keyMap[461]; + KeyMap_462 = keyMap[462]; + KeyMap_463 = keyMap[463]; + KeyMap_464 = keyMap[464]; + KeyMap_465 = keyMap[465]; + KeyMap_466 = keyMap[466]; + KeyMap_467 = keyMap[467]; + KeyMap_468 = keyMap[468]; + KeyMap_469 = keyMap[469]; + KeyMap_470 = keyMap[470]; + KeyMap_471 = keyMap[471]; + KeyMap_472 = keyMap[472]; + KeyMap_473 = keyMap[473]; + KeyMap_474 = keyMap[474]; + KeyMap_475 = keyMap[475]; + KeyMap_476 = keyMap[476]; + KeyMap_477 = keyMap[477]; + KeyMap_478 = keyMap[478]; + KeyMap_479 = keyMap[479]; + KeyMap_480 = keyMap[480]; + KeyMap_481 = keyMap[481]; + KeyMap_482 = keyMap[482]; + KeyMap_483 = keyMap[483]; + KeyMap_484 = keyMap[484]; + KeyMap_485 = keyMap[485]; + KeyMap_486 = keyMap[486]; + KeyMap_487 = keyMap[487]; + KeyMap_488 = keyMap[488]; + KeyMap_489 = keyMap[489]; + KeyMap_490 = keyMap[490]; + KeyMap_491 = keyMap[491]; + KeyMap_492 = keyMap[492]; + KeyMap_493 = keyMap[493]; + KeyMap_494 = keyMap[494]; + KeyMap_495 = keyMap[495]; + KeyMap_496 = keyMap[496]; + KeyMap_497 = keyMap[497]; + KeyMap_498 = keyMap[498]; + KeyMap_499 = keyMap[499]; + KeyMap_500 = keyMap[500]; + KeyMap_501 = keyMap[501]; + KeyMap_502 = keyMap[502]; + KeyMap_503 = keyMap[503]; + KeyMap_504 = keyMap[504]; + KeyMap_505 = keyMap[505]; + KeyMap_506 = keyMap[506]; + KeyMap_507 = keyMap[507]; + KeyMap_508 = keyMap[508]; + KeyMap_509 = keyMap[509]; + KeyMap_510 = keyMap[510]; + KeyMap_511 = keyMap[511]; + KeyMap_512 = keyMap[512]; + KeyMap_513 = keyMap[513]; + KeyMap_514 = keyMap[514]; + KeyMap_515 = keyMap[515]; + KeyMap_516 = keyMap[516]; + KeyMap_517 = keyMap[517]; + KeyMap_518 = keyMap[518]; + KeyMap_519 = keyMap[519]; + KeyMap_520 = keyMap[520]; + KeyMap_521 = keyMap[521]; + KeyMap_522 = keyMap[522]; + KeyMap_523 = keyMap[523]; + KeyMap_524 = keyMap[524]; + KeyMap_525 = keyMap[525]; + KeyMap_526 = keyMap[526]; + KeyMap_527 = keyMap[527]; + KeyMap_528 = keyMap[528]; + KeyMap_529 = keyMap[529]; + KeyMap_530 = keyMap[530]; + KeyMap_531 = keyMap[531]; + KeyMap_532 = keyMap[532]; + KeyMap_533 = keyMap[533]; + KeyMap_534 = keyMap[534]; + KeyMap_535 = keyMap[535]; + KeyMap_536 = keyMap[536]; + KeyMap_537 = keyMap[537]; + KeyMap_538 = keyMap[538]; + KeyMap_539 = keyMap[539]; + KeyMap_540 = keyMap[540]; + KeyMap_541 = keyMap[541]; + KeyMap_542 = keyMap[542]; + KeyMap_543 = keyMap[543]; + KeyMap_544 = keyMap[544]; + KeyMap_545 = keyMap[545]; + KeyMap_546 = keyMap[546]; + KeyMap_547 = keyMap[547]; + KeyMap_548 = keyMap[548]; + KeyMap_549 = keyMap[549]; + KeyMap_550 = keyMap[550]; + KeyMap_551 = keyMap[551]; + KeyMap_552 = keyMap[552]; + KeyMap_553 = keyMap[553]; + KeyMap_554 = keyMap[554]; + KeyMap_555 = keyMap[555]; + KeyMap_556 = keyMap[556]; + KeyMap_557 = keyMap[557]; + KeyMap_558 = keyMap[558]; + KeyMap_559 = keyMap[559]; + KeyMap_560 = keyMap[560]; + KeyMap_561 = keyMap[561]; + KeyMap_562 = keyMap[562]; + KeyMap_563 = keyMap[563]; + KeyMap_564 = keyMap[564]; + KeyMap_565 = keyMap[565]; + KeyMap_566 = keyMap[566]; + KeyMap_567 = keyMap[567]; + KeyMap_568 = keyMap[568]; + KeyMap_569 = keyMap[569]; + KeyMap_570 = keyMap[570]; + KeyMap_571 = keyMap[571]; + KeyMap_572 = keyMap[572]; + KeyMap_573 = keyMap[573]; + KeyMap_574 = keyMap[574]; + KeyMap_575 = keyMap[575]; + KeyMap_576 = keyMap[576]; + KeyMap_577 = keyMap[577]; + KeyMap_578 = keyMap[578]; + KeyMap_579 = keyMap[579]; + KeyMap_580 = keyMap[580]; + KeyMap_581 = keyMap[581]; + KeyMap_582 = keyMap[582]; + KeyMap_583 = keyMap[583]; + KeyMap_584 = keyMap[584]; + KeyMap_585 = keyMap[585]; + KeyMap_586 = keyMap[586]; + KeyMap_587 = keyMap[587]; + KeyMap_588 = keyMap[588]; + KeyMap_589 = keyMap[589]; + KeyMap_590 = keyMap[590]; + KeyMap_591 = keyMap[591]; + KeyMap_592 = keyMap[592]; + KeyMap_593 = keyMap[593]; + KeyMap_594 = keyMap[594]; + KeyMap_595 = keyMap[595]; + KeyMap_596 = keyMap[596]; + KeyMap_597 = keyMap[597]; + KeyMap_598 = keyMap[598]; + KeyMap_599 = keyMap[599]; + KeyMap_600 = keyMap[600]; + KeyMap_601 = keyMap[601]; + KeyMap_602 = keyMap[602]; + KeyMap_603 = keyMap[603]; + KeyMap_604 = keyMap[604]; + KeyMap_605 = keyMap[605]; + KeyMap_606 = keyMap[606]; + KeyMap_607 = keyMap[607]; + KeyMap_608 = keyMap[608]; + KeyMap_609 = keyMap[609]; + KeyMap_610 = keyMap[610]; + KeyMap_611 = keyMap[611]; + KeyMap_612 = keyMap[612]; + KeyMap_613 = keyMap[613]; + KeyMap_614 = keyMap[614]; + KeyMap_615 = keyMap[615]; + KeyMap_616 = keyMap[616]; + KeyMap_617 = keyMap[617]; + KeyMap_618 = keyMap[618]; + KeyMap_619 = keyMap[619]; + KeyMap_620 = keyMap[620]; + KeyMap_621 = keyMap[621]; + KeyMap_622 = keyMap[622]; + KeyMap_623 = keyMap[623]; + KeyMap_624 = keyMap[624]; + KeyMap_625 = keyMap[625]; + KeyMap_626 = keyMap[626]; + KeyMap_627 = keyMap[627]; + KeyMap_628 = keyMap[628]; + KeyMap_629 = keyMap[629]; + KeyMap_630 = keyMap[630]; + KeyMap_631 = keyMap[631]; + KeyMap_632 = keyMap[632]; + KeyMap_633 = keyMap[633]; + KeyMap_634 = keyMap[634]; + KeyMap_635 = keyMap[635]; + KeyMap_636 = keyMap[636]; + KeyMap_637 = keyMap[637]; + KeyMap_638 = keyMap[638]; + KeyMap_639 = keyMap[639]; + KeyMap_640 = keyMap[640]; + KeyMap_641 = keyMap[641]; + KeyMap_642 = keyMap[642]; + KeyMap_643 = keyMap[643]; + KeyMap_644 = keyMap[644]; + } + if (keysDown != default(Span)) + { + KeysDown_0 = keysDown[0]; + KeysDown_1 = keysDown[1]; + KeysDown_2 = keysDown[2]; + KeysDown_3 = keysDown[3]; + KeysDown_4 = keysDown[4]; + KeysDown_5 = keysDown[5]; + KeysDown_6 = keysDown[6]; + KeysDown_7 = keysDown[7]; + KeysDown_8 = keysDown[8]; + KeysDown_9 = keysDown[9]; + KeysDown_10 = keysDown[10]; + KeysDown_11 = keysDown[11]; + KeysDown_12 = keysDown[12]; + KeysDown_13 = keysDown[13]; + KeysDown_14 = keysDown[14]; + KeysDown_15 = keysDown[15]; + KeysDown_16 = keysDown[16]; + KeysDown_17 = keysDown[17]; + KeysDown_18 = keysDown[18]; + KeysDown_19 = keysDown[19]; + KeysDown_20 = keysDown[20]; + KeysDown_21 = keysDown[21]; + KeysDown_22 = keysDown[22]; + KeysDown_23 = keysDown[23]; + KeysDown_24 = keysDown[24]; + KeysDown_25 = keysDown[25]; + KeysDown_26 = keysDown[26]; + KeysDown_27 = keysDown[27]; + KeysDown_28 = keysDown[28]; + KeysDown_29 = keysDown[29]; + KeysDown_30 = keysDown[30]; + KeysDown_31 = keysDown[31]; + KeysDown_32 = keysDown[32]; + KeysDown_33 = keysDown[33]; + KeysDown_34 = keysDown[34]; + KeysDown_35 = keysDown[35]; + KeysDown_36 = keysDown[36]; + KeysDown_37 = keysDown[37]; + KeysDown_38 = keysDown[38]; + KeysDown_39 = keysDown[39]; + KeysDown_40 = keysDown[40]; + KeysDown_41 = keysDown[41]; + KeysDown_42 = keysDown[42]; + KeysDown_43 = keysDown[43]; + KeysDown_44 = keysDown[44]; + KeysDown_45 = keysDown[45]; + KeysDown_46 = keysDown[46]; + KeysDown_47 = keysDown[47]; + KeysDown_48 = keysDown[48]; + KeysDown_49 = keysDown[49]; + KeysDown_50 = keysDown[50]; + KeysDown_51 = keysDown[51]; + KeysDown_52 = keysDown[52]; + KeysDown_53 = keysDown[53]; + KeysDown_54 = keysDown[54]; + KeysDown_55 = keysDown[55]; + KeysDown_56 = keysDown[56]; + KeysDown_57 = keysDown[57]; + KeysDown_58 = keysDown[58]; + KeysDown_59 = keysDown[59]; + KeysDown_60 = keysDown[60]; + KeysDown_61 = keysDown[61]; + KeysDown_62 = keysDown[62]; + KeysDown_63 = keysDown[63]; + KeysDown_64 = keysDown[64]; + KeysDown_65 = keysDown[65]; + KeysDown_66 = keysDown[66]; + KeysDown_67 = keysDown[67]; + KeysDown_68 = keysDown[68]; + KeysDown_69 = keysDown[69]; + KeysDown_70 = keysDown[70]; + KeysDown_71 = keysDown[71]; + KeysDown_72 = keysDown[72]; + KeysDown_73 = keysDown[73]; + KeysDown_74 = keysDown[74]; + KeysDown_75 = keysDown[75]; + KeysDown_76 = keysDown[76]; + KeysDown_77 = keysDown[77]; + KeysDown_78 = keysDown[78]; + KeysDown_79 = keysDown[79]; + KeysDown_80 = keysDown[80]; + KeysDown_81 = keysDown[81]; + KeysDown_82 = keysDown[82]; + KeysDown_83 = keysDown[83]; + KeysDown_84 = keysDown[84]; + KeysDown_85 = keysDown[85]; + KeysDown_86 = keysDown[86]; + KeysDown_87 = keysDown[87]; + KeysDown_88 = keysDown[88]; + KeysDown_89 = keysDown[89]; + KeysDown_90 = keysDown[90]; + KeysDown_91 = keysDown[91]; + KeysDown_92 = keysDown[92]; + KeysDown_93 = keysDown[93]; + KeysDown_94 = keysDown[94]; + KeysDown_95 = keysDown[95]; + KeysDown_96 = keysDown[96]; + KeysDown_97 = keysDown[97]; + KeysDown_98 = keysDown[98]; + KeysDown_99 = keysDown[99]; + KeysDown_100 = keysDown[100]; + KeysDown_101 = keysDown[101]; + KeysDown_102 = keysDown[102]; + KeysDown_103 = keysDown[103]; + KeysDown_104 = keysDown[104]; + KeysDown_105 = keysDown[105]; + KeysDown_106 = keysDown[106]; + KeysDown_107 = keysDown[107]; + KeysDown_108 = keysDown[108]; + KeysDown_109 = keysDown[109]; + KeysDown_110 = keysDown[110]; + KeysDown_111 = keysDown[111]; + KeysDown_112 = keysDown[112]; + KeysDown_113 = keysDown[113]; + KeysDown_114 = keysDown[114]; + KeysDown_115 = keysDown[115]; + KeysDown_116 = keysDown[116]; + KeysDown_117 = keysDown[117]; + KeysDown_118 = keysDown[118]; + KeysDown_119 = keysDown[119]; + KeysDown_120 = keysDown[120]; + KeysDown_121 = keysDown[121]; + KeysDown_122 = keysDown[122]; + KeysDown_123 = keysDown[123]; + KeysDown_124 = keysDown[124]; + KeysDown_125 = keysDown[125]; + KeysDown_126 = keysDown[126]; + KeysDown_127 = keysDown[127]; + KeysDown_128 = keysDown[128]; + KeysDown_129 = keysDown[129]; + KeysDown_130 = keysDown[130]; + KeysDown_131 = keysDown[131]; + KeysDown_132 = keysDown[132]; + KeysDown_133 = keysDown[133]; + KeysDown_134 = keysDown[134]; + KeysDown_135 = keysDown[135]; + KeysDown_136 = keysDown[136]; + KeysDown_137 = keysDown[137]; + KeysDown_138 = keysDown[138]; + KeysDown_139 = keysDown[139]; + KeysDown_140 = keysDown[140]; + KeysDown_141 = keysDown[141]; + KeysDown_142 = keysDown[142]; + KeysDown_143 = keysDown[143]; + KeysDown_144 = keysDown[144]; + KeysDown_145 = keysDown[145]; + KeysDown_146 = keysDown[146]; + KeysDown_147 = keysDown[147]; + KeysDown_148 = keysDown[148]; + KeysDown_149 = keysDown[149]; + KeysDown_150 = keysDown[150]; + KeysDown_151 = keysDown[151]; + KeysDown_152 = keysDown[152]; + KeysDown_153 = keysDown[153]; + KeysDown_154 = keysDown[154]; + KeysDown_155 = keysDown[155]; + KeysDown_156 = keysDown[156]; + KeysDown_157 = keysDown[157]; + KeysDown_158 = keysDown[158]; + KeysDown_159 = keysDown[159]; + KeysDown_160 = keysDown[160]; + KeysDown_161 = keysDown[161]; + KeysDown_162 = keysDown[162]; + KeysDown_163 = keysDown[163]; + KeysDown_164 = keysDown[164]; + KeysDown_165 = keysDown[165]; + KeysDown_166 = keysDown[166]; + KeysDown_167 = keysDown[167]; + KeysDown_168 = keysDown[168]; + KeysDown_169 = keysDown[169]; + KeysDown_170 = keysDown[170]; + KeysDown_171 = keysDown[171]; + KeysDown_172 = keysDown[172]; + KeysDown_173 = keysDown[173]; + KeysDown_174 = keysDown[174]; + KeysDown_175 = keysDown[175]; + KeysDown_176 = keysDown[176]; + KeysDown_177 = keysDown[177]; + KeysDown_178 = keysDown[178]; + KeysDown_179 = keysDown[179]; + KeysDown_180 = keysDown[180]; + KeysDown_181 = keysDown[181]; + KeysDown_182 = keysDown[182]; + KeysDown_183 = keysDown[183]; + KeysDown_184 = keysDown[184]; + KeysDown_185 = keysDown[185]; + KeysDown_186 = keysDown[186]; + KeysDown_187 = keysDown[187]; + KeysDown_188 = keysDown[188]; + KeysDown_189 = keysDown[189]; + KeysDown_190 = keysDown[190]; + KeysDown_191 = keysDown[191]; + KeysDown_192 = keysDown[192]; + KeysDown_193 = keysDown[193]; + KeysDown_194 = keysDown[194]; + KeysDown_195 = keysDown[195]; + KeysDown_196 = keysDown[196]; + KeysDown_197 = keysDown[197]; + KeysDown_198 = keysDown[198]; + KeysDown_199 = keysDown[199]; + KeysDown_200 = keysDown[200]; + KeysDown_201 = keysDown[201]; + KeysDown_202 = keysDown[202]; + KeysDown_203 = keysDown[203]; + KeysDown_204 = keysDown[204]; + KeysDown_205 = keysDown[205]; + KeysDown_206 = keysDown[206]; + KeysDown_207 = keysDown[207]; + KeysDown_208 = keysDown[208]; + KeysDown_209 = keysDown[209]; + KeysDown_210 = keysDown[210]; + KeysDown_211 = keysDown[211]; + KeysDown_212 = keysDown[212]; + KeysDown_213 = keysDown[213]; + KeysDown_214 = keysDown[214]; + KeysDown_215 = keysDown[215]; + KeysDown_216 = keysDown[216]; + KeysDown_217 = keysDown[217]; + KeysDown_218 = keysDown[218]; + KeysDown_219 = keysDown[219]; + KeysDown_220 = keysDown[220]; + KeysDown_221 = keysDown[221]; + KeysDown_222 = keysDown[222]; + KeysDown_223 = keysDown[223]; + KeysDown_224 = keysDown[224]; + KeysDown_225 = keysDown[225]; + KeysDown_226 = keysDown[226]; + KeysDown_227 = keysDown[227]; + KeysDown_228 = keysDown[228]; + KeysDown_229 = keysDown[229]; + KeysDown_230 = keysDown[230]; + KeysDown_231 = keysDown[231]; + KeysDown_232 = keysDown[232]; + KeysDown_233 = keysDown[233]; + KeysDown_234 = keysDown[234]; + KeysDown_235 = keysDown[235]; + KeysDown_236 = keysDown[236]; + KeysDown_237 = keysDown[237]; + KeysDown_238 = keysDown[238]; + KeysDown_239 = keysDown[239]; + KeysDown_240 = keysDown[240]; + KeysDown_241 = keysDown[241]; + KeysDown_242 = keysDown[242]; + KeysDown_243 = keysDown[243]; + KeysDown_244 = keysDown[244]; + KeysDown_245 = keysDown[245]; + KeysDown_246 = keysDown[246]; + KeysDown_247 = keysDown[247]; + KeysDown_248 = keysDown[248]; + KeysDown_249 = keysDown[249]; + KeysDown_250 = keysDown[250]; + KeysDown_251 = keysDown[251]; + KeysDown_252 = keysDown[252]; + KeysDown_253 = keysDown[253]; + KeysDown_254 = keysDown[254]; + KeysDown_255 = keysDown[255]; + KeysDown_256 = keysDown[256]; + KeysDown_257 = keysDown[257]; + KeysDown_258 = keysDown[258]; + KeysDown_259 = keysDown[259]; + KeysDown_260 = keysDown[260]; + KeysDown_261 = keysDown[261]; + KeysDown_262 = keysDown[262]; + KeysDown_263 = keysDown[263]; + KeysDown_264 = keysDown[264]; + KeysDown_265 = keysDown[265]; + KeysDown_266 = keysDown[266]; + KeysDown_267 = keysDown[267]; + KeysDown_268 = keysDown[268]; + KeysDown_269 = keysDown[269]; + KeysDown_270 = keysDown[270]; + KeysDown_271 = keysDown[271]; + KeysDown_272 = keysDown[272]; + KeysDown_273 = keysDown[273]; + KeysDown_274 = keysDown[274]; + KeysDown_275 = keysDown[275]; + KeysDown_276 = keysDown[276]; + KeysDown_277 = keysDown[277]; + KeysDown_278 = keysDown[278]; + KeysDown_279 = keysDown[279]; + KeysDown_280 = keysDown[280]; + KeysDown_281 = keysDown[281]; + KeysDown_282 = keysDown[282]; + KeysDown_283 = keysDown[283]; + KeysDown_284 = keysDown[284]; + KeysDown_285 = keysDown[285]; + KeysDown_286 = keysDown[286]; + KeysDown_287 = keysDown[287]; + KeysDown_288 = keysDown[288]; + KeysDown_289 = keysDown[289]; + KeysDown_290 = keysDown[290]; + KeysDown_291 = keysDown[291]; + KeysDown_292 = keysDown[292]; + KeysDown_293 = keysDown[293]; + KeysDown_294 = keysDown[294]; + KeysDown_295 = keysDown[295]; + KeysDown_296 = keysDown[296]; + KeysDown_297 = keysDown[297]; + KeysDown_298 = keysDown[298]; + KeysDown_299 = keysDown[299]; + KeysDown_300 = keysDown[300]; + KeysDown_301 = keysDown[301]; + KeysDown_302 = keysDown[302]; + KeysDown_303 = keysDown[303]; + KeysDown_304 = keysDown[304]; + KeysDown_305 = keysDown[305]; + KeysDown_306 = keysDown[306]; + KeysDown_307 = keysDown[307]; + KeysDown_308 = keysDown[308]; + KeysDown_309 = keysDown[309]; + KeysDown_310 = keysDown[310]; + KeysDown_311 = keysDown[311]; + KeysDown_312 = keysDown[312]; + KeysDown_313 = keysDown[313]; + KeysDown_314 = keysDown[314]; + KeysDown_315 = keysDown[315]; + KeysDown_316 = keysDown[316]; + KeysDown_317 = keysDown[317]; + KeysDown_318 = keysDown[318]; + KeysDown_319 = keysDown[319]; + KeysDown_320 = keysDown[320]; + KeysDown_321 = keysDown[321]; + KeysDown_322 = keysDown[322]; + KeysDown_323 = keysDown[323]; + KeysDown_324 = keysDown[324]; + KeysDown_325 = keysDown[325]; + KeysDown_326 = keysDown[326]; + KeysDown_327 = keysDown[327]; + KeysDown_328 = keysDown[328]; + KeysDown_329 = keysDown[329]; + KeysDown_330 = keysDown[330]; + KeysDown_331 = keysDown[331]; + KeysDown_332 = keysDown[332]; + KeysDown_333 = keysDown[333]; + KeysDown_334 = keysDown[334]; + KeysDown_335 = keysDown[335]; + KeysDown_336 = keysDown[336]; + KeysDown_337 = keysDown[337]; + KeysDown_338 = keysDown[338]; + KeysDown_339 = keysDown[339]; + KeysDown_340 = keysDown[340]; + KeysDown_341 = keysDown[341]; + KeysDown_342 = keysDown[342]; + KeysDown_343 = keysDown[343]; + KeysDown_344 = keysDown[344]; + KeysDown_345 = keysDown[345]; + KeysDown_346 = keysDown[346]; + KeysDown_347 = keysDown[347]; + KeysDown_348 = keysDown[348]; + KeysDown_349 = keysDown[349]; + KeysDown_350 = keysDown[350]; + KeysDown_351 = keysDown[351]; + KeysDown_352 = keysDown[352]; + KeysDown_353 = keysDown[353]; + KeysDown_354 = keysDown[354]; + KeysDown_355 = keysDown[355]; + KeysDown_356 = keysDown[356]; + KeysDown_357 = keysDown[357]; + KeysDown_358 = keysDown[358]; + KeysDown_359 = keysDown[359]; + KeysDown_360 = keysDown[360]; + KeysDown_361 = keysDown[361]; + KeysDown_362 = keysDown[362]; + KeysDown_363 = keysDown[363]; + KeysDown_364 = keysDown[364]; + KeysDown_365 = keysDown[365]; + KeysDown_366 = keysDown[366]; + KeysDown_367 = keysDown[367]; + KeysDown_368 = keysDown[368]; + KeysDown_369 = keysDown[369]; + KeysDown_370 = keysDown[370]; + KeysDown_371 = keysDown[371]; + KeysDown_372 = keysDown[372]; + KeysDown_373 = keysDown[373]; + KeysDown_374 = keysDown[374]; + KeysDown_375 = keysDown[375]; + KeysDown_376 = keysDown[376]; + KeysDown_377 = keysDown[377]; + KeysDown_378 = keysDown[378]; + KeysDown_379 = keysDown[379]; + KeysDown_380 = keysDown[380]; + KeysDown_381 = keysDown[381]; + KeysDown_382 = keysDown[382]; + KeysDown_383 = keysDown[383]; + KeysDown_384 = keysDown[384]; + KeysDown_385 = keysDown[385]; + KeysDown_386 = keysDown[386]; + KeysDown_387 = keysDown[387]; + KeysDown_388 = keysDown[388]; + KeysDown_389 = keysDown[389]; + KeysDown_390 = keysDown[390]; + KeysDown_391 = keysDown[391]; + KeysDown_392 = keysDown[392]; + KeysDown_393 = keysDown[393]; + KeysDown_394 = keysDown[394]; + KeysDown_395 = keysDown[395]; + KeysDown_396 = keysDown[396]; + KeysDown_397 = keysDown[397]; + KeysDown_398 = keysDown[398]; + KeysDown_399 = keysDown[399]; + KeysDown_400 = keysDown[400]; + KeysDown_401 = keysDown[401]; + KeysDown_402 = keysDown[402]; + KeysDown_403 = keysDown[403]; + KeysDown_404 = keysDown[404]; + KeysDown_405 = keysDown[405]; + KeysDown_406 = keysDown[406]; + KeysDown_407 = keysDown[407]; + KeysDown_408 = keysDown[408]; + KeysDown_409 = keysDown[409]; + KeysDown_410 = keysDown[410]; + KeysDown_411 = keysDown[411]; + KeysDown_412 = keysDown[412]; + KeysDown_413 = keysDown[413]; + KeysDown_414 = keysDown[414]; + KeysDown_415 = keysDown[415]; + KeysDown_416 = keysDown[416]; + KeysDown_417 = keysDown[417]; + KeysDown_418 = keysDown[418]; + KeysDown_419 = keysDown[419]; + KeysDown_420 = keysDown[420]; + KeysDown_421 = keysDown[421]; + KeysDown_422 = keysDown[422]; + KeysDown_423 = keysDown[423]; + KeysDown_424 = keysDown[424]; + KeysDown_425 = keysDown[425]; + KeysDown_426 = keysDown[426]; + KeysDown_427 = keysDown[427]; + KeysDown_428 = keysDown[428]; + KeysDown_429 = keysDown[429]; + KeysDown_430 = keysDown[430]; + KeysDown_431 = keysDown[431]; + KeysDown_432 = keysDown[432]; + KeysDown_433 = keysDown[433]; + KeysDown_434 = keysDown[434]; + KeysDown_435 = keysDown[435]; + KeysDown_436 = keysDown[436]; + KeysDown_437 = keysDown[437]; + KeysDown_438 = keysDown[438]; + KeysDown_439 = keysDown[439]; + KeysDown_440 = keysDown[440]; + KeysDown_441 = keysDown[441]; + KeysDown_442 = keysDown[442]; + KeysDown_443 = keysDown[443]; + KeysDown_444 = keysDown[444]; + KeysDown_445 = keysDown[445]; + KeysDown_446 = keysDown[446]; + KeysDown_447 = keysDown[447]; + KeysDown_448 = keysDown[448]; + KeysDown_449 = keysDown[449]; + KeysDown_450 = keysDown[450]; + KeysDown_451 = keysDown[451]; + KeysDown_452 = keysDown[452]; + KeysDown_453 = keysDown[453]; + KeysDown_454 = keysDown[454]; + KeysDown_455 = keysDown[455]; + KeysDown_456 = keysDown[456]; + KeysDown_457 = keysDown[457]; + KeysDown_458 = keysDown[458]; + KeysDown_459 = keysDown[459]; + KeysDown_460 = keysDown[460]; + KeysDown_461 = keysDown[461]; + KeysDown_462 = keysDown[462]; + KeysDown_463 = keysDown[463]; + KeysDown_464 = keysDown[464]; + KeysDown_465 = keysDown[465]; + KeysDown_466 = keysDown[466]; + KeysDown_467 = keysDown[467]; + KeysDown_468 = keysDown[468]; + KeysDown_469 = keysDown[469]; + KeysDown_470 = keysDown[470]; + KeysDown_471 = keysDown[471]; + KeysDown_472 = keysDown[472]; + KeysDown_473 = keysDown[473]; + KeysDown_474 = keysDown[474]; + KeysDown_475 = keysDown[475]; + KeysDown_476 = keysDown[476]; + KeysDown_477 = keysDown[477]; + KeysDown_478 = keysDown[478]; + KeysDown_479 = keysDown[479]; + KeysDown_480 = keysDown[480]; + KeysDown_481 = keysDown[481]; + KeysDown_482 = keysDown[482]; + KeysDown_483 = keysDown[483]; + KeysDown_484 = keysDown[484]; + KeysDown_485 = keysDown[485]; + KeysDown_486 = keysDown[486]; + KeysDown_487 = keysDown[487]; + KeysDown_488 = keysDown[488]; + KeysDown_489 = keysDown[489]; + KeysDown_490 = keysDown[490]; + KeysDown_491 = keysDown[491]; + KeysDown_492 = keysDown[492]; + KeysDown_493 = keysDown[493]; + KeysDown_494 = keysDown[494]; + KeysDown_495 = keysDown[495]; + KeysDown_496 = keysDown[496]; + KeysDown_497 = keysDown[497]; + KeysDown_498 = keysDown[498]; + KeysDown_499 = keysDown[499]; + KeysDown_500 = keysDown[500]; + KeysDown_501 = keysDown[501]; + KeysDown_502 = keysDown[502]; + KeysDown_503 = keysDown[503]; + KeysDown_504 = keysDown[504]; + KeysDown_505 = keysDown[505]; + KeysDown_506 = keysDown[506]; + KeysDown_507 = keysDown[507]; + KeysDown_508 = keysDown[508]; + KeysDown_509 = keysDown[509]; + KeysDown_510 = keysDown[510]; + KeysDown_511 = keysDown[511]; + KeysDown_512 = keysDown[512]; + KeysDown_513 = keysDown[513]; + KeysDown_514 = keysDown[514]; + KeysDown_515 = keysDown[515]; + KeysDown_516 = keysDown[516]; + KeysDown_517 = keysDown[517]; + KeysDown_518 = keysDown[518]; + KeysDown_519 = keysDown[519]; + KeysDown_520 = keysDown[520]; + KeysDown_521 = keysDown[521]; + KeysDown_522 = keysDown[522]; + KeysDown_523 = keysDown[523]; + KeysDown_524 = keysDown[524]; + KeysDown_525 = keysDown[525]; + KeysDown_526 = keysDown[526]; + KeysDown_527 = keysDown[527]; + KeysDown_528 = keysDown[528]; + KeysDown_529 = keysDown[529]; + KeysDown_530 = keysDown[530]; + KeysDown_531 = keysDown[531]; + KeysDown_532 = keysDown[532]; + KeysDown_533 = keysDown[533]; + KeysDown_534 = keysDown[534]; + KeysDown_535 = keysDown[535]; + KeysDown_536 = keysDown[536]; + KeysDown_537 = keysDown[537]; + KeysDown_538 = keysDown[538]; + KeysDown_539 = keysDown[539]; + KeysDown_540 = keysDown[540]; + KeysDown_541 = keysDown[541]; + KeysDown_542 = keysDown[542]; + KeysDown_543 = keysDown[543]; + KeysDown_544 = keysDown[544]; + KeysDown_545 = keysDown[545]; + KeysDown_546 = keysDown[546]; + KeysDown_547 = keysDown[547]; + KeysDown_548 = keysDown[548]; + KeysDown_549 = keysDown[549]; + KeysDown_550 = keysDown[550]; + KeysDown_551 = keysDown[551]; + KeysDown_552 = keysDown[552]; + KeysDown_553 = keysDown[553]; + KeysDown_554 = keysDown[554]; + KeysDown_555 = keysDown[555]; + KeysDown_556 = keysDown[556]; + KeysDown_557 = keysDown[557]; + KeysDown_558 = keysDown[558]; + KeysDown_559 = keysDown[559]; + KeysDown_560 = keysDown[560]; + KeysDown_561 = keysDown[561]; + KeysDown_562 = keysDown[562]; + KeysDown_563 = keysDown[563]; + KeysDown_564 = keysDown[564]; + KeysDown_565 = keysDown[565]; + KeysDown_566 = keysDown[566]; + KeysDown_567 = keysDown[567]; + KeysDown_568 = keysDown[568]; + KeysDown_569 = keysDown[569]; + KeysDown_570 = keysDown[570]; + KeysDown_571 = keysDown[571]; + KeysDown_572 = keysDown[572]; + KeysDown_573 = keysDown[573]; + KeysDown_574 = keysDown[574]; + KeysDown_575 = keysDown[575]; + KeysDown_576 = keysDown[576]; + KeysDown_577 = keysDown[577]; + KeysDown_578 = keysDown[578]; + KeysDown_579 = keysDown[579]; + KeysDown_580 = keysDown[580]; + KeysDown_581 = keysDown[581]; + KeysDown_582 = keysDown[582]; + KeysDown_583 = keysDown[583]; + KeysDown_584 = keysDown[584]; + KeysDown_585 = keysDown[585]; + KeysDown_586 = keysDown[586]; + KeysDown_587 = keysDown[587]; + KeysDown_588 = keysDown[588]; + KeysDown_589 = keysDown[589]; + KeysDown_590 = keysDown[590]; + KeysDown_591 = keysDown[591]; + KeysDown_592 = keysDown[592]; + KeysDown_593 = keysDown[593]; + KeysDown_594 = keysDown[594]; + KeysDown_595 = keysDown[595]; + KeysDown_596 = keysDown[596]; + KeysDown_597 = keysDown[597]; + KeysDown_598 = keysDown[598]; + KeysDown_599 = keysDown[599]; + KeysDown_600 = keysDown[600]; + KeysDown_601 = keysDown[601]; + KeysDown_602 = keysDown[602]; + KeysDown_603 = keysDown[603]; + KeysDown_604 = keysDown[604]; + KeysDown_605 = keysDown[605]; + KeysDown_606 = keysDown[606]; + KeysDown_607 = keysDown[607]; + KeysDown_608 = keysDown[608]; + KeysDown_609 = keysDown[609]; + KeysDown_610 = keysDown[610]; + KeysDown_611 = keysDown[611]; + KeysDown_612 = keysDown[612]; + KeysDown_613 = keysDown[613]; + KeysDown_614 = keysDown[614]; + KeysDown_615 = keysDown[615]; + KeysDown_616 = keysDown[616]; + KeysDown_617 = keysDown[617]; + KeysDown_618 = keysDown[618]; + KeysDown_619 = keysDown[619]; + KeysDown_620 = keysDown[620]; + KeysDown_621 = keysDown[621]; + KeysDown_622 = keysDown[622]; + KeysDown_623 = keysDown[623]; + KeysDown_624 = keysDown[624]; + KeysDown_625 = keysDown[625]; + KeysDown_626 = keysDown[626]; + KeysDown_627 = keysDown[627]; + KeysDown_628 = keysDown[628]; + KeysDown_629 = keysDown[629]; + KeysDown_630 = keysDown[630]; + KeysDown_631 = keysDown[631]; + KeysDown_632 = keysDown[632]; + KeysDown_633 = keysDown[633]; + KeysDown_634 = keysDown[634]; + KeysDown_635 = keysDown[635]; + KeysDown_636 = keysDown[636]; + KeysDown_637 = keysDown[637]; + KeysDown_638 = keysDown[638]; + KeysDown_639 = keysDown[639]; + KeysDown_640 = keysDown[640]; + KeysDown_641 = keysDown[641]; + KeysDown_642 = keysDown[642]; + KeysDown_643 = keysDown[643]; + KeysDown_644 = keysDown[644]; + } + MousePos = mousePos; + if (mouseDown != default(Span)) + { + MouseDown_0 = mouseDown[0]; + MouseDown_1 = mouseDown[1]; + MouseDown_2 = mouseDown[2]; + MouseDown_3 = mouseDown[3]; + MouseDown_4 = mouseDown[4]; + } + MouseWheel = mouseWheel; + MouseWheelH = mouseWheelH; + MouseHoveredViewport = mouseHoveredViewport; + KeyCtrl = keyCtrl ? (byte)1 : (byte)0; + KeyShift = keyShift ? (byte)1 : (byte)0; + KeyAlt = keyAlt ? (byte)1 : (byte)0; + KeySuper = keySuper ? (byte)1 : (byte)0; + if (navInputs != default(Span)) + { + NavInputs_0 = navInputs[0]; + NavInputs_1 = navInputs[1]; + NavInputs_2 = navInputs[2]; + NavInputs_3 = navInputs[3]; + NavInputs_4 = navInputs[4]; + NavInputs_5 = navInputs[5]; + NavInputs_6 = navInputs[6]; + NavInputs_7 = navInputs[7]; + NavInputs_8 = navInputs[8]; + NavInputs_9 = navInputs[9]; + NavInputs_10 = navInputs[10]; + NavInputs_11 = navInputs[11]; + NavInputs_12 = navInputs[12]; + NavInputs_13 = navInputs[13]; + NavInputs_14 = navInputs[14]; + NavInputs_15 = navInputs[15]; + NavInputs_16 = navInputs[16]; + NavInputs_17 = navInputs[17]; + NavInputs_18 = navInputs[18]; + NavInputs_19 = navInputs[19]; + NavInputs_20 = navInputs[20]; + } + KeyMods = keyMods; + if (keysData != default(Span)) + { + KeysData_0 = keysData[0]; + KeysData_1 = keysData[1]; + KeysData_2 = keysData[2]; + KeysData_3 = keysData[3]; + KeysData_4 = keysData[4]; + KeysData_5 = keysData[5]; + KeysData_6 = keysData[6]; + KeysData_7 = keysData[7]; + KeysData_8 = keysData[8]; + KeysData_9 = keysData[9]; + KeysData_10 = keysData[10]; + KeysData_11 = keysData[11]; + KeysData_12 = keysData[12]; + KeysData_13 = keysData[13]; + KeysData_14 = keysData[14]; + KeysData_15 = keysData[15]; + KeysData_16 = keysData[16]; + KeysData_17 = keysData[17]; + KeysData_18 = keysData[18]; + KeysData_19 = keysData[19]; + KeysData_20 = keysData[20]; + KeysData_21 = keysData[21]; + KeysData_22 = keysData[22]; + KeysData_23 = keysData[23]; + KeysData_24 = keysData[24]; + KeysData_25 = keysData[25]; + KeysData_26 = keysData[26]; + KeysData_27 = keysData[27]; + KeysData_28 = keysData[28]; + KeysData_29 = keysData[29]; + KeysData_30 = keysData[30]; + KeysData_31 = keysData[31]; + KeysData_32 = keysData[32]; + KeysData_33 = keysData[33]; + KeysData_34 = keysData[34]; + KeysData_35 = keysData[35]; + KeysData_36 = keysData[36]; + KeysData_37 = keysData[37]; + KeysData_38 = keysData[38]; + KeysData_39 = keysData[39]; + KeysData_40 = keysData[40]; + KeysData_41 = keysData[41]; + KeysData_42 = keysData[42]; + KeysData_43 = keysData[43]; + KeysData_44 = keysData[44]; + KeysData_45 = keysData[45]; + KeysData_46 = keysData[46]; + KeysData_47 = keysData[47]; + KeysData_48 = keysData[48]; + KeysData_49 = keysData[49]; + KeysData_50 = keysData[50]; + KeysData_51 = keysData[51]; + KeysData_52 = keysData[52]; + KeysData_53 = keysData[53]; + KeysData_54 = keysData[54]; + KeysData_55 = keysData[55]; + KeysData_56 = keysData[56]; + KeysData_57 = keysData[57]; + KeysData_58 = keysData[58]; + KeysData_59 = keysData[59]; + KeysData_60 = keysData[60]; + KeysData_61 = keysData[61]; + KeysData_62 = keysData[62]; + KeysData_63 = keysData[63]; + KeysData_64 = keysData[64]; + KeysData_65 = keysData[65]; + KeysData_66 = keysData[66]; + KeysData_67 = keysData[67]; + KeysData_68 = keysData[68]; + KeysData_69 = keysData[69]; + KeysData_70 = keysData[70]; + KeysData_71 = keysData[71]; + KeysData_72 = keysData[72]; + KeysData_73 = keysData[73]; + KeysData_74 = keysData[74]; + KeysData_75 = keysData[75]; + KeysData_76 = keysData[76]; + KeysData_77 = keysData[77]; + KeysData_78 = keysData[78]; + KeysData_79 = keysData[79]; + KeysData_80 = keysData[80]; + KeysData_81 = keysData[81]; + KeysData_82 = keysData[82]; + KeysData_83 = keysData[83]; + KeysData_84 = keysData[84]; + KeysData_85 = keysData[85]; + KeysData_86 = keysData[86]; + KeysData_87 = keysData[87]; + KeysData_88 = keysData[88]; + KeysData_89 = keysData[89]; + KeysData_90 = keysData[90]; + KeysData_91 = keysData[91]; + KeysData_92 = keysData[92]; + KeysData_93 = keysData[93]; + KeysData_94 = keysData[94]; + KeysData_95 = keysData[95]; + KeysData_96 = keysData[96]; + KeysData_97 = keysData[97]; + KeysData_98 = keysData[98]; + KeysData_99 = keysData[99]; + KeysData_100 = keysData[100]; + KeysData_101 = keysData[101]; + KeysData_102 = keysData[102]; + KeysData_103 = keysData[103]; + KeysData_104 = keysData[104]; + KeysData_105 = keysData[105]; + KeysData_106 = keysData[106]; + KeysData_107 = keysData[107]; + KeysData_108 = keysData[108]; + KeysData_109 = keysData[109]; + KeysData_110 = keysData[110]; + KeysData_111 = keysData[111]; + KeysData_112 = keysData[112]; + KeysData_113 = keysData[113]; + KeysData_114 = keysData[114]; + KeysData_115 = keysData[115]; + KeysData_116 = keysData[116]; + KeysData_117 = keysData[117]; + KeysData_118 = keysData[118]; + KeysData_119 = keysData[119]; + KeysData_120 = keysData[120]; + KeysData_121 = keysData[121]; + KeysData_122 = keysData[122]; + KeysData_123 = keysData[123]; + KeysData_124 = keysData[124]; + KeysData_125 = keysData[125]; + KeysData_126 = keysData[126]; + KeysData_127 = keysData[127]; + KeysData_128 = keysData[128]; + KeysData_129 = keysData[129]; + KeysData_130 = keysData[130]; + KeysData_131 = keysData[131]; + KeysData_132 = keysData[132]; + KeysData_133 = keysData[133]; + KeysData_134 = keysData[134]; + KeysData_135 = keysData[135]; + KeysData_136 = keysData[136]; + KeysData_137 = keysData[137]; + KeysData_138 = keysData[138]; + KeysData_139 = keysData[139]; + KeysData_140 = keysData[140]; + KeysData_141 = keysData[141]; + KeysData_142 = keysData[142]; + KeysData_143 = keysData[143]; + KeysData_144 = keysData[144]; + KeysData_145 = keysData[145]; + KeysData_146 = keysData[146]; + KeysData_147 = keysData[147]; + KeysData_148 = keysData[148]; + KeysData_149 = keysData[149]; + KeysData_150 = keysData[150]; + KeysData_151 = keysData[151]; + KeysData_152 = keysData[152]; + KeysData_153 = keysData[153]; + KeysData_154 = keysData[154]; + KeysData_155 = keysData[155]; + KeysData_156 = keysData[156]; + KeysData_157 = keysData[157]; + KeysData_158 = keysData[158]; + KeysData_159 = keysData[159]; + KeysData_160 = keysData[160]; + KeysData_161 = keysData[161]; + KeysData_162 = keysData[162]; + KeysData_163 = keysData[163]; + KeysData_164 = keysData[164]; + KeysData_165 = keysData[165]; + KeysData_166 = keysData[166]; + KeysData_167 = keysData[167]; + KeysData_168 = keysData[168]; + KeysData_169 = keysData[169]; + KeysData_170 = keysData[170]; + KeysData_171 = keysData[171]; + KeysData_172 = keysData[172]; + KeysData_173 = keysData[173]; + KeysData_174 = keysData[174]; + KeysData_175 = keysData[175]; + KeysData_176 = keysData[176]; + KeysData_177 = keysData[177]; + KeysData_178 = keysData[178]; + KeysData_179 = keysData[179]; + KeysData_180 = keysData[180]; + KeysData_181 = keysData[181]; + KeysData_182 = keysData[182]; + KeysData_183 = keysData[183]; + KeysData_184 = keysData[184]; + KeysData_185 = keysData[185]; + KeysData_186 = keysData[186]; + KeysData_187 = keysData[187]; + KeysData_188 = keysData[188]; + KeysData_189 = keysData[189]; + KeysData_190 = keysData[190]; + KeysData_191 = keysData[191]; + KeysData_192 = keysData[192]; + KeysData_193 = keysData[193]; + KeysData_194 = keysData[194]; + KeysData_195 = keysData[195]; + KeysData_196 = keysData[196]; + KeysData_197 = keysData[197]; + KeysData_198 = keysData[198]; + KeysData_199 = keysData[199]; + KeysData_200 = keysData[200]; + KeysData_201 = keysData[201]; + KeysData_202 = keysData[202]; + KeysData_203 = keysData[203]; + KeysData_204 = keysData[204]; + KeysData_205 = keysData[205]; + KeysData_206 = keysData[206]; + KeysData_207 = keysData[207]; + KeysData_208 = keysData[208]; + KeysData_209 = keysData[209]; + KeysData_210 = keysData[210]; + KeysData_211 = keysData[211]; + KeysData_212 = keysData[212]; + KeysData_213 = keysData[213]; + KeysData_214 = keysData[214]; + KeysData_215 = keysData[215]; + KeysData_216 = keysData[216]; + KeysData_217 = keysData[217]; + KeysData_218 = keysData[218]; + KeysData_219 = keysData[219]; + KeysData_220 = keysData[220]; + KeysData_221 = keysData[221]; + KeysData_222 = keysData[222]; + KeysData_223 = keysData[223]; + KeysData_224 = keysData[224]; + KeysData_225 = keysData[225]; + KeysData_226 = keysData[226]; + KeysData_227 = keysData[227]; + KeysData_228 = keysData[228]; + KeysData_229 = keysData[229]; + KeysData_230 = keysData[230]; + KeysData_231 = keysData[231]; + KeysData_232 = keysData[232]; + KeysData_233 = keysData[233]; + KeysData_234 = keysData[234]; + KeysData_235 = keysData[235]; + KeysData_236 = keysData[236]; + KeysData_237 = keysData[237]; + KeysData_238 = keysData[238]; + KeysData_239 = keysData[239]; + KeysData_240 = keysData[240]; + KeysData_241 = keysData[241]; + KeysData_242 = keysData[242]; + KeysData_243 = keysData[243]; + KeysData_244 = keysData[244]; + KeysData_245 = keysData[245]; + KeysData_246 = keysData[246]; + KeysData_247 = keysData[247]; + KeysData_248 = keysData[248]; + KeysData_249 = keysData[249]; + KeysData_250 = keysData[250]; + KeysData_251 = keysData[251]; + KeysData_252 = keysData[252]; + KeysData_253 = keysData[253]; + KeysData_254 = keysData[254]; + KeysData_255 = keysData[255]; + KeysData_256 = keysData[256]; + KeysData_257 = keysData[257]; + KeysData_258 = keysData[258]; + KeysData_259 = keysData[259]; + KeysData_260 = keysData[260]; + KeysData_261 = keysData[261]; + KeysData_262 = keysData[262]; + KeysData_263 = keysData[263]; + KeysData_264 = keysData[264]; + KeysData_265 = keysData[265]; + KeysData_266 = keysData[266]; + KeysData_267 = keysData[267]; + KeysData_268 = keysData[268]; + KeysData_269 = keysData[269]; + KeysData_270 = keysData[270]; + KeysData_271 = keysData[271]; + KeysData_272 = keysData[272]; + KeysData_273 = keysData[273]; + KeysData_274 = keysData[274]; + KeysData_275 = keysData[275]; + KeysData_276 = keysData[276]; + KeysData_277 = keysData[277]; + KeysData_278 = keysData[278]; + KeysData_279 = keysData[279]; + KeysData_280 = keysData[280]; + KeysData_281 = keysData[281]; + KeysData_282 = keysData[282]; + KeysData_283 = keysData[283]; + KeysData_284 = keysData[284]; + KeysData_285 = keysData[285]; + KeysData_286 = keysData[286]; + KeysData_287 = keysData[287]; + KeysData_288 = keysData[288]; + KeysData_289 = keysData[289]; + KeysData_290 = keysData[290]; + KeysData_291 = keysData[291]; + KeysData_292 = keysData[292]; + KeysData_293 = keysData[293]; + KeysData_294 = keysData[294]; + KeysData_295 = keysData[295]; + KeysData_296 = keysData[296]; + KeysData_297 = keysData[297]; + KeysData_298 = keysData[298]; + KeysData_299 = keysData[299]; + KeysData_300 = keysData[300]; + KeysData_301 = keysData[301]; + KeysData_302 = keysData[302]; + KeysData_303 = keysData[303]; + KeysData_304 = keysData[304]; + KeysData_305 = keysData[305]; + KeysData_306 = keysData[306]; + KeysData_307 = keysData[307]; + KeysData_308 = keysData[308]; + KeysData_309 = keysData[309]; + KeysData_310 = keysData[310]; + KeysData_311 = keysData[311]; + KeysData_312 = keysData[312]; + KeysData_313 = keysData[313]; + KeysData_314 = keysData[314]; + KeysData_315 = keysData[315]; + KeysData_316 = keysData[316]; + KeysData_317 = keysData[317]; + KeysData_318 = keysData[318]; + KeysData_319 = keysData[319]; + KeysData_320 = keysData[320]; + KeysData_321 = keysData[321]; + KeysData_322 = keysData[322]; + KeysData_323 = keysData[323]; + KeysData_324 = keysData[324]; + KeysData_325 = keysData[325]; + KeysData_326 = keysData[326]; + KeysData_327 = keysData[327]; + KeysData_328 = keysData[328]; + KeysData_329 = keysData[329]; + KeysData_330 = keysData[330]; + KeysData_331 = keysData[331]; + KeysData_332 = keysData[332]; + KeysData_333 = keysData[333]; + KeysData_334 = keysData[334]; + KeysData_335 = keysData[335]; + KeysData_336 = keysData[336]; + KeysData_337 = keysData[337]; + KeysData_338 = keysData[338]; + KeysData_339 = keysData[339]; + KeysData_340 = keysData[340]; + KeysData_341 = keysData[341]; + KeysData_342 = keysData[342]; + KeysData_343 = keysData[343]; + KeysData_344 = keysData[344]; + KeysData_345 = keysData[345]; + KeysData_346 = keysData[346]; + KeysData_347 = keysData[347]; + KeysData_348 = keysData[348]; + KeysData_349 = keysData[349]; + KeysData_350 = keysData[350]; + KeysData_351 = keysData[351]; + KeysData_352 = keysData[352]; + KeysData_353 = keysData[353]; + KeysData_354 = keysData[354]; + KeysData_355 = keysData[355]; + KeysData_356 = keysData[356]; + KeysData_357 = keysData[357]; + KeysData_358 = keysData[358]; + KeysData_359 = keysData[359]; + KeysData_360 = keysData[360]; + KeysData_361 = keysData[361]; + KeysData_362 = keysData[362]; + KeysData_363 = keysData[363]; + KeysData_364 = keysData[364]; + KeysData_365 = keysData[365]; + KeysData_366 = keysData[366]; + KeysData_367 = keysData[367]; + KeysData_368 = keysData[368]; + KeysData_369 = keysData[369]; + KeysData_370 = keysData[370]; + KeysData_371 = keysData[371]; + KeysData_372 = keysData[372]; + KeysData_373 = keysData[373]; + KeysData_374 = keysData[374]; + KeysData_375 = keysData[375]; + KeysData_376 = keysData[376]; + KeysData_377 = keysData[377]; + KeysData_378 = keysData[378]; + KeysData_379 = keysData[379]; + KeysData_380 = keysData[380]; + KeysData_381 = keysData[381]; + KeysData_382 = keysData[382]; + KeysData_383 = keysData[383]; + KeysData_384 = keysData[384]; + KeysData_385 = keysData[385]; + KeysData_386 = keysData[386]; + KeysData_387 = keysData[387]; + KeysData_388 = keysData[388]; + KeysData_389 = keysData[389]; + KeysData_390 = keysData[390]; + KeysData_391 = keysData[391]; + KeysData_392 = keysData[392]; + KeysData_393 = keysData[393]; + KeysData_394 = keysData[394]; + KeysData_395 = keysData[395]; + KeysData_396 = keysData[396]; + KeysData_397 = keysData[397]; + KeysData_398 = keysData[398]; + KeysData_399 = keysData[399]; + KeysData_400 = keysData[400]; + KeysData_401 = keysData[401]; + KeysData_402 = keysData[402]; + KeysData_403 = keysData[403]; + KeysData_404 = keysData[404]; + KeysData_405 = keysData[405]; + KeysData_406 = keysData[406]; + KeysData_407 = keysData[407]; + KeysData_408 = keysData[408]; + KeysData_409 = keysData[409]; + KeysData_410 = keysData[410]; + KeysData_411 = keysData[411]; + KeysData_412 = keysData[412]; + KeysData_413 = keysData[413]; + KeysData_414 = keysData[414]; + KeysData_415 = keysData[415]; + KeysData_416 = keysData[416]; + KeysData_417 = keysData[417]; + KeysData_418 = keysData[418]; + KeysData_419 = keysData[419]; + KeysData_420 = keysData[420]; + KeysData_421 = keysData[421]; + KeysData_422 = keysData[422]; + KeysData_423 = keysData[423]; + KeysData_424 = keysData[424]; + KeysData_425 = keysData[425]; + KeysData_426 = keysData[426]; + KeysData_427 = keysData[427]; + KeysData_428 = keysData[428]; + KeysData_429 = keysData[429]; + KeysData_430 = keysData[430]; + KeysData_431 = keysData[431]; + KeysData_432 = keysData[432]; + KeysData_433 = keysData[433]; + KeysData_434 = keysData[434]; + KeysData_435 = keysData[435]; + KeysData_436 = keysData[436]; + KeysData_437 = keysData[437]; + KeysData_438 = keysData[438]; + KeysData_439 = keysData[439]; + KeysData_440 = keysData[440]; + KeysData_441 = keysData[441]; + KeysData_442 = keysData[442]; + KeysData_443 = keysData[443]; + KeysData_444 = keysData[444]; + KeysData_445 = keysData[445]; + KeysData_446 = keysData[446]; + KeysData_447 = keysData[447]; + KeysData_448 = keysData[448]; + KeysData_449 = keysData[449]; + KeysData_450 = keysData[450]; + KeysData_451 = keysData[451]; + KeysData_452 = keysData[452]; + KeysData_453 = keysData[453]; + KeysData_454 = keysData[454]; + KeysData_455 = keysData[455]; + KeysData_456 = keysData[456]; + KeysData_457 = keysData[457]; + KeysData_458 = keysData[458]; + KeysData_459 = keysData[459]; + KeysData_460 = keysData[460]; + KeysData_461 = keysData[461]; + KeysData_462 = keysData[462]; + KeysData_463 = keysData[463]; + KeysData_464 = keysData[464]; + KeysData_465 = keysData[465]; + KeysData_466 = keysData[466]; + KeysData_467 = keysData[467]; + KeysData_468 = keysData[468]; + KeysData_469 = keysData[469]; + KeysData_470 = keysData[470]; + KeysData_471 = keysData[471]; + KeysData_472 = keysData[472]; + KeysData_473 = keysData[473]; + KeysData_474 = keysData[474]; + KeysData_475 = keysData[475]; + KeysData_476 = keysData[476]; + KeysData_477 = keysData[477]; + KeysData_478 = keysData[478]; + KeysData_479 = keysData[479]; + KeysData_480 = keysData[480]; + KeysData_481 = keysData[481]; + KeysData_482 = keysData[482]; + KeysData_483 = keysData[483]; + KeysData_484 = keysData[484]; + KeysData_485 = keysData[485]; + KeysData_486 = keysData[486]; + KeysData_487 = keysData[487]; + KeysData_488 = keysData[488]; + KeysData_489 = keysData[489]; + KeysData_490 = keysData[490]; + KeysData_491 = keysData[491]; + KeysData_492 = keysData[492]; + KeysData_493 = keysData[493]; + KeysData_494 = keysData[494]; + KeysData_495 = keysData[495]; + KeysData_496 = keysData[496]; + KeysData_497 = keysData[497]; + KeysData_498 = keysData[498]; + KeysData_499 = keysData[499]; + KeysData_500 = keysData[500]; + KeysData_501 = keysData[501]; + KeysData_502 = keysData[502]; + KeysData_503 = keysData[503]; + KeysData_504 = keysData[504]; + KeysData_505 = keysData[505]; + KeysData_506 = keysData[506]; + KeysData_507 = keysData[507]; + KeysData_508 = keysData[508]; + KeysData_509 = keysData[509]; + KeysData_510 = keysData[510]; + KeysData_511 = keysData[511]; + KeysData_512 = keysData[512]; + KeysData_513 = keysData[513]; + KeysData_514 = keysData[514]; + KeysData_515 = keysData[515]; + KeysData_516 = keysData[516]; + KeysData_517 = keysData[517]; + KeysData_518 = keysData[518]; + KeysData_519 = keysData[519]; + KeysData_520 = keysData[520]; + KeysData_521 = keysData[521]; + KeysData_522 = keysData[522]; + KeysData_523 = keysData[523]; + KeysData_524 = keysData[524]; + KeysData_525 = keysData[525]; + KeysData_526 = keysData[526]; + KeysData_527 = keysData[527]; + KeysData_528 = keysData[528]; + KeysData_529 = keysData[529]; + KeysData_530 = keysData[530]; + KeysData_531 = keysData[531]; + KeysData_532 = keysData[532]; + KeysData_533 = keysData[533]; + KeysData_534 = keysData[534]; + KeysData_535 = keysData[535]; + KeysData_536 = keysData[536]; + KeysData_537 = keysData[537]; + KeysData_538 = keysData[538]; + KeysData_539 = keysData[539]; + KeysData_540 = keysData[540]; + KeysData_541 = keysData[541]; + KeysData_542 = keysData[542]; + KeysData_543 = keysData[543]; + KeysData_544 = keysData[544]; + KeysData_545 = keysData[545]; + KeysData_546 = keysData[546]; + KeysData_547 = keysData[547]; + KeysData_548 = keysData[548]; + KeysData_549 = keysData[549]; + KeysData_550 = keysData[550]; + KeysData_551 = keysData[551]; + KeysData_552 = keysData[552]; + KeysData_553 = keysData[553]; + KeysData_554 = keysData[554]; + KeysData_555 = keysData[555]; + KeysData_556 = keysData[556]; + KeysData_557 = keysData[557]; + KeysData_558 = keysData[558]; + KeysData_559 = keysData[559]; + KeysData_560 = keysData[560]; + KeysData_561 = keysData[561]; + KeysData_562 = keysData[562]; + KeysData_563 = keysData[563]; + KeysData_564 = keysData[564]; + KeysData_565 = keysData[565]; + KeysData_566 = keysData[566]; + KeysData_567 = keysData[567]; + KeysData_568 = keysData[568]; + KeysData_569 = keysData[569]; + KeysData_570 = keysData[570]; + KeysData_571 = keysData[571]; + KeysData_572 = keysData[572]; + KeysData_573 = keysData[573]; + KeysData_574 = keysData[574]; + KeysData_575 = keysData[575]; + KeysData_576 = keysData[576]; + KeysData_577 = keysData[577]; + KeysData_578 = keysData[578]; + KeysData_579 = keysData[579]; + KeysData_580 = keysData[580]; + KeysData_581 = keysData[581]; + KeysData_582 = keysData[582]; + KeysData_583 = keysData[583]; + KeysData_584 = keysData[584]; + KeysData_585 = keysData[585]; + KeysData_586 = keysData[586]; + KeysData_587 = keysData[587]; + KeysData_588 = keysData[588]; + KeysData_589 = keysData[589]; + KeysData_590 = keysData[590]; + KeysData_591 = keysData[591]; + KeysData_592 = keysData[592]; + KeysData_593 = keysData[593]; + KeysData_594 = keysData[594]; + KeysData_595 = keysData[595]; + KeysData_596 = keysData[596]; + KeysData_597 = keysData[597]; + KeysData_598 = keysData[598]; + KeysData_599 = keysData[599]; + KeysData_600 = keysData[600]; + KeysData_601 = keysData[601]; + KeysData_602 = keysData[602]; + KeysData_603 = keysData[603]; + KeysData_604 = keysData[604]; + KeysData_605 = keysData[605]; + KeysData_606 = keysData[606]; + KeysData_607 = keysData[607]; + KeysData_608 = keysData[608]; + KeysData_609 = keysData[609]; + KeysData_610 = keysData[610]; + KeysData_611 = keysData[611]; + KeysData_612 = keysData[612]; + KeysData_613 = keysData[613]; + KeysData_614 = keysData[614]; + KeysData_615 = keysData[615]; + KeysData_616 = keysData[616]; + KeysData_617 = keysData[617]; + KeysData_618 = keysData[618]; + KeysData_619 = keysData[619]; + KeysData_620 = keysData[620]; + KeysData_621 = keysData[621]; + KeysData_622 = keysData[622]; + KeysData_623 = keysData[623]; + KeysData_624 = keysData[624]; + KeysData_625 = keysData[625]; + KeysData_626 = keysData[626]; + KeysData_627 = keysData[627]; + KeysData_628 = keysData[628]; + KeysData_629 = keysData[629]; + KeysData_630 = keysData[630]; + KeysData_631 = keysData[631]; + KeysData_632 = keysData[632]; + KeysData_633 = keysData[633]; + KeysData_634 = keysData[634]; + KeysData_635 = keysData[635]; + KeysData_636 = keysData[636]; + KeysData_637 = keysData[637]; + KeysData_638 = keysData[638]; + KeysData_639 = keysData[639]; + KeysData_640 = keysData[640]; + KeysData_641 = keysData[641]; + KeysData_642 = keysData[642]; + KeysData_643 = keysData[643]; + KeysData_644 = keysData[644]; + } + WantCaptureMouseUnlessPopupClose = wantCaptureMouseUnlessPopupClose ? (byte)1 : (byte)0; + MousePosPrev = mousePosPrev; + if (mouseClickedPos != default(Span)) + { + MouseClickedPos_0 = mouseClickedPos[0]; + MouseClickedPos_1 = mouseClickedPos[1]; + MouseClickedPos_2 = mouseClickedPos[2]; + MouseClickedPos_3 = mouseClickedPos[3]; + MouseClickedPos_4 = mouseClickedPos[4]; + } + if (mouseClickedTime != default(Span)) + { + MouseClickedTime_0 = mouseClickedTime[0]; + MouseClickedTime_1 = mouseClickedTime[1]; + MouseClickedTime_2 = mouseClickedTime[2]; + MouseClickedTime_3 = mouseClickedTime[3]; + MouseClickedTime_4 = mouseClickedTime[4]; + } + if (mouseClicked != default(Span)) + { + MouseClicked_0 = mouseClicked[0]; + MouseClicked_1 = mouseClicked[1]; + MouseClicked_2 = mouseClicked[2]; + MouseClicked_3 = mouseClicked[3]; + MouseClicked_4 = mouseClicked[4]; + } + if (mouseDoubleClicked != default(Span)) + { + MouseDoubleClicked_0 = mouseDoubleClicked[0]; + MouseDoubleClicked_1 = mouseDoubleClicked[1]; + MouseDoubleClicked_2 = mouseDoubleClicked[2]; + MouseDoubleClicked_3 = mouseDoubleClicked[3]; + MouseDoubleClicked_4 = mouseDoubleClicked[4]; + } + if (mouseClickedCount != default(Span)) + { + MouseClickedCount_0 = mouseClickedCount[0]; + MouseClickedCount_1 = mouseClickedCount[1]; + MouseClickedCount_2 = mouseClickedCount[2]; + MouseClickedCount_3 = mouseClickedCount[3]; + MouseClickedCount_4 = mouseClickedCount[4]; + } + if (mouseClickedLastCount != default(Span)) + { + MouseClickedLastCount_0 = mouseClickedLastCount[0]; + MouseClickedLastCount_1 = mouseClickedLastCount[1]; + MouseClickedLastCount_2 = mouseClickedLastCount[2]; + MouseClickedLastCount_3 = mouseClickedLastCount[3]; + MouseClickedLastCount_4 = mouseClickedLastCount[4]; + } + if (mouseReleased != default(Span)) + { + MouseReleased_0 = mouseReleased[0]; + MouseReleased_1 = mouseReleased[1]; + MouseReleased_2 = mouseReleased[2]; + MouseReleased_3 = mouseReleased[3]; + MouseReleased_4 = mouseReleased[4]; + } + if (mouseDownOwned != default(Span)) + { + MouseDownOwned_0 = mouseDownOwned[0]; + MouseDownOwned_1 = mouseDownOwned[1]; + MouseDownOwned_2 = mouseDownOwned[2]; + MouseDownOwned_3 = mouseDownOwned[3]; + MouseDownOwned_4 = mouseDownOwned[4]; + } + if (mouseDownOwnedUnlessPopupClose != default(Span)) + { + MouseDownOwnedUnlessPopupClose_0 = mouseDownOwnedUnlessPopupClose[0]; + MouseDownOwnedUnlessPopupClose_1 = mouseDownOwnedUnlessPopupClose[1]; + MouseDownOwnedUnlessPopupClose_2 = mouseDownOwnedUnlessPopupClose[2]; + MouseDownOwnedUnlessPopupClose_3 = mouseDownOwnedUnlessPopupClose[3]; + MouseDownOwnedUnlessPopupClose_4 = mouseDownOwnedUnlessPopupClose[4]; + } + if (mouseDownDuration != default(Span)) + { + MouseDownDuration_0 = mouseDownDuration[0]; + MouseDownDuration_1 = mouseDownDuration[1]; + MouseDownDuration_2 = mouseDownDuration[2]; + MouseDownDuration_3 = mouseDownDuration[3]; + MouseDownDuration_4 = mouseDownDuration[4]; + } + if (mouseDownDurationPrev != default(Span)) + { + MouseDownDurationPrev_0 = mouseDownDurationPrev[0]; + MouseDownDurationPrev_1 = mouseDownDurationPrev[1]; + MouseDownDurationPrev_2 = mouseDownDurationPrev[2]; + MouseDownDurationPrev_3 = mouseDownDurationPrev[3]; + MouseDownDurationPrev_4 = mouseDownDurationPrev[4]; + } + if (mouseDragMaxDistanceAbs != default(Span)) + { + MouseDragMaxDistanceAbs_0 = mouseDragMaxDistanceAbs[0]; + MouseDragMaxDistanceAbs_1 = mouseDragMaxDistanceAbs[1]; + MouseDragMaxDistanceAbs_2 = mouseDragMaxDistanceAbs[2]; + MouseDragMaxDistanceAbs_3 = mouseDragMaxDistanceAbs[3]; + MouseDragMaxDistanceAbs_4 = mouseDragMaxDistanceAbs[4]; + } + if (mouseDragMaxDistanceSqr != default(Span)) + { + MouseDragMaxDistanceSqr_0 = mouseDragMaxDistanceSqr[0]; + MouseDragMaxDistanceSqr_1 = mouseDragMaxDistanceSqr[1]; + MouseDragMaxDistanceSqr_2 = mouseDragMaxDistanceSqr[2]; + MouseDragMaxDistanceSqr_3 = mouseDragMaxDistanceSqr[3]; + MouseDragMaxDistanceSqr_4 = mouseDragMaxDistanceSqr[4]; + } + if (navInputsDownDuration != default(Span)) + { + NavInputsDownDuration_0 = navInputsDownDuration[0]; + NavInputsDownDuration_1 = navInputsDownDuration[1]; + NavInputsDownDuration_2 = navInputsDownDuration[2]; + NavInputsDownDuration_3 = navInputsDownDuration[3]; + NavInputsDownDuration_4 = navInputsDownDuration[4]; + NavInputsDownDuration_5 = navInputsDownDuration[5]; + NavInputsDownDuration_6 = navInputsDownDuration[6]; + NavInputsDownDuration_7 = navInputsDownDuration[7]; + NavInputsDownDuration_8 = navInputsDownDuration[8]; + NavInputsDownDuration_9 = navInputsDownDuration[9]; + NavInputsDownDuration_10 = navInputsDownDuration[10]; + NavInputsDownDuration_11 = navInputsDownDuration[11]; + NavInputsDownDuration_12 = navInputsDownDuration[12]; + NavInputsDownDuration_13 = navInputsDownDuration[13]; + NavInputsDownDuration_14 = navInputsDownDuration[14]; + NavInputsDownDuration_15 = navInputsDownDuration[15]; + NavInputsDownDuration_16 = navInputsDownDuration[16]; + NavInputsDownDuration_17 = navInputsDownDuration[17]; + NavInputsDownDuration_18 = navInputsDownDuration[18]; + NavInputsDownDuration_19 = navInputsDownDuration[19]; + NavInputsDownDuration_20 = navInputsDownDuration[20]; + } + if (navInputsDownDurationPrev != default(Span)) + { + NavInputsDownDurationPrev_0 = navInputsDownDurationPrev[0]; + NavInputsDownDurationPrev_1 = navInputsDownDurationPrev[1]; + NavInputsDownDurationPrev_2 = navInputsDownDurationPrev[2]; + NavInputsDownDurationPrev_3 = navInputsDownDurationPrev[3]; + NavInputsDownDurationPrev_4 = navInputsDownDurationPrev[4]; + NavInputsDownDurationPrev_5 = navInputsDownDurationPrev[5]; + NavInputsDownDurationPrev_6 = navInputsDownDurationPrev[6]; + NavInputsDownDurationPrev_7 = navInputsDownDurationPrev[7]; + NavInputsDownDurationPrev_8 = navInputsDownDurationPrev[8]; + NavInputsDownDurationPrev_9 = navInputsDownDurationPrev[9]; + NavInputsDownDurationPrev_10 = navInputsDownDurationPrev[10]; + NavInputsDownDurationPrev_11 = navInputsDownDurationPrev[11]; + NavInputsDownDurationPrev_12 = navInputsDownDurationPrev[12]; + NavInputsDownDurationPrev_13 = navInputsDownDurationPrev[13]; + NavInputsDownDurationPrev_14 = navInputsDownDurationPrev[14]; + NavInputsDownDurationPrev_15 = navInputsDownDurationPrev[15]; + NavInputsDownDurationPrev_16 = navInputsDownDurationPrev[16]; + NavInputsDownDurationPrev_17 = navInputsDownDurationPrev[17]; + NavInputsDownDurationPrev_18 = navInputsDownDurationPrev[18]; + NavInputsDownDurationPrev_19 = navInputsDownDurationPrev[19]; + NavInputsDownDurationPrev_20 = navInputsDownDurationPrev[20]; + } + PenPressure = penPressure; + AppFocusLost = appFocusLost ? (byte)1 : (byte)0; + AppAcceptingEvents = appAcceptingEvents ? (byte)1 : (byte)0; + BackendUsingLegacyKeyArrays = backendUsingLegacyKeyArrays; + BackendUsingLegacyNavInputArray = backendUsingLegacyNavInputArray ? (byte)1 : (byte)0; + InputQueueSurrogate = inputQueueSurrogate; + InputQueueCharacters = inputQueueCharacters; + } + + + /// + /// To be documented. + /// + public unsafe Span KeysData + + { + get + { + fixed (ImGuiKeyData* p = &this.KeysData_0) + { + return new Span(p, 645); + } + } + } + /// + /// To be documented. + /// + public unsafe Span MouseClickedPos + + { + get + { + fixed (Vector2* p = &this.MouseClickedPos_0) + { + return new Span(p, 5); + } + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDragMaxDistanceAbs + + { + get + { + fixed (Vector2* p = &this.MouseDragMaxDistanceAbs_0) + { + return new Span(p, 5); + } + } + } + /// + /// To be documented. + /// + public unsafe void AddFocusEvent(bool focused) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddFocusEventNative(@this, focused ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharacter(uint c) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddInputCharacterNative(@this, c); + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(byte* str) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddInputCharactersUTF8Native(@this, str); + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(ref byte str) + { + fixed (ImGuiIO* @this = &this) + { + fixed (byte* pstr = &str) + { + ImGui.AddInputCharactersUTF8Native(@this, (byte*)pstr); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(ReadOnlySpan str) + { + fixed (ImGuiIO* @this = &this) + { + fixed (byte* pstr = str) + { + ImGui.AddInputCharactersUTF8Native(@this, (byte*)pstr); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(string str) + { + fixed (ImGuiIO* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.AddInputCharactersUTF8Native(@this, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharacterUTF16(ushort c) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddInputCharacterUTF16Native(@this, c); + } + } + + /// + /// To be documented. + /// + public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddKeyAnalogEventNative(@this, key, down ? (byte)1 : (byte)0, v); + } + } + + /// + /// To be documented. + /// + public unsafe void AddKeyEvent(ImGuiKey key, bool down) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddKeyEventNative(@this, key, down ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddMouseButtonEvent(int button, bool down) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddMouseButtonEventNative(@this, button, down ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddMousePosEvent(float x, float y) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddMousePosEventNative(@this, x, y); + } + } + + /// + /// To be documented. + /// + public unsafe void AddMouseViewportEvent(uint id) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddMouseViewportEventNative(@this, id); + } + } + + /// + /// To be documented. + /// + public unsafe void AddMouseWheelEvent(float whX, float whY) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.AddMouseWheelEventNative(@this, whX, whY); + } + } + + /// + /// To be documented. + /// + public unsafe void ClearInputCharacters() + { + fixed (ImGuiIO* @this = &this) + { + ImGui.ClearInputCharactersNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ClearInputKeys() + { + fixed (ImGuiIO* @this = &this) + { + ImGui.ClearInputKeysNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiIO* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void SetAppAcceptingEvents(bool acceptingEvents) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.SetAppAcceptingEventsNative(@this, acceptingEvents ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.SetKeyEventNativeDataNative(@this, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + } + + /// + /// To be documented. + /// + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode) + { + fixed (ImGuiIO* @this = &this) + { + ImGui.SetKeyEventNativeDataNative(@this, key, nativeKeycode, nativeScancode, (int)(-1)); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiIOPtr : IEquatable + { + public ImGuiIOPtr(ImGuiIO* handle) { Handle = handle; } + + public ImGuiIO* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiIOPtr Null => new ImGuiIOPtr(null); + + public ImGuiIO this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiIOPtr(ImGuiIO* handle) => new ImGuiIOPtr(handle); + + public static implicit operator ImGuiIO*(ImGuiIOPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiIOPtr left, ImGuiIOPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiIOPtr left, ImGuiIOPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiIOPtr left, ImGuiIO* right) => left.Handle == right; + + public static bool operator !=(ImGuiIOPtr left, ImGuiIO* right) => left.Handle != right; + + public bool Equals(ImGuiIOPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiIOPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiConfigFlags ConfigFlags => ref Unsafe.AsRef(&Handle->ConfigFlags); + /// + /// To be documented. + /// + public ref ImGuiBackendFlags BackendFlags => ref Unsafe.AsRef(&Handle->BackendFlags); + /// + /// To be documented. + /// + public ref Vector2 DisplaySize => ref Unsafe.AsRef(&Handle->DisplaySize); + /// + /// To be documented. + /// + public ref float DeltaTime => ref Unsafe.AsRef(&Handle->DeltaTime); + /// + /// To be documented. + /// + public ref float IniSavingRate => ref Unsafe.AsRef(&Handle->IniSavingRate); + /// + /// To be documented. + /// + public byte* IniFilename { get => Handle->IniFilename; set => Handle->IniFilename = value; } + /// + /// To be documented. + /// + public byte* LogFilename { get => Handle->LogFilename; set => Handle->LogFilename = value; } + /// + /// To be documented. + /// + public ref float MouseDoubleClickTime => ref Unsafe.AsRef(&Handle->MouseDoubleClickTime); + /// + /// To be documented. + /// + public ref float MouseDoubleClickMaxDist => ref Unsafe.AsRef(&Handle->MouseDoubleClickMaxDist); + /// + /// To be documented. + /// + public ref float MouseDragThreshold => ref Unsafe.AsRef(&Handle->MouseDragThreshold); + /// + /// To be documented. + /// + public ref float KeyRepeatDelay => ref Unsafe.AsRef(&Handle->KeyRepeatDelay); + /// + /// To be documented. + /// + public ref float KeyRepeatRate => ref Unsafe.AsRef(&Handle->KeyRepeatRate); + /// + /// To be documented. + /// + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + /// + /// To be documented. + /// + public ref ImFontAtlasPtr Fonts => ref Unsafe.AsRef(&Handle->Fonts); + /// + /// To be documented. + /// + public ref float FontGlobalScale => ref Unsafe.AsRef(&Handle->FontGlobalScale); + /// + /// To be documented. + /// + public ref bool FontAllowUserScaling => ref Unsafe.AsRef(&Handle->FontAllowUserScaling); + /// + /// To be documented. + /// + public ref ImFontPtr FontDefault => ref Unsafe.AsRef(&Handle->FontDefault); + /// + /// To be documented. + /// + public ref Vector2 DisplayFramebufferScale => ref Unsafe.AsRef(&Handle->DisplayFramebufferScale); + /// + /// To be documented. + /// + public ref bool ConfigDockingNoSplit => ref Unsafe.AsRef(&Handle->ConfigDockingNoSplit); + /// + /// To be documented. + /// + public ref bool ConfigDockingWithShift => ref Unsafe.AsRef(&Handle->ConfigDockingWithShift); + /// + /// To be documented. + /// + public ref bool ConfigDockingAlwaysTabBar => ref Unsafe.AsRef(&Handle->ConfigDockingAlwaysTabBar); + /// + /// To be documented. + /// + public ref bool ConfigDockingTransparentPayload => ref Unsafe.AsRef(&Handle->ConfigDockingTransparentPayload); + /// + /// To be documented. + /// + public ref bool ConfigViewportsNoAutoMerge => ref Unsafe.AsRef(&Handle->ConfigViewportsNoAutoMerge); + /// + /// To be documented. + /// + public ref bool ConfigViewportsNoTaskBarIcon => ref Unsafe.AsRef(&Handle->ConfigViewportsNoTaskBarIcon); + /// + /// To be documented. + /// + public ref bool ConfigViewportsNoDecoration => ref Unsafe.AsRef(&Handle->ConfigViewportsNoDecoration); + /// + /// To be documented. + /// + public ref bool ConfigViewportsNoDefaultParent => ref Unsafe.AsRef(&Handle->ConfigViewportsNoDefaultParent); + /// + /// To be documented. + /// + public ref bool MouseDrawCursor => ref Unsafe.AsRef(&Handle->MouseDrawCursor); + /// + /// To be documented. + /// + public ref bool ConfigMacOSXBehaviors => ref Unsafe.AsRef(&Handle->ConfigMacOSXBehaviors); + /// + /// To be documented. + /// + public ref bool ConfigInputTrickleEventQueue => ref Unsafe.AsRef(&Handle->ConfigInputTrickleEventQueue); + /// + /// To be documented. + /// + public ref bool ConfigInputTextCursorBlink => ref Unsafe.AsRef(&Handle->ConfigInputTextCursorBlink); + /// + /// To be documented. + /// + public ref bool ConfigDragClickToInputText => ref Unsafe.AsRef(&Handle->ConfigDragClickToInputText); + /// + /// To be documented. + /// + public ref bool ConfigWindowsResizeFromEdges => ref Unsafe.AsRef(&Handle->ConfigWindowsResizeFromEdges); + /// + /// To be documented. + /// + public ref bool ConfigWindowsMoveFromTitleBarOnly => ref Unsafe.AsRef(&Handle->ConfigWindowsMoveFromTitleBarOnly); + /// + /// To be documented. + /// + public ref float ConfigMemoryCompactTimer => ref Unsafe.AsRef(&Handle->ConfigMemoryCompactTimer); + /// + /// To be documented. + /// + public byte* BackendPlatformName { get => Handle->BackendPlatformName; set => Handle->BackendPlatformName = value; } + /// + /// To be documented. + /// + public byte* BackendRendererName { get => Handle->BackendRendererName; set => Handle->BackendRendererName = value; } + /// + /// To be documented. + /// + public void* BackendPlatformUserData { get => Handle->BackendPlatformUserData; set => Handle->BackendPlatformUserData = value; } + /// + /// To be documented. + /// + public void* BackendRendererUserData { get => Handle->BackendRendererUserData; set => Handle->BackendRendererUserData = value; } + /// + /// To be documented. + /// + public void* BackendLanguageUserData { get => Handle->BackendLanguageUserData; set => Handle->BackendLanguageUserData = value; } + /// + /// To be documented. + /// + public void* GetClipboardTextFn { get => Handle->GetClipboardTextFn; set => Handle->GetClipboardTextFn = value; } + /// + /// To be documented. + /// + public void* SetClipboardTextFn { get => Handle->SetClipboardTextFn; set => Handle->SetClipboardTextFn = value; } + /// + /// To be documented. + /// + public void* ClipboardUserData { get => Handle->ClipboardUserData; set => Handle->ClipboardUserData = value; } + /// + /// To be documented. + /// + public void* SetPlatformImeDataFn { get => Handle->SetPlatformImeDataFn; set => Handle->SetPlatformImeDataFn = value; } + /// + /// To be documented. + /// + public void* UnusedPadding { get => Handle->UnusedPadding; set => Handle->UnusedPadding = value; } + /// + /// To be documented. + /// + public ref bool WantCaptureMouse => ref Unsafe.AsRef(&Handle->WantCaptureMouse); + /// + /// To be documented. + /// + public ref bool WantCaptureKeyboard => ref Unsafe.AsRef(&Handle->WantCaptureKeyboard); + /// + /// To be documented. + /// + public ref bool WantTextInput => ref Unsafe.AsRef(&Handle->WantTextInput); + /// + /// To be documented. + /// + public ref bool WantSetMousePos => ref Unsafe.AsRef(&Handle->WantSetMousePos); + /// + /// To be documented. + /// + public ref bool WantSaveIniSettings => ref Unsafe.AsRef(&Handle->WantSaveIniSettings); + /// + /// To be documented. + /// + public ref bool NavActive => ref Unsafe.AsRef(&Handle->NavActive); + /// + /// To be documented. + /// + public ref bool NavVisible => ref Unsafe.AsRef(&Handle->NavVisible); + /// + /// To be documented. + /// + public ref float Framerate => ref Unsafe.AsRef(&Handle->Framerate); + /// + /// To be documented. + /// + public ref int MetricsRenderVertices => ref Unsafe.AsRef(&Handle->MetricsRenderVertices); + /// + /// To be documented. + /// + public ref int MetricsRenderIndices => ref Unsafe.AsRef(&Handle->MetricsRenderIndices); + /// + /// To be documented. + /// + public ref int MetricsRenderWindows => ref Unsafe.AsRef(&Handle->MetricsRenderWindows); + /// + /// To be documented. + /// + public ref int MetricsActiveWindows => ref Unsafe.AsRef(&Handle->MetricsActiveWindows); + /// + /// To be documented. + /// + public ref int MetricsActiveAllocations => ref Unsafe.AsRef(&Handle->MetricsActiveAllocations); + /// + /// To be documented. + /// + public ref Vector2 MouseDelta => ref Unsafe.AsRef(&Handle->MouseDelta); + /// + /// To be documented. + /// + public unsafe Span KeyMap + + { + get + { + return new Span(&Handle->KeyMap_0, 645); + } + } + /// + /// To be documented. + /// + public unsafe Span KeysDown + + { + get + { + return new Span(&Handle->KeysDown_0, 645); + } + } + /// + /// To be documented. + /// + public ref Vector2 MousePos => ref Unsafe.AsRef(&Handle->MousePos); + /// + /// To be documented. + /// + public unsafe Span MouseDown + + { + get + { + return new Span(&Handle->MouseDown_0, 5); + } + } + /// + /// To be documented. + /// + public ref float MouseWheel => ref Unsafe.AsRef(&Handle->MouseWheel); + /// + /// To be documented. + /// + public ref float MouseWheelH => ref Unsafe.AsRef(&Handle->MouseWheelH); + /// + /// To be documented. + /// + public ref uint MouseHoveredViewport => ref Unsafe.AsRef(&Handle->MouseHoveredViewport); + /// + /// To be documented. + /// + public ref bool KeyCtrl => ref Unsafe.AsRef(&Handle->KeyCtrl); + /// + /// To be documented. + /// + public ref bool KeyShift => ref Unsafe.AsRef(&Handle->KeyShift); + /// + /// To be documented. + /// + public ref bool KeyAlt => ref Unsafe.AsRef(&Handle->KeyAlt); + /// + /// To be documented. + /// + public ref bool KeySuper => ref Unsafe.AsRef(&Handle->KeySuper); + /// + /// To be documented. + /// + public unsafe Span NavInputs + + { + get + { + return new Span(&Handle->NavInputs_0, 21); + } + } + /// + /// To be documented. + /// + public ref ImGuiModFlags KeyMods => ref Unsafe.AsRef(&Handle->KeyMods); + /// + /// To be documented. + /// + public unsafe Span KeysData + + { + get + { + return new Span(&Handle->KeysData_0, 645); + } + } + /// + /// To be documented. + /// + public ref bool WantCaptureMouseUnlessPopupClose => ref Unsafe.AsRef(&Handle->WantCaptureMouseUnlessPopupClose); + /// + /// To be documented. + /// + public ref Vector2 MousePosPrev => ref Unsafe.AsRef(&Handle->MousePosPrev); + /// + /// To be documented. + /// + public unsafe Span MouseClickedPos + + { + get + { + return new Span(&Handle->MouseClickedPos_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseClickedTime + + { + get + { + return new Span(&Handle->MouseClickedTime_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseClicked + + { + get + { + return new Span(&Handle->MouseClicked_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDoubleClicked + + { + get + { + return new Span(&Handle->MouseDoubleClicked_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseClickedCount + + { + get + { + return new Span(&Handle->MouseClickedCount_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseClickedLastCount + + { + get + { + return new Span(&Handle->MouseClickedLastCount_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseReleased + + { + get + { + return new Span(&Handle->MouseReleased_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDownOwned + + { + get + { + return new Span(&Handle->MouseDownOwned_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDownOwnedUnlessPopupClose + + { + get + { + return new Span(&Handle->MouseDownOwnedUnlessPopupClose_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDownDuration + + { + get + { + return new Span(&Handle->MouseDownDuration_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDownDurationPrev + + { + get + { + return new Span(&Handle->MouseDownDurationPrev_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDragMaxDistanceAbs + + { + get + { + return new Span(&Handle->MouseDragMaxDistanceAbs_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span MouseDragMaxDistanceSqr + + { + get + { + return new Span(&Handle->MouseDragMaxDistanceSqr_0, 5); + } + } + /// + /// To be documented. + /// + public unsafe Span NavInputsDownDuration + + { + get + { + return new Span(&Handle->NavInputsDownDuration_0, 21); + } + } + /// + /// To be documented. + /// + public unsafe Span NavInputsDownDurationPrev + + { + get + { + return new Span(&Handle->NavInputsDownDurationPrev_0, 21); + } + } + /// + /// To be documented. + /// + public ref float PenPressure => ref Unsafe.AsRef(&Handle->PenPressure); + /// + /// To be documented. + /// + public ref bool AppFocusLost => ref Unsafe.AsRef(&Handle->AppFocusLost); + /// + /// To be documented. + /// + public ref bool AppAcceptingEvents => ref Unsafe.AsRef(&Handle->AppAcceptingEvents); + /// + /// To be documented. + /// + public ref byte BackendUsingLegacyKeyArrays => ref Unsafe.AsRef(&Handle->BackendUsingLegacyKeyArrays); + /// + /// To be documented. + /// + public ref bool BackendUsingLegacyNavInputArray => ref Unsafe.AsRef(&Handle->BackendUsingLegacyNavInputArray); + /// + /// To be documented. + /// + public ref ushort InputQueueSurrogate => ref Unsafe.AsRef(&Handle->InputQueueSurrogate); + /// + /// To be documented. + /// + public ref ImVector InputQueueCharacters => ref Unsafe.AsRef>(&Handle->InputQueueCharacters); + /// + /// To be documented. + /// + public unsafe void AddFocusEvent(bool focused) + { + ImGui.AddFocusEventNative(Handle, focused ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharacter(uint c) + { + ImGui.AddInputCharacterNative(Handle, c); + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(byte* str) + { + ImGui.AddInputCharactersUTF8Native(Handle, str); + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(ref byte str) + { + fixed (byte* pstr = &str) + { + ImGui.AddInputCharactersUTF8Native(Handle, (byte*)pstr); + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(ReadOnlySpan str) + { + fixed (byte* pstr = str) + { + ImGui.AddInputCharactersUTF8Native(Handle, (byte*)pstr); + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharactersUTF8(string str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.AddInputCharactersUTF8Native(Handle, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AddInputCharacterUTF16(ushort c) + { + ImGui.AddInputCharacterUTF16Native(Handle, c); + } + + /// + /// To be documented. + /// + public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v) + { + ImGui.AddKeyAnalogEventNative(Handle, key, down ? (byte)1 : (byte)0, v); + } + + /// + /// To be documented. + /// + public unsafe void AddKeyEvent(ImGuiKey key, bool down) + { + ImGui.AddKeyEventNative(Handle, key, down ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void AddMouseButtonEvent(int button, bool down) + { + ImGui.AddMouseButtonEventNative(Handle, button, down ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void AddMousePosEvent(float x, float y) + { + ImGui.AddMousePosEventNative(Handle, x, y); + } + + /// + /// To be documented. + /// + public unsafe void AddMouseViewportEvent(uint id) + { + ImGui.AddMouseViewportEventNative(Handle, id); + } + + /// + /// To be documented. + /// + public unsafe void AddMouseWheelEvent(float whX, float whY) + { + ImGui.AddMouseWheelEventNative(Handle, whX, whY); + } + + /// + /// To be documented. + /// + public unsafe void ClearInputCharacters() + { + ImGui.ClearInputCharactersNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ClearInputKeys() + { + ImGui.ClearInputKeysNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void SetAppAcceptingEvents(bool acceptingEvents) + { + ImGui.SetAppAcceptingEventsNative(Handle, acceptingEvents ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + ImGui.SetKeyEventNativeDataNative(Handle, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + + /// + /// To be documented. + /// + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode) + { + ImGui.SetKeyEventNativeDataNative(Handle, key, nativeKeycode, nativeScancode, (int)(-1)); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEvent.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEvent.cs new file mode 100644 index 000000000..900c2a136 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEvent.cs @@ -0,0 +1,204 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEvent + { + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Explicit)] + public partial struct ImGuiInputEventUnion + { + /// + /// To be documented. + /// + [FieldOffset(0)] + public ImGuiInputEventMousePos MousePos; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public ImGuiInputEventMouseWheel MouseWheel; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public ImGuiInputEventMouseButton MouseButton; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public ImGuiInputEventMouseViewport MouseViewport; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public ImGuiInputEventKey Key; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public ImGuiInputEventText Text; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public ImGuiInputEventAppFocused AppFocused; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventUnion(ImGuiInputEventMousePos mousePos = default, ImGuiInputEventMouseWheel mouseWheel = default, ImGuiInputEventMouseButton mouseButton = default, ImGuiInputEventMouseViewport mouseViewport = default, ImGuiInputEventKey key = default, ImGuiInputEventText text = default, ImGuiInputEventAppFocused appFocused = default) + { + MousePos = mousePos; + MouseWheel = mouseWheel; + MouseButton = mouseButton; + MouseViewport = mouseViewport; + Key = key; + Text = text; + AppFocused = appFocused; + } + + + } + + /// + /// To be documented. + /// + public ImGuiInputEventType Type; + + /// + /// To be documented. + /// + public ImGuiInputSource Source; + + /// + /// To be documented. + /// + public ImGuiInputEventUnion Union; + + /// + /// To be documented. + /// + public byte AddedByTestEngine; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEvent(ImGuiInputEventType type = default, ImGuiInputSource source = default, ImGuiInputEventUnion union = default, bool addedByTestEngine = default) + { + Type = type; + Source = source; + Union = union; + AddedByTestEngine = addedByTestEngine ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiInputEvent* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiInputEventPtr : IEquatable + { + public ImGuiInputEventPtr(ImGuiInputEvent* handle) { Handle = handle; } + + public ImGuiInputEvent* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiInputEventPtr Null => new ImGuiInputEventPtr(null); + + public ImGuiInputEvent this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiInputEventPtr(ImGuiInputEvent* handle) => new ImGuiInputEventPtr(handle); + + public static implicit operator ImGuiInputEvent*(ImGuiInputEventPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiInputEventPtr left, ImGuiInputEventPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiInputEventPtr left, ImGuiInputEventPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiInputEventPtr left, ImGuiInputEvent* right) => left.Handle == right; + + public static bool operator !=(ImGuiInputEventPtr left, ImGuiInputEvent* right) => left.Handle != right; + + public bool Equals(ImGuiInputEventPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiInputEventPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiInputEventPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiInputEventType Type => ref Unsafe.AsRef(&Handle->Type); + /// + /// To be documented. + /// + public ref ImGuiInputSource Source => ref Unsafe.AsRef(&Handle->Source); + /// + /// To be documented. + /// + public ref ImGuiInputEvent.ImGuiInputEventUnion Union => ref Unsafe.AsRef(&Handle->Union); + /// + /// To be documented. + /// + public ref bool AddedByTestEngine => ref Unsafe.AsRef(&Handle->AddedByTestEngine); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventAppFocused.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventAppFocused.cs new file mode 100644 index 000000000..524a5c1d2 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventAppFocused.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventAppFocused + { + /// + /// To be documented. + /// + public byte Focused; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventAppFocused(bool focused = default) + { + Focused = focused ? (byte)1 : (byte)0; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventKey.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventKey.cs new file mode 100644 index 000000000..f1ac87a2b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventKey.cs @@ -0,0 +1,54 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventKey + { + /// + /// To be documented. + /// + public ImGuiKey Key; + + /// + /// To be documented. + /// + public byte Down; + + /// + /// To be documented. + /// + public float AnalogValue; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventKey(ImGuiKey key = default, bool down = default, float analogValue = default) + { + Key = key; + Down = down ? (byte)1 : (byte)0; + AnalogValue = analogValue; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseButton.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseButton.cs new file mode 100644 index 000000000..6ef7723fa --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseButton.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMouseButton + { + /// + /// To be documented. + /// + public int Button; + + /// + /// To be documented. + /// + public byte Down; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventMouseButton(int button = default, bool down = default) + { + Button = button; + Down = down ? (byte)1 : (byte)0; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMousePos.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMousePos.cs new file mode 100644 index 000000000..464644e98 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMousePos.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
+ /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMousePos + { + /// + /// To be documented. + /// + public float PosX; + + /// + /// To be documented. + /// + public float PosY; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventMousePos(float posX = default, float posY = default) + { + PosX = posX; + PosY = posY; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseViewport.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseViewport.cs new file mode 100644 index 000000000..f76363e8f --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseViewport.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMouseViewport + { + /// + /// To be documented. + /// + public uint HoveredViewportID; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventMouseViewport(uint hoveredViewportId = default) + { + HoveredViewportID = hoveredViewportId; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseWheel.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseWheel.cs new file mode 100644 index 000000000..d5c6e5822 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventMouseWheel.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMouseWheel + { + /// + /// To be documented. + /// + public float WheelX; + + /// + /// To be documented. + /// + public float WheelY; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventMouseWheel(float wheelX = default, float wheelY = default) + { + WheelX = wheelX; + WheelY = wheelY; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventText.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventText.cs new file mode 100644 index 000000000..2d794d71e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputEventText.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventText + { + /// + /// To be documented. + /// + public uint Char; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputEventText(uint @char = default) + { + Char = @char; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputTextCallbackData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputTextCallbackData.cs new file mode 100644 index 000000000..562501217 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputTextCallbackData.cs @@ -0,0 +1,1170 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used.
+ /// The callback function should return 0 by default.
+ /// Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details)
+ /// - ImGuiInputTextFlags_CallbackEdit: Callback on buffer edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.
+ /// - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration
+ /// - ImGuiInputTextFlags_CallbackCompletion: Callback on pressing TAB
+ /// - ImGuiInputTextFlags_CallbackHistory: Callback on pressing UpDown arrows
+ /// - ImGuiInputTextFlags_CallbackCharFilter: Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.
+ /// - ImGuiInputTextFlags_CallbackResize: Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputTextCallbackData + { + /// + /// To be documented. + /// + public ImGuiInputTextFlags EventFlag; + + /// + /// To be documented. + /// + public ImGuiInputTextFlags Flags; + + /// + /// To be documented. + /// + public unsafe void* UserData; + + /// + /// To be documented. + /// + public ushort EventChar; + + /// + /// To be documented. + /// + public ImGuiKey EventKey; + + /// + /// To be documented. + /// + public unsafe byte* Buf; + + /// + /// To be documented. + /// + public int BufTextLen; + + /// + /// To be documented. + /// + public int BufSize; + + /// + /// To be documented. + /// + public byte BufDirty; + + /// + /// To be documented. + /// + public int CursorPos; + + /// + /// To be documented. + /// + public int SelectionStart; + + /// + /// To be documented. + /// + public int SelectionEnd; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputTextCallbackData(ImGuiInputTextFlags eventFlag = default, ImGuiInputTextFlags flags = default, void* userData = default, ushort eventChar = default, ImGuiKey eventKey = default, byte* buf = default, int bufTextLen = default, int bufSize = default, bool bufDirty = default, int cursorPos = default, int selectionStart = default, int selectionEnd = default) + { + EventFlag = eventFlag; + Flags = flags; + UserData = userData; + EventChar = eventChar; + EventKey = eventKey; + Buf = buf; + BufTextLen = bufTextLen; + BufSize = bufSize; + BufDirty = bufDirty ? (byte)1 : (byte)0; + CursorPos = cursorPos; + SelectionStart = selectionStart; + SelectionEnd = selectionEnd; + } + + + /// + /// To be documented. + /// + public unsafe void ClearSelection() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGui.ClearSelectionNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void DeleteChars(int pos, int bytesCount) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGui.DeleteCharsNative(@this, pos, bytesCount); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool HasSelection() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + byte ret = ImGui.HasSelectionNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGui.InsertCharsNative(@this, pos, text, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGui.InsertCharsNative(@this, pos, text, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = &text) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = &text) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = text) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, textEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = text) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, byte* textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + 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; + } + ImGui.InsertCharsNative(@this, pos, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + 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; + } + ImGui.InsertCharsNative(@this, pos, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(@this, pos, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(@this, pos, text, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + 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; + } + ImGui.InsertCharsNative(@this, pos, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + 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; + } + 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; + } + ImGui.InsertCharsNative(@this, pos, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = &text) + { + 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; + } + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, string textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + fixed (byte* ptext = text) + { + 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; + } + ImGui.InsertCharsNative(@this, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, ref byte textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(@this, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, ReadOnlySpan textEnd) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(@this, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void SelectAll() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGui.SelectAllNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiInputTextCallbackDataPtr : IEquatable + { + public ImGuiInputTextCallbackDataPtr(ImGuiInputTextCallbackData* handle) { Handle = handle; } + + public ImGuiInputTextCallbackData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiInputTextCallbackDataPtr Null => new ImGuiInputTextCallbackDataPtr(null); + + public ImGuiInputTextCallbackData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiInputTextCallbackDataPtr(ImGuiInputTextCallbackData* handle) => new ImGuiInputTextCallbackDataPtr(handle); + + public static implicit operator ImGuiInputTextCallbackData*(ImGuiInputTextCallbackDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackData* right) => left.Handle == right; + + public static bool operator !=(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackData* right) => left.Handle != right; + + public bool Equals(ImGuiInputTextCallbackDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiInputTextCallbackDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiInputTextCallbackDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiInputTextFlags EventFlag => ref Unsafe.AsRef(&Handle->EventFlag); + /// + /// To be documented. + /// + public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + /// + /// To be documented. + /// + public ref ushort EventChar => ref Unsafe.AsRef(&Handle->EventChar); + /// + /// To be documented. + /// + public ref ImGuiKey EventKey => ref Unsafe.AsRef(&Handle->EventKey); + /// + /// To be documented. + /// + public byte* Buf { get => Handle->Buf; set => Handle->Buf = value; } + /// + /// To be documented. + /// + public ref int BufTextLen => ref Unsafe.AsRef(&Handle->BufTextLen); + /// + /// To be documented. + /// + public ref int BufSize => ref Unsafe.AsRef(&Handle->BufSize); + /// + /// To be documented. + /// + public ref bool BufDirty => ref Unsafe.AsRef(&Handle->BufDirty); + /// + /// To be documented. + /// + public ref int CursorPos => ref Unsafe.AsRef(&Handle->CursorPos); + /// + /// To be documented. + /// + public ref int SelectionStart => ref Unsafe.AsRef(&Handle->SelectionStart); + /// + /// To be documented. + /// + public ref int SelectionEnd => ref Unsafe.AsRef(&Handle->SelectionEnd); + /// + /// To be documented. + /// + public unsafe void ClearSelection() + { + ImGui.ClearSelectionNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void DeleteChars(int pos, int bytesCount) + { + ImGui.DeleteCharsNative(Handle, pos, bytesCount); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool HasSelection() + { + byte ret = ImGui.HasSelectionNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, byte* textEnd) + { + ImGui.InsertCharsNative(Handle, pos, text, textEnd); + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text) + { + ImGui.InsertCharsNative(Handle, pos, text, (byte*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text) + { + fixed (byte* ptext = &text) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, textEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, byte* textEnd) + { + 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; + } + ImGui.InsertCharsNative(Handle, pos, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, 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; + } + ImGui.InsertCharsNative(Handle, pos, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(Handle, pos, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(Handle, pos, text, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, byte* text, string textEnd) + { + 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; + } + ImGui.InsertCharsNative(Handle, pos, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, string textEnd) + { + 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; + } + 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; + } + ImGui.InsertCharsNative(Handle, pos, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + ImGui.InsertCharsNative(Handle, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void InsertChars(int pos, string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + ImGui.InsertCharsNative(Handle, pos, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SelectAll() + { + ImGui.SelectAllNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputTextState.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputTextState.cs new file mode 100644 index 000000000..a56d1d46c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiInputTextState.cs @@ -0,0 +1,249 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Internal state of the currently focusededited text input box
+ /// For a given item ID, access with ImGui::GetInputTextState()
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputTextState + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public int CurLenW; + + /// + /// To be documented. + /// + public int CurLenA; + + /// + /// To be documented. + /// + public ImVector TextW; + + /// + /// To be documented. + /// + public ImVector TextA; + + /// + /// To be documented. + /// + public ImVector InitialTextA; + + /// + /// To be documented. + /// + public byte TextAIsValid; + + /// + /// To be documented. + /// + public int BufCapacityA; + + /// + /// To be documented. + /// + public float ScrollX; + + /// + /// To be documented. + /// + public STBTexteditState Stb; + + /// + /// To be documented. + /// + public float CursorAnim; + + /// + /// To be documented. + /// + public byte CursorFollow; + + /// + /// To be documented. + /// + public byte SelectedAllMouseLock; + + /// + /// To be documented. + /// + public byte Edited; + + /// + /// To be documented. + /// + public ImGuiInputTextFlags Flags; + + + /// + /// To be documented. + /// + public unsafe ImGuiInputTextState(uint id = default, int curLenW = default, int curLenA = default, ImVector textW = default, ImVector textA = default, ImVector initialTextA = default, bool textAIsValid = default, int bufCapacityA = default, float scrollX = default, STBTexteditState stb = default, float cursorAnim = default, bool cursorFollow = default, bool selectedAllMouseLock = default, bool edited = default, ImGuiInputTextFlags flags = default) + { + ID = id; + CurLenW = curLenW; + CurLenA = curLenA; + TextW = textW; + TextA = textA; + InitialTextA = initialTextA; + TextAIsValid = textAIsValid ? (byte)1 : (byte)0; + BufCapacityA = bufCapacityA; + ScrollX = scrollX; + Stb = stb; + CursorAnim = cursorAnim; + CursorFollow = cursorFollow ? (byte)1 : (byte)0; + SelectedAllMouseLock = selectedAllMouseLock ? (byte)1 : (byte)0; + Edited = edited ? (byte)1 : (byte)0; + Flags = flags; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiInputTextState* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiInputTextStatePtr : IEquatable + { + public ImGuiInputTextStatePtr(ImGuiInputTextState* handle) { Handle = handle; } + + public ImGuiInputTextState* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiInputTextStatePtr Null => new ImGuiInputTextStatePtr(null); + + public ImGuiInputTextState this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiInputTextStatePtr(ImGuiInputTextState* handle) => new ImGuiInputTextStatePtr(handle); + + public static implicit operator ImGuiInputTextState*(ImGuiInputTextStatePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiInputTextStatePtr left, ImGuiInputTextStatePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiInputTextStatePtr left, ImGuiInputTextStatePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiInputTextStatePtr left, ImGuiInputTextState* right) => left.Handle == right; + + public static bool operator !=(ImGuiInputTextStatePtr left, ImGuiInputTextState* right) => left.Handle != right; + + public bool Equals(ImGuiInputTextStatePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiInputTextStatePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiInputTextStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref int CurLenW => ref Unsafe.AsRef(&Handle->CurLenW); + /// + /// To be documented. + /// + public ref int CurLenA => ref Unsafe.AsRef(&Handle->CurLenA); + /// + /// To be documented. + /// + public ref ImVector TextW => ref Unsafe.AsRef>(&Handle->TextW); + /// + /// To be documented. + /// + public ref ImVector TextA => ref Unsafe.AsRef>(&Handle->TextA); + /// + /// To be documented. + /// + public ref ImVector InitialTextA => ref Unsafe.AsRef>(&Handle->InitialTextA); + /// + /// To be documented. + /// + public ref bool TextAIsValid => ref Unsafe.AsRef(&Handle->TextAIsValid); + /// + /// To be documented. + /// + public ref int BufCapacityA => ref Unsafe.AsRef(&Handle->BufCapacityA); + /// + /// To be documented. + /// + public ref float ScrollX => ref Unsafe.AsRef(&Handle->ScrollX); + /// + /// To be documented. + /// + public ref STBTexteditState Stb => ref Unsafe.AsRef(&Handle->Stb); + /// + /// To be documented. + /// + public ref float CursorAnim => ref Unsafe.AsRef(&Handle->CursorAnim); + /// + /// To be documented. + /// + public ref bool CursorFollow => ref Unsafe.AsRef(&Handle->CursorFollow); + /// + /// To be documented. + /// + public ref bool SelectedAllMouseLock => ref Unsafe.AsRef(&Handle->SelectedAllMouseLock); + /// + /// To be documented. + /// + public ref bool Edited => ref Unsafe.AsRef(&Handle->Edited); + /// + /// To be documented. + /// + public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiKeyData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiKeyData.cs new file mode 100644 index 000000000..9772e13b0 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiKeyData.cs @@ -0,0 +1,120 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions.
+ /// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiKeyData + { + /// + /// To be documented. + /// + public byte Down; + + /// + /// To be documented. + /// + public float DownDuration; + + /// + /// To be documented. + /// + public float DownDurationPrev; + + /// + /// To be documented. + /// + public float AnalogValue; + + + /// + /// To be documented. + /// + public unsafe ImGuiKeyData(bool down = default, float downDuration = default, float downDurationPrev = default, float analogValue = default) + { + Down = down ? (byte)1 : (byte)0; + DownDuration = downDuration; + DownDurationPrev = downDurationPrev; + AnalogValue = analogValue; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiKeyDataPtr : IEquatable + { + public ImGuiKeyDataPtr(ImGuiKeyData* handle) { Handle = handle; } + + public ImGuiKeyData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiKeyDataPtr Null => new ImGuiKeyDataPtr(null); + + public ImGuiKeyData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiKeyDataPtr(ImGuiKeyData* handle) => new ImGuiKeyDataPtr(handle); + + public static implicit operator ImGuiKeyData*(ImGuiKeyDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiKeyDataPtr left, ImGuiKeyDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiKeyDataPtr left, ImGuiKeyDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiKeyDataPtr left, ImGuiKeyData* right) => left.Handle == right; + + public static bool operator !=(ImGuiKeyDataPtr left, ImGuiKeyData* right) => left.Handle != right; + + public bool Equals(ImGuiKeyDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiKeyDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiKeyDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref bool Down => ref Unsafe.AsRef(&Handle->Down); + /// + /// To be documented. + /// + public ref float DownDuration => ref Unsafe.AsRef(&Handle->DownDuration); + /// + /// To be documented. + /// + public ref float DownDurationPrev => ref Unsafe.AsRef(&Handle->DownDurationPrev); + /// + /// To be documented. + /// + public ref float AnalogValue => ref Unsafe.AsRef(&Handle->AnalogValue); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiLastItemData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiLastItemData.cs new file mode 100644 index 000000000..f1021c1bb --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiLastItemData.cs @@ -0,0 +1,158 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Status storage for the last submitted item
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiLastItemData + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiItemFlags InFlags; + + /// + /// To be documented. + /// + public ImGuiItemStatusFlags StatusFlags; + + /// + /// To be documented. + /// + public ImRect Rect; + + /// + /// To be documented. + /// + public ImRect NavRect; + + /// + /// To be documented. + /// + public ImRect DisplayRect; + + + /// + /// To be documented. + /// + public unsafe ImGuiLastItemData(uint id = default, ImGuiItemFlags inFlags = default, ImGuiItemStatusFlags statusFlags = default, ImRect rect = default, ImRect navRect = default, ImRect displayRect = default) + { + ID = id; + InFlags = inFlags; + StatusFlags = statusFlags; + Rect = rect; + NavRect = navRect; + DisplayRect = displayRect; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiLastItemData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiLastItemDataPtr : IEquatable + { + public ImGuiLastItemDataPtr(ImGuiLastItemData* handle) { Handle = handle; } + + public ImGuiLastItemData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiLastItemDataPtr Null => new ImGuiLastItemDataPtr(null); + + public ImGuiLastItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiLastItemDataPtr(ImGuiLastItemData* handle) => new ImGuiLastItemDataPtr(handle); + + public static implicit operator ImGuiLastItemData*(ImGuiLastItemDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiLastItemDataPtr left, ImGuiLastItemDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiLastItemDataPtr left, ImGuiLastItemDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiLastItemDataPtr left, ImGuiLastItemData* right) => left.Handle == right; + + public static bool operator !=(ImGuiLastItemDataPtr left, ImGuiLastItemData* right) => left.Handle != right; + + public bool Equals(ImGuiLastItemDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiLastItemDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiLastItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiItemFlags InFlags => ref Unsafe.AsRef(&Handle->InFlags); + /// + /// To be documented. + /// + public ref ImGuiItemStatusFlags StatusFlags => ref Unsafe.AsRef(&Handle->StatusFlags); + /// + /// To be documented. + /// + public ref ImRect Rect => ref Unsafe.AsRef(&Handle->Rect); + /// + /// To be documented. + /// + public ref ImRect NavRect => ref Unsafe.AsRef(&Handle->NavRect); + /// + /// To be documented. + /// + public ref ImRect DisplayRect => ref Unsafe.AsRef(&Handle->DisplayRect); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipper.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipper.cs new file mode 100644 index 000000000..772f64ce2 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipper.cs @@ -0,0 +1,274 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: Manually clip large list of items.
+ /// If you have lots evenly spaced items and you have random access to the list, you can perform coarse
+ /// clipping based on visibility to only submit items that are in view.
+ /// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped.
+ /// (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally
+ /// fetchingsubmitting your own data incurs additional cost. Coarse clipping using ImGuiListClipper allows you to easily
+ /// scale using lists with tens of thousands of items without a problem)
+ /// Usage:
+ /// ImGuiListClipper clipper;
+ /// clipper.Begin(1000); We have 1000 elements, evenly spaced.
+ /// while (clipper.Step())
+ /// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
+ /// ImGui::Text("line number %d", i);
+ /// Generally what happens is:
+ /// - Clipper lets you process the first element (DisplayStart = 0, DisplayEnd = 1) regardless of it being visible or not.
+ /// - User code submit that one element.
+ /// - Clipper can measure the height of the first element
+ /// - Clipper calculate the actual range of elements to display based on the current clipping rectangle, position the cursor before the first visible element.
+ /// - User code submit visible elements.
+ /// - The clipper also handles various subtleties related to keyboardgamepad navigation, wrapping etc.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiListClipper + { + /// + /// To be documented. + /// + public int DisplayStart; + + /// + /// To be documented. + /// + public int DisplayEnd; + + /// + /// To be documented. + /// + public int ItemsCount; + + /// + /// To be documented. + /// + public float ItemsHeight; + + /// + /// To be documented. + /// + public float StartPosY; + + /// + /// To be documented. + /// + public unsafe void* TempData; + + + /// + /// To be documented. + /// + public unsafe ImGuiListClipper(int displayStart = default, int displayEnd = default, int itemsCount = default, float itemsHeight = default, float startPosY = default, void* tempData = default) + { + DisplayStart = displayStart; + DisplayEnd = displayEnd; + ItemsCount = itemsCount; + ItemsHeight = itemsHeight; + StartPosY = startPosY; + TempData = tempData; + } + + + /// + /// To be documented. + /// + public unsafe void Begin(int itemsCount, float itemsHeight) + { + fixed (ImGuiListClipper* @this = &this) + { + ImGui.BeginNative(@this, itemsCount, itemsHeight); + } + } + + /// + /// To be documented. + /// + public unsafe void Begin(int itemsCount) + { + fixed (ImGuiListClipper* @this = &this) + { + ImGui.BeginNative(@this, itemsCount, (float)(-1.0f)); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiListClipper* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void End() + { + fixed (ImGuiListClipper* @this = &this) + { + ImGui.EndNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ForceDisplayRangeByIndices(int itemMin, int itemMax) + { + fixed (ImGuiListClipper* @this = &this) + { + ImGui.ForceDisplayRangeByIndicesNative(@this, itemMin, itemMax); + } + } + + /// + /// To be documented. + /// + public unsafe bool Step() + { + fixed (ImGuiListClipper* @this = &this) + { + byte ret = ImGui.StepNative(@this); + return ret != 0; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiListClipperPtr : IEquatable + { + public ImGuiListClipperPtr(ImGuiListClipper* handle) { Handle = handle; } + + public ImGuiListClipper* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiListClipperPtr Null => new ImGuiListClipperPtr(null); + + public ImGuiListClipper this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiListClipperPtr(ImGuiListClipper* handle) => new ImGuiListClipperPtr(handle); + + public static implicit operator ImGuiListClipper*(ImGuiListClipperPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiListClipperPtr left, ImGuiListClipperPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiListClipperPtr left, ImGuiListClipperPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiListClipperPtr left, ImGuiListClipper* right) => left.Handle == right; + + public static bool operator !=(ImGuiListClipperPtr left, ImGuiListClipper* right) => left.Handle != right; + + public bool Equals(ImGuiListClipperPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiListClipperPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiListClipperPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref int DisplayStart => ref Unsafe.AsRef(&Handle->DisplayStart); + /// + /// To be documented. + /// + public ref int DisplayEnd => ref Unsafe.AsRef(&Handle->DisplayEnd); + /// + /// To be documented. + /// + public ref int ItemsCount => ref Unsafe.AsRef(&Handle->ItemsCount); + /// + /// To be documented. + /// + public ref float ItemsHeight => ref Unsafe.AsRef(&Handle->ItemsHeight); + /// + /// To be documented. + /// + public ref float StartPosY => ref Unsafe.AsRef(&Handle->StartPosY); + /// + /// To be documented. + /// + public void* TempData { get => Handle->TempData; set => Handle->TempData = value; } + /// + /// To be documented. + /// + public unsafe void Begin(int itemsCount, float itemsHeight) + { + ImGui.BeginNative(Handle, itemsCount, itemsHeight); + } + + /// + /// To be documented. + /// + public unsafe void Begin(int itemsCount) + { + ImGui.BeginNative(Handle, itemsCount, (float)(-1.0f)); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void End() + { + ImGui.EndNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ForceDisplayRangeByIndices(int itemMin, int itemMax) + { + ImGui.ForceDisplayRangeByIndicesNative(Handle, itemMin, itemMax); + } + + /// + /// To be documented. + /// + public unsafe bool Step() + { + byte ret = ImGui.StepNative(Handle); + return ret != 0; + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipperData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipperData.cs new file mode 100644 index 000000000..b02ca9ce7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipperData.cs @@ -0,0 +1,148 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Temporary clipper data, buffers sharedreused between instances
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiListClipperData + { + /// + /// To be documented. + /// + public unsafe ImGuiListClipper* ListClipper; + + /// + /// To be documented. + /// + public float LossynessOffset; + + /// + /// To be documented. + /// + public int StepNo; + + /// + /// To be documented. + /// + public int ItemsFrozen; + + /// + /// To be documented. + /// + public ImVector Ranges; + + + /// + /// To be documented. + /// + public unsafe ImGuiListClipperData(ImGuiListClipper* listClipper = default, float lossynessOffset = default, int stepNo = default, int itemsFrozen = default, ImVector ranges = default) + { + ListClipper = listClipper; + LossynessOffset = lossynessOffset; + StepNo = stepNo; + ItemsFrozen = itemsFrozen; + Ranges = ranges; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiListClipperData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiListClipperDataPtr : IEquatable + { + public ImGuiListClipperDataPtr(ImGuiListClipperData* handle) { Handle = handle; } + + public ImGuiListClipperData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiListClipperDataPtr Null => new ImGuiListClipperDataPtr(null); + + public ImGuiListClipperData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiListClipperDataPtr(ImGuiListClipperData* handle) => new ImGuiListClipperDataPtr(handle); + + public static implicit operator ImGuiListClipperData*(ImGuiListClipperDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiListClipperDataPtr left, ImGuiListClipperDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiListClipperDataPtr left, ImGuiListClipperDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiListClipperDataPtr left, ImGuiListClipperData* right) => left.Handle == right; + + public static bool operator !=(ImGuiListClipperDataPtr left, ImGuiListClipperData* right) => left.Handle != right; + + public bool Equals(ImGuiListClipperDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiListClipperDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiListClipperDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiListClipperPtr ListClipper => ref Unsafe.AsRef(&Handle->ListClipper); + /// + /// To be documented. + /// + public ref float LossynessOffset => ref Unsafe.AsRef(&Handle->LossynessOffset); + /// + /// To be documented. + /// + public ref int StepNo => ref Unsafe.AsRef(&Handle->StepNo); + /// + /// To be documented. + /// + public ref int ItemsFrozen => ref Unsafe.AsRef(&Handle->ItemsFrozen); + /// + /// To be documented. + /// + public ref ImVector Ranges => ref Unsafe.AsRef>(&Handle->Ranges); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipperRange.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipperRange.cs new file mode 100644 index 000000000..8bd346367 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiListClipperRange.cs @@ -0,0 +1,129 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Note that Max is exclusive, so perhaps should be using a BeginEnd convention.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiListClipperRange + { + /// + /// To be documented. + /// + public int Min; + + /// + /// To be documented. + /// + public int Max; + + /// + /// To be documented. + /// + public byte PosToIndexConvert; + + /// + /// To be documented. + /// + public byte PosToIndexOffsetMin; + + /// + /// To be documented. + /// + public byte PosToIndexOffsetMax; + + + /// + /// To be documented. + /// + public unsafe ImGuiListClipperRange(int min = default, int max = default, bool posToIndexConvert = default, byte posToIndexOffsetMin = default, byte posToIndexOffsetMax = default) + { + Min = min; + Max = max; + PosToIndexConvert = posToIndexConvert ? (byte)1 : (byte)0; + PosToIndexOffsetMin = posToIndexOffsetMin; + PosToIndexOffsetMax = posToIndexOffsetMax; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiListClipperRangePtr : IEquatable + { + public ImGuiListClipperRangePtr(ImGuiListClipperRange* handle) { Handle = handle; } + + public ImGuiListClipperRange* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiListClipperRangePtr Null => new ImGuiListClipperRangePtr(null); + + public ImGuiListClipperRange this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiListClipperRangePtr(ImGuiListClipperRange* handle) => new ImGuiListClipperRangePtr(handle); + + public static implicit operator ImGuiListClipperRange*(ImGuiListClipperRangePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiListClipperRangePtr left, ImGuiListClipperRangePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiListClipperRangePtr left, ImGuiListClipperRangePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiListClipperRangePtr left, ImGuiListClipperRange* right) => left.Handle == right; + + public static bool operator !=(ImGuiListClipperRangePtr left, ImGuiListClipperRange* right) => left.Handle != right; + + public bool Equals(ImGuiListClipperRangePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiListClipperRangePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiListClipperRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref int Min => ref Unsafe.AsRef(&Handle->Min); + /// + /// To be documented. + /// + public ref int Max => ref Unsafe.AsRef(&Handle->Max); + /// + /// To be documented. + /// + public ref bool PosToIndexConvert => ref Unsafe.AsRef(&Handle->PosToIndexConvert); + /// + /// To be documented. + /// + public ref byte PosToIndexOffsetMin => ref Unsafe.AsRef(&Handle->PosToIndexOffsetMin); + /// + /// To be documented. + /// + public ref byte PosToIndexOffsetMax => ref Unsafe.AsRef(&Handle->PosToIndexOffsetMax); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiMenuColumns.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiMenuColumns.cs new file mode 100644 index 000000000..41dad1a83 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiMenuColumns.cs @@ -0,0 +1,215 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Simple column measurement, currently used for MenuItem() only.. This is very short-sightedthrow-away code and NOT a generic helper.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiMenuColumns + { + /// + /// To be documented. + /// + public uint TotalWidth; + + /// + /// To be documented. + /// + public uint NextTotalWidth; + + /// + /// To be documented. + /// + public ushort Spacing; + + /// + /// To be documented. + /// + public ushort OffsetIcon; + + /// + /// To be documented. + /// + public ushort OffsetLabel; + + /// + /// To be documented. + /// + public ushort OffsetShortcut; + + /// + /// To be documented. + /// + public ushort OffsetMark; + + /// + /// To be documented. + /// + public ushort Widths_0; + public ushort Widths_1; + public ushort Widths_2; + public ushort Widths_3; + + + /// + /// To be documented. + /// + public unsafe ImGuiMenuColumns(uint totalWidth = default, uint nextTotalWidth = default, ushort spacing = default, ushort offsetIcon = default, ushort offsetLabel = default, ushort offsetShortcut = default, ushort offsetMark = default, ushort* widths = default) + { + TotalWidth = totalWidth; + NextTotalWidth = nextTotalWidth; + Spacing = spacing; + OffsetIcon = offsetIcon; + OffsetLabel = offsetLabel; + OffsetShortcut = offsetShortcut; + OffsetMark = offsetMark; + if (widths != default(ushort*)) + { + Widths_0 = widths[0]; + Widths_1 = widths[1]; + Widths_2 = widths[2]; + Widths_3 = widths[3]; + } + } + + /// + /// To be documented. + /// + public unsafe ImGuiMenuColumns(uint totalWidth = default, uint nextTotalWidth = default, ushort spacing = default, ushort offsetIcon = default, ushort offsetLabel = default, ushort offsetShortcut = default, ushort offsetMark = default, Span widths = default) + { + TotalWidth = totalWidth; + NextTotalWidth = nextTotalWidth; + Spacing = spacing; + OffsetIcon = offsetIcon; + OffsetLabel = offsetLabel; + OffsetShortcut = offsetShortcut; + OffsetMark = offsetMark; + if (widths != default(Span)) + { + Widths_0 = widths[0]; + Widths_1 = widths[1]; + Widths_2 = widths[2]; + Widths_3 = widths[3]; + } + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiMenuColumns* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiMenuColumnsPtr : IEquatable + { + public ImGuiMenuColumnsPtr(ImGuiMenuColumns* handle) { Handle = handle; } + + public ImGuiMenuColumns* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiMenuColumnsPtr Null => new ImGuiMenuColumnsPtr(null); + + public ImGuiMenuColumns this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiMenuColumnsPtr(ImGuiMenuColumns* handle) => new ImGuiMenuColumnsPtr(handle); + + public static implicit operator ImGuiMenuColumns*(ImGuiMenuColumnsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiMenuColumnsPtr left, ImGuiMenuColumnsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiMenuColumnsPtr left, ImGuiMenuColumnsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiMenuColumnsPtr left, ImGuiMenuColumns* right) => left.Handle == right; + + public static bool operator !=(ImGuiMenuColumnsPtr left, ImGuiMenuColumns* right) => left.Handle != right; + + public bool Equals(ImGuiMenuColumnsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiMenuColumnsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiMenuColumnsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint TotalWidth => ref Unsafe.AsRef(&Handle->TotalWidth); + /// + /// To be documented. + /// + public ref uint NextTotalWidth => ref Unsafe.AsRef(&Handle->NextTotalWidth); + /// + /// To be documented. + /// + public ref ushort Spacing => ref Unsafe.AsRef(&Handle->Spacing); + /// + /// To be documented. + /// + public ref ushort OffsetIcon => ref Unsafe.AsRef(&Handle->OffsetIcon); + /// + /// To be documented. + /// + public ref ushort OffsetLabel => ref Unsafe.AsRef(&Handle->OffsetLabel); + /// + /// To be documented. + /// + public ref ushort OffsetShortcut => ref Unsafe.AsRef(&Handle->OffsetShortcut); + /// + /// To be documented. + /// + public ref ushort OffsetMark => ref Unsafe.AsRef(&Handle->OffsetMark); + /// + /// To be documented. + /// + public unsafe Span Widths + + { + get + { + return new Span(&Handle->Widths_0, 4); + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiMetricsConfig.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiMetricsConfig.cs new file mode 100644 index 000000000..85dcf7be1 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiMetricsConfig.cs @@ -0,0 +1,198 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiMetricsConfig + { + /// + /// To be documented. + /// + public byte ShowDebugLog; + + /// + /// To be documented. + /// + public byte ShowStackTool; + + /// + /// To be documented. + /// + public byte ShowWindowsRects; + + /// + /// To be documented. + /// + public byte ShowWindowsBeginOrder; + + /// + /// To be documented. + /// + public byte ShowTablesRects; + + /// + /// To be documented. + /// + public byte ShowDrawCmdMesh; + + /// + /// To be documented. + /// + public byte ShowDrawCmdBoundingBoxes; + + /// + /// To be documented. + /// + public byte ShowDockingNodes; + + /// + /// To be documented. + /// + public int ShowWindowsRectsType; + + /// + /// To be documented. + /// + public int ShowTablesRectsType; + + + /// + /// To be documented. + /// + public unsafe ImGuiMetricsConfig(bool showDebugLog = default, bool showStackTool = default, bool showWindowsRects = default, bool showWindowsBeginOrder = default, bool showTablesRects = default, bool showDrawCmdMesh = default, bool showDrawCmdBoundingBoxes = default, bool showDockingNodes = default, int showWindowsRectsType = default, int showTablesRectsType = default) + { + ShowDebugLog = showDebugLog ? (byte)1 : (byte)0; + ShowStackTool = showStackTool ? (byte)1 : (byte)0; + ShowWindowsRects = showWindowsRects ? (byte)1 : (byte)0; + ShowWindowsBeginOrder = showWindowsBeginOrder ? (byte)1 : (byte)0; + ShowTablesRects = showTablesRects ? (byte)1 : (byte)0; + ShowDrawCmdMesh = showDrawCmdMesh ? (byte)1 : (byte)0; + ShowDrawCmdBoundingBoxes = showDrawCmdBoundingBoxes ? (byte)1 : (byte)0; + ShowDockingNodes = showDockingNodes ? (byte)1 : (byte)0; + ShowWindowsRectsType = showWindowsRectsType; + ShowTablesRectsType = showTablesRectsType; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiMetricsConfig* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiMetricsConfigPtr : IEquatable + { + public ImGuiMetricsConfigPtr(ImGuiMetricsConfig* handle) { Handle = handle; } + + public ImGuiMetricsConfig* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiMetricsConfigPtr Null => new ImGuiMetricsConfigPtr(null); + + public ImGuiMetricsConfig this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiMetricsConfigPtr(ImGuiMetricsConfig* handle) => new ImGuiMetricsConfigPtr(handle); + + public static implicit operator ImGuiMetricsConfig*(ImGuiMetricsConfigPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiMetricsConfigPtr left, ImGuiMetricsConfigPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiMetricsConfigPtr left, ImGuiMetricsConfigPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiMetricsConfigPtr left, ImGuiMetricsConfig* right) => left.Handle == right; + + public static bool operator !=(ImGuiMetricsConfigPtr left, ImGuiMetricsConfig* right) => left.Handle != right; + + public bool Equals(ImGuiMetricsConfigPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiMetricsConfigPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiMetricsConfigPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref bool ShowDebugLog => ref Unsafe.AsRef(&Handle->ShowDebugLog); + /// + /// To be documented. + /// + public ref bool ShowStackTool => ref Unsafe.AsRef(&Handle->ShowStackTool); + /// + /// To be documented. + /// + public ref bool ShowWindowsRects => ref Unsafe.AsRef(&Handle->ShowWindowsRects); + /// + /// To be documented. + /// + public ref bool ShowWindowsBeginOrder => ref Unsafe.AsRef(&Handle->ShowWindowsBeginOrder); + /// + /// To be documented. + /// + public ref bool ShowTablesRects => ref Unsafe.AsRef(&Handle->ShowTablesRects); + /// + /// To be documented. + /// + public ref bool ShowDrawCmdMesh => ref Unsafe.AsRef(&Handle->ShowDrawCmdMesh); + /// + /// To be documented. + /// + public ref bool ShowDrawCmdBoundingBoxes => ref Unsafe.AsRef(&Handle->ShowDrawCmdBoundingBoxes); + /// + /// To be documented. + /// + public ref bool ShowDockingNodes => ref Unsafe.AsRef(&Handle->ShowDockingNodes); + /// + /// To be documented. + /// + public ref int ShowWindowsRectsType => ref Unsafe.AsRef(&Handle->ShowWindowsRectsType); + /// + /// To be documented. + /// + public ref int ShowTablesRectsType => ref Unsafe.AsRef(&Handle->ShowTablesRectsType); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNavItemData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNavItemData.cs new file mode 100644 index 000000000..a9ab3183f --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNavItemData.cs @@ -0,0 +1,178 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Storage for navigation queryresults
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiNavItemData + { + /// + /// To be documented. + /// + public unsafe ImGuiWindow* Window; + + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public uint FocusScopeId; + + /// + /// To be documented. + /// + public ImRect RectRel; + + /// + /// To be documented. + /// + public ImGuiItemFlags InFlags; + + /// + /// To be documented. + /// + public float DistBox; + + /// + /// To be documented. + /// + public float DistCenter; + + /// + /// To be documented. + /// + public float DistAxial; + + + /// + /// To be documented. + /// + public unsafe ImGuiNavItemData(ImGuiWindowPtr window = default, uint id = default, uint focusScopeId = default, ImRect rectRel = default, ImGuiItemFlags inFlags = default, float distBox = default, float distCenter = default, float distAxial = default) + { + Window = window; + ID = id; + FocusScopeId = focusScopeId; + RectRel = rectRel; + InFlags = inFlags; + DistBox = distBox; + DistCenter = distCenter; + DistAxial = distAxial; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiNavItemData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiNavItemDataPtr : IEquatable + { + public ImGuiNavItemDataPtr(ImGuiNavItemData* handle) { Handle = handle; } + + public ImGuiNavItemData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiNavItemDataPtr Null => new ImGuiNavItemDataPtr(null); + + public ImGuiNavItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiNavItemDataPtr(ImGuiNavItemData* handle) => new ImGuiNavItemDataPtr(handle); + + public static implicit operator ImGuiNavItemData*(ImGuiNavItemDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiNavItemDataPtr left, ImGuiNavItemDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiNavItemDataPtr left, ImGuiNavItemDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiNavItemDataPtr left, ImGuiNavItemData* right) => left.Handle == right; + + public static bool operator !=(ImGuiNavItemDataPtr left, ImGuiNavItemData* right) => left.Handle != right; + + public bool Equals(ImGuiNavItemDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiNavItemDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiNavItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref uint FocusScopeId => ref Unsafe.AsRef(&Handle->FocusScopeId); + /// + /// To be documented. + /// + public ref ImRect RectRel => ref Unsafe.AsRef(&Handle->RectRel); + /// + /// To be documented. + /// + public ref ImGuiItemFlags InFlags => ref Unsafe.AsRef(&Handle->InFlags); + /// + /// To be documented. + /// + public ref float DistBox => ref Unsafe.AsRef(&Handle->DistBox); + /// + /// To be documented. + /// + public ref float DistCenter => ref Unsafe.AsRef(&Handle->DistCenter); + /// + /// To be documented. + /// + public ref float DistAxial => ref Unsafe.AsRef(&Handle->DistAxial); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNextItemData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNextItemData.cs new file mode 100644 index 000000000..75938ddd5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNextItemData.cs @@ -0,0 +1,148 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiNextItemData + { + /// + /// To be documented. + /// + public ImGuiNextItemDataFlags Flags; + + /// + /// To be documented. + /// + public float Width; + + /// + /// To be documented. + /// + public uint FocusScopeId; + + /// + /// To be documented. + /// + public ImGuiCond OpenCond; + + /// + /// To be documented. + /// + public byte OpenVal; + + + /// + /// To be documented. + /// + public unsafe ImGuiNextItemData(ImGuiNextItemDataFlags flags = default, float width = default, uint focusScopeId = default, ImGuiCond openCond = default, bool openVal = default) + { + Flags = flags; + Width = width; + FocusScopeId = focusScopeId; + OpenCond = openCond; + OpenVal = openVal ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiNextItemData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiNextItemDataPtr : IEquatable + { + public ImGuiNextItemDataPtr(ImGuiNextItemData* handle) { Handle = handle; } + + public ImGuiNextItemData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiNextItemDataPtr Null => new ImGuiNextItemDataPtr(null); + + public ImGuiNextItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiNextItemDataPtr(ImGuiNextItemData* handle) => new ImGuiNextItemDataPtr(handle); + + public static implicit operator ImGuiNextItemData*(ImGuiNextItemDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiNextItemDataPtr left, ImGuiNextItemDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiNextItemDataPtr left, ImGuiNextItemDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiNextItemDataPtr left, ImGuiNextItemData* right) => left.Handle == right; + + public static bool operator !=(ImGuiNextItemDataPtr left, ImGuiNextItemData* right) => left.Handle != right; + + public bool Equals(ImGuiNextItemDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiNextItemDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiNextItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiNextItemDataFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref float Width => ref Unsafe.AsRef(&Handle->Width); + /// + /// To be documented. + /// + public ref uint FocusScopeId => ref Unsafe.AsRef(&Handle->FocusScopeId); + /// + /// To be documented. + /// + public ref ImGuiCond OpenCond => ref Unsafe.AsRef(&Handle->OpenCond); + /// + /// To be documented. + /// + public ref bool OpenVal => ref Unsafe.AsRef(&Handle->OpenVal); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNextWindowData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNextWindowData.cs new file mode 100644 index 000000000..4e357b72f --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiNextWindowData.cs @@ -0,0 +1,297 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Storage for SetNexWindow** functions
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiNextWindowData + { + /// + /// To be documented. + /// + public ImGuiNextWindowDataFlags Flags; + + /// + /// To be documented. + /// + public ImGuiCond PosCond; + + /// + /// To be documented. + /// + public ImGuiCond SizeCond; + + /// + /// To be documented. + /// + public ImGuiCond CollapsedCond; + + /// + /// To be documented. + /// + public ImGuiCond DockCond; + + /// + /// To be documented. + /// + public Vector2 PosVal; + + /// + /// To be documented. + /// + public Vector2 PosPivotVal; + + /// + /// To be documented. + /// + public Vector2 SizeVal; + + /// + /// To be documented. + /// + public Vector2 ContentSizeVal; + + /// + /// To be documented. + /// + public Vector2 ScrollVal; + + /// + /// To be documented. + /// + public byte PosUndock; + + /// + /// To be documented. + /// + public byte CollapsedVal; + + /// + /// To be documented. + /// + public ImRect SizeConstraintRect; + + /// + /// To be documented. + /// + public unsafe void* SizeCallback; + /// + /// To be documented. + /// + public unsafe void* SizeCallbackUserData; + + /// + /// To be documented. + /// + public float BgAlphaVal; + + /// + /// To be documented. + /// + public uint ViewportId; + + /// + /// To be documented. + /// + public uint DockId; + + /// + /// To be documented. + /// + public ImGuiWindowClass WindowClass; + + /// + /// To be documented. + /// + public Vector2 MenuBarOffsetMinVal; + + + /// + /// To be documented. + /// + public unsafe ImGuiNextWindowData(ImGuiNextWindowDataFlags flags = default, ImGuiCond posCond = default, ImGuiCond sizeCond = default, ImGuiCond collapsedCond = default, ImGuiCond dockCond = default, Vector2 posVal = default, Vector2 posPivotVal = default, Vector2 sizeVal = default, Vector2 contentSizeVal = default, Vector2 scrollVal = default, bool posUndock = default, bool collapsedVal = default, ImRect sizeConstraintRect = default, ImGuiSizeCallback sizeCallback = default, void* sizeCallbackUserData = default, float bgAlphaVal = default, uint viewportId = default, uint dockId = default, ImGuiWindowClass windowClass = default, Vector2 menuBarOffsetMinVal = default) + { + Flags = flags; + PosCond = posCond; + SizeCond = sizeCond; + CollapsedCond = collapsedCond; + DockCond = dockCond; + PosVal = posVal; + PosPivotVal = posPivotVal; + SizeVal = sizeVal; + ContentSizeVal = contentSizeVal; + ScrollVal = scrollVal; + PosUndock = posUndock ? (byte)1 : (byte)0; + CollapsedVal = collapsedVal ? (byte)1 : (byte)0; + SizeConstraintRect = sizeConstraintRect; + SizeCallback = (void*)Marshal.GetFunctionPointerForDelegate(sizeCallback); + SizeCallbackUserData = sizeCallbackUserData; + BgAlphaVal = bgAlphaVal; + ViewportId = viewportId; + DockId = dockId; + WindowClass = windowClass; + MenuBarOffsetMinVal = menuBarOffsetMinVal; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiNextWindowData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiNextWindowDataPtr : IEquatable + { + public ImGuiNextWindowDataPtr(ImGuiNextWindowData* handle) { Handle = handle; } + + public ImGuiNextWindowData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiNextWindowDataPtr Null => new ImGuiNextWindowDataPtr(null); + + public ImGuiNextWindowData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiNextWindowDataPtr(ImGuiNextWindowData* handle) => new ImGuiNextWindowDataPtr(handle); + + public static implicit operator ImGuiNextWindowData*(ImGuiNextWindowDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiNextWindowDataPtr left, ImGuiNextWindowDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiNextWindowDataPtr left, ImGuiNextWindowDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiNextWindowDataPtr left, ImGuiNextWindowData* right) => left.Handle == right; + + public static bool operator !=(ImGuiNextWindowDataPtr left, ImGuiNextWindowData* right) => left.Handle != right; + + public bool Equals(ImGuiNextWindowDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiNextWindowDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiNextWindowDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiNextWindowDataFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImGuiCond PosCond => ref Unsafe.AsRef(&Handle->PosCond); + /// + /// To be documented. + /// + public ref ImGuiCond SizeCond => ref Unsafe.AsRef(&Handle->SizeCond); + /// + /// To be documented. + /// + public ref ImGuiCond CollapsedCond => ref Unsafe.AsRef(&Handle->CollapsedCond); + /// + /// To be documented. + /// + public ref ImGuiCond DockCond => ref Unsafe.AsRef(&Handle->DockCond); + /// + /// To be documented. + /// + public ref Vector2 PosVal => ref Unsafe.AsRef(&Handle->PosVal); + /// + /// To be documented. + /// + public ref Vector2 PosPivotVal => ref Unsafe.AsRef(&Handle->PosPivotVal); + /// + /// To be documented. + /// + public ref Vector2 SizeVal => ref Unsafe.AsRef(&Handle->SizeVal); + /// + /// To be documented. + /// + public ref Vector2 ContentSizeVal => ref Unsafe.AsRef(&Handle->ContentSizeVal); + /// + /// To be documented. + /// + public ref Vector2 ScrollVal => ref Unsafe.AsRef(&Handle->ScrollVal); + /// + /// To be documented. + /// + public ref bool PosUndock => ref Unsafe.AsRef(&Handle->PosUndock); + /// + /// To be documented. + /// + public ref bool CollapsedVal => ref Unsafe.AsRef(&Handle->CollapsedVal); + /// + /// To be documented. + /// + public ref ImRect SizeConstraintRect => ref Unsafe.AsRef(&Handle->SizeConstraintRect); + /// + /// To be documented. + /// + public void* SizeCallback { get => Handle->SizeCallback; set => Handle->SizeCallback = value; } + /// + /// To be documented. + /// + public void* SizeCallbackUserData { get => Handle->SizeCallbackUserData; set => Handle->SizeCallbackUserData = value; } + /// + /// To be documented. + /// + public ref float BgAlphaVal => ref Unsafe.AsRef(&Handle->BgAlphaVal); + /// + /// To be documented. + /// + public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); + /// + /// To be documented. + /// + public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); + /// + /// To be documented. + /// + public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); + /// + /// To be documented. + /// + public ref Vector2 MenuBarOffsetMinVal => ref Unsafe.AsRef(&Handle->MenuBarOffsetMinVal); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOldColumnData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOldColumnData.cs new file mode 100644 index 000000000..4b48d0a81 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOldColumnData.cs @@ -0,0 +1,138 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiOldColumnData + { + /// + /// To be documented. + /// + public float OffsetNorm; + + /// + /// To be documented. + /// + public float OffsetNormBeforeResize; + + /// + /// To be documented. + /// + public ImGuiOldColumnFlags Flags; + + /// + /// To be documented. + /// + public ImRect ClipRect; + + + /// + /// To be documented. + /// + public unsafe ImGuiOldColumnData(float offsetNorm = default, float offsetNormBeforeResize = default, ImGuiOldColumnFlags flags = default, ImRect clipRect = default) + { + OffsetNorm = offsetNorm; + OffsetNormBeforeResize = offsetNormBeforeResize; + Flags = flags; + ClipRect = clipRect; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiOldColumnData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiOldColumnDataPtr : IEquatable + { + public ImGuiOldColumnDataPtr(ImGuiOldColumnData* handle) { Handle = handle; } + + public ImGuiOldColumnData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiOldColumnDataPtr Null => new ImGuiOldColumnDataPtr(null); + + public ImGuiOldColumnData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiOldColumnDataPtr(ImGuiOldColumnData* handle) => new ImGuiOldColumnDataPtr(handle); + + public static implicit operator ImGuiOldColumnData*(ImGuiOldColumnDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiOldColumnDataPtr left, ImGuiOldColumnDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiOldColumnDataPtr left, ImGuiOldColumnDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiOldColumnDataPtr left, ImGuiOldColumnData* right) => left.Handle == right; + + public static bool operator !=(ImGuiOldColumnDataPtr left, ImGuiOldColumnData* right) => left.Handle != right; + + public bool Equals(ImGuiOldColumnDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiOldColumnDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiOldColumnDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref float OffsetNorm => ref Unsafe.AsRef(&Handle->OffsetNorm); + /// + /// To be documented. + /// + public ref float OffsetNormBeforeResize => ref Unsafe.AsRef(&Handle->OffsetNormBeforeResize); + /// + /// To be documented. + /// + public ref ImGuiOldColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOldColumns.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOldColumns.cs new file mode 100644 index 000000000..5932630d5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOldColumns.cs @@ -0,0 +1,268 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiOldColumns + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiOldColumnFlags Flags; + + /// + /// To be documented. + /// + public byte IsFirstFrame; + + /// + /// To be documented. + /// + public byte IsBeingResized; + + /// + /// To be documented. + /// + public int Current; + + /// + /// To be documented. + /// + public int Count; + + /// + /// To be documented. + /// + public float OffMinX; + + /// + /// To be documented. + /// + public float OffMaxX; + + /// + /// To be documented. + /// + public float LineMinY; + + /// + /// To be documented. + /// + public float LineMaxY; + + /// + /// To be documented. + /// + public float HostCursorPosY; + + /// + /// To be documented. + /// + public float HostCursorMaxPosX; + + /// + /// To be documented. + /// + public ImRect HostInitialClipRect; + + /// + /// To be documented. + /// + public ImRect HostBackupClipRect; + + /// + /// To be documented. + /// + public ImRect HostBackupParentWorkRect; + + /// + /// To be documented. + /// + public ImVector Columns; + + /// + /// To be documented. + /// + public ImDrawListSplitter Splitter; + + + /// + /// To be documented. + /// + public unsafe ImGuiOldColumns(uint id = default, ImGuiOldColumnFlags flags = default, bool isFirstFrame = default, bool isBeingResized = default, int current = default, int count = default, float offMinX = default, float offMaxX = default, float lineMinY = default, float lineMaxY = default, float hostCursorPosY = default, float hostCursorMaxPosX = default, ImRect hostInitialClipRect = default, ImRect hostBackupClipRect = default, ImRect hostBackupParentWorkRect = default, ImVector columns = default, ImDrawListSplitter splitter = default) + { + ID = id; + Flags = flags; + IsFirstFrame = isFirstFrame ? (byte)1 : (byte)0; + IsBeingResized = isBeingResized ? (byte)1 : (byte)0; + Current = current; + Count = count; + OffMinX = offMinX; + OffMaxX = offMaxX; + LineMinY = lineMinY; + LineMaxY = lineMaxY; + HostCursorPosY = hostCursorPosY; + HostCursorMaxPosX = hostCursorMaxPosX; + HostInitialClipRect = hostInitialClipRect; + HostBackupClipRect = hostBackupClipRect; + HostBackupParentWorkRect = hostBackupParentWorkRect; + Columns = columns; + Splitter = splitter; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiOldColumns* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiOldColumnsPtr : IEquatable + { + public ImGuiOldColumnsPtr(ImGuiOldColumns* handle) { Handle = handle; } + + public ImGuiOldColumns* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiOldColumnsPtr Null => new ImGuiOldColumnsPtr(null); + + public ImGuiOldColumns this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiOldColumnsPtr(ImGuiOldColumns* handle) => new ImGuiOldColumnsPtr(handle); + + public static implicit operator ImGuiOldColumns*(ImGuiOldColumnsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiOldColumnsPtr left, ImGuiOldColumnsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiOldColumnsPtr left, ImGuiOldColumnsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiOldColumnsPtr left, ImGuiOldColumns* right) => left.Handle == right; + + public static bool operator !=(ImGuiOldColumnsPtr left, ImGuiOldColumns* right) => left.Handle != right; + + public bool Equals(ImGuiOldColumnsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiOldColumnsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiOldColumnsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiOldColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref bool IsFirstFrame => ref Unsafe.AsRef(&Handle->IsFirstFrame); + /// + /// To be documented. + /// + public ref bool IsBeingResized => ref Unsafe.AsRef(&Handle->IsBeingResized); + /// + /// To be documented. + /// + public ref int Current => ref Unsafe.AsRef(&Handle->Current); + /// + /// To be documented. + /// + public ref int Count => ref Unsafe.AsRef(&Handle->Count); + /// + /// To be documented. + /// + public ref float OffMinX => ref Unsafe.AsRef(&Handle->OffMinX); + /// + /// To be documented. + /// + public ref float OffMaxX => ref Unsafe.AsRef(&Handle->OffMaxX); + /// + /// To be documented. + /// + public ref float LineMinY => ref Unsafe.AsRef(&Handle->LineMinY); + /// + /// To be documented. + /// + public ref float LineMaxY => ref Unsafe.AsRef(&Handle->LineMaxY); + /// + /// To be documented. + /// + public ref float HostCursorPosY => ref Unsafe.AsRef(&Handle->HostCursorPosY); + /// + /// To be documented. + /// + public ref float HostCursorMaxPosX => ref Unsafe.AsRef(&Handle->HostCursorMaxPosX); + /// + /// To be documented. + /// + public ref ImRect HostInitialClipRect => ref Unsafe.AsRef(&Handle->HostInitialClipRect); + /// + /// To be documented. + /// + public ref ImRect HostBackupClipRect => ref Unsafe.AsRef(&Handle->HostBackupClipRect); + /// + /// To be documented. + /// + public ref ImRect HostBackupParentWorkRect => ref Unsafe.AsRef(&Handle->HostBackupParentWorkRect); + /// + /// To be documented. + /// + public ref ImVector Columns => ref Unsafe.AsRef>(&Handle->Columns); + /// + /// To be documented. + /// + public ref ImDrawListSplitter Splitter => ref Unsafe.AsRef(&Handle->Splitter); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOnceUponAFrame.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOnceUponAFrame.cs new file mode 100644 index 000000000..bec674b8e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiOnceUponAFrame.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create a UI within deep-nested code that runs multiple times every frame.
+ /// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame");
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiOnceUponAFrame + { + /// + /// To be documented. + /// + public int RefFrame; + + + /// + /// To be documented. + /// + public unsafe ImGuiOnceUponAFrame(int refFrame = default) + { + RefFrame = refFrame; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiOnceUponAFrame* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiOnceUponAFramePtr : IEquatable + { + public ImGuiOnceUponAFramePtr(ImGuiOnceUponAFrame* handle) { Handle = handle; } + + public ImGuiOnceUponAFrame* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiOnceUponAFramePtr Null => new ImGuiOnceUponAFramePtr(null); + + public ImGuiOnceUponAFrame this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiOnceUponAFramePtr(ImGuiOnceUponAFrame* handle) => new ImGuiOnceUponAFramePtr(handle); + + public static implicit operator ImGuiOnceUponAFrame*(ImGuiOnceUponAFramePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFramePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFramePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFrame* right) => left.Handle == right; + + public static bool operator !=(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFrame* right) => left.Handle != right; + + public bool Equals(ImGuiOnceUponAFramePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiOnceUponAFramePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiOnceUponAFramePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref int RefFrame => ref Unsafe.AsRef(&Handle->RefFrame); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPayload.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPayload.cs new file mode 100644 index 000000000..14bf1f2bb --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPayload.cs @@ -0,0 +1,501 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Data payload for Drag and Drop operations: AcceptDragDropPayload(), GetDragDropPayload()
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPayload + { + /// + /// To be documented. + /// + public unsafe void* Data; + + /// + /// To be documented. + /// + public int DataSize; + + /// + /// To be documented. + /// + public uint SourceId; + + /// + /// To be documented. + /// + public uint SourceParentId; + + /// + /// To be documented. + /// + public int DataFrameCount; + + /// + /// To be documented. + /// + public byte DataType_0; + public byte DataType_1; + public byte DataType_2; + public byte DataType_3; + public byte DataType_4; + public byte DataType_5; + public byte DataType_6; + public byte DataType_7; + public byte DataType_8; + public byte DataType_9; + public byte DataType_10; + public byte DataType_11; + public byte DataType_12; + public byte DataType_13; + public byte DataType_14; + public byte DataType_15; + public byte DataType_16; + public byte DataType_17; + public byte DataType_18; + public byte DataType_19; + public byte DataType_20; + public byte DataType_21; + public byte DataType_22; + public byte DataType_23; + public byte DataType_24; + public byte DataType_25; + public byte DataType_26; + public byte DataType_27; + public byte DataType_28; + public byte DataType_29; + public byte DataType_30; + public byte DataType_31; + public byte DataType_32; + + /// + /// To be documented. + /// + public byte Preview; + + /// + /// To be documented. + /// + public byte Delivery; + + + /// + /// To be documented. + /// + public unsafe ImGuiPayload(void* data = default, int dataSize = default, uint sourceId = default, uint sourceParentId = default, int dataFrameCount = default, byte* dataType = default, bool preview = default, bool delivery = default) + { + Data = data; + DataSize = dataSize; + SourceId = sourceId; + SourceParentId = sourceParentId; + DataFrameCount = dataFrameCount; + if (dataType != default(byte*)) + { + DataType_0 = dataType[0]; + DataType_1 = dataType[1]; + DataType_2 = dataType[2]; + DataType_3 = dataType[3]; + DataType_4 = dataType[4]; + DataType_5 = dataType[5]; + DataType_6 = dataType[6]; + DataType_7 = dataType[7]; + DataType_8 = dataType[8]; + DataType_9 = dataType[9]; + DataType_10 = dataType[10]; + DataType_11 = dataType[11]; + DataType_12 = dataType[12]; + DataType_13 = dataType[13]; + DataType_14 = dataType[14]; + DataType_15 = dataType[15]; + DataType_16 = dataType[16]; + DataType_17 = dataType[17]; + DataType_18 = dataType[18]; + DataType_19 = dataType[19]; + DataType_20 = dataType[20]; + DataType_21 = dataType[21]; + DataType_22 = dataType[22]; + DataType_23 = dataType[23]; + DataType_24 = dataType[24]; + DataType_25 = dataType[25]; + DataType_26 = dataType[26]; + DataType_27 = dataType[27]; + DataType_28 = dataType[28]; + DataType_29 = dataType[29]; + DataType_30 = dataType[30]; + DataType_31 = dataType[31]; + DataType_32 = dataType[32]; + } + Preview = preview ? (byte)1 : (byte)0; + Delivery = delivery ? (byte)1 : (byte)0; + } + + /// + /// To be documented. + /// + public unsafe ImGuiPayload(void* data = default, int dataSize = default, uint sourceId = default, uint sourceParentId = default, int dataFrameCount = default, Span dataType = default, bool preview = default, bool delivery = default) + { + Data = data; + DataSize = dataSize; + SourceId = sourceId; + SourceParentId = sourceParentId; + DataFrameCount = dataFrameCount; + if (dataType != default(Span)) + { + DataType_0 = dataType[0]; + DataType_1 = dataType[1]; + DataType_2 = dataType[2]; + DataType_3 = dataType[3]; + DataType_4 = dataType[4]; + DataType_5 = dataType[5]; + DataType_6 = dataType[6]; + DataType_7 = dataType[7]; + DataType_8 = dataType[8]; + DataType_9 = dataType[9]; + DataType_10 = dataType[10]; + DataType_11 = dataType[11]; + DataType_12 = dataType[12]; + DataType_13 = dataType[13]; + DataType_14 = dataType[14]; + DataType_15 = dataType[15]; + DataType_16 = dataType[16]; + DataType_17 = dataType[17]; + DataType_18 = dataType[18]; + DataType_19 = dataType[19]; + DataType_20 = dataType[20]; + DataType_21 = dataType[21]; + DataType_22 = dataType[22]; + DataType_23 = dataType[23]; + DataType_24 = dataType[24]; + DataType_25 = dataType[25]; + DataType_26 = dataType[26]; + DataType_27 = dataType[27]; + DataType_28 = dataType[28]; + DataType_29 = dataType[29]; + DataType_30 = dataType[30]; + DataType_31 = dataType[31]; + DataType_32 = dataType[32]; + } + Preview = preview ? (byte)1 : (byte)0; + Delivery = delivery ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Clear() + { + fixed (ImGuiPayload* @this = &this) + { + ImGui.ClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiPayload* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(byte* type) + { + fixed (ImGuiPayload* @this = &this) + { + byte ret = ImGui.IsDataTypeNative(@this, type); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(ref byte type) + { + fixed (ImGuiPayload* @this = &this) + { + fixed (byte* ptype = &type) + { + byte ret = ImGui.IsDataTypeNative(@this, (byte*)ptype); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(ReadOnlySpan type) + { + fixed (ImGuiPayload* @this = &this) + { + fixed (byte* ptype = type) + { + byte ret = ImGui.IsDataTypeNative(@this, (byte*)ptype); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(string type) + { + fixed (ImGuiPayload* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ImGui.IsDataTypeNative(@this, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsDelivery() + { + fixed (ImGuiPayload* @this = &this) + { + byte ret = ImGui.IsDeliveryNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsPreview() + { + fixed (ImGuiPayload* @this = &this) + { + byte ret = ImGui.IsPreviewNative(@this); + return ret != 0; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiPayloadPtr : IEquatable + { + public ImGuiPayloadPtr(ImGuiPayload* handle) { Handle = handle; } + + public ImGuiPayload* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiPayloadPtr Null => new ImGuiPayloadPtr(null); + + public ImGuiPayload this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiPayloadPtr(ImGuiPayload* handle) => new ImGuiPayloadPtr(handle); + + public static implicit operator ImGuiPayload*(ImGuiPayloadPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiPayloadPtr left, ImGuiPayloadPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiPayloadPtr left, ImGuiPayloadPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiPayloadPtr left, ImGuiPayload* right) => left.Handle == right; + + public static bool operator !=(ImGuiPayloadPtr left, ImGuiPayload* right) => left.Handle != right; + + public bool Equals(ImGuiPayloadPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiPayloadPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiPayloadPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public void* Data { get => Handle->Data; set => Handle->Data = value; } + /// + /// To be documented. + /// + public ref int DataSize => ref Unsafe.AsRef(&Handle->DataSize); + /// + /// To be documented. + /// + public ref uint SourceId => ref Unsafe.AsRef(&Handle->SourceId); + /// + /// To be documented. + /// + public ref uint SourceParentId => ref Unsafe.AsRef(&Handle->SourceParentId); + /// + /// To be documented. + /// + public ref int DataFrameCount => ref Unsafe.AsRef(&Handle->DataFrameCount); + /// + /// To be documented. + /// + public unsafe Span DataType + + { + get + { + return new Span(&Handle->DataType_0, 33); + } + } + /// + /// To be documented. + /// + public ref bool Preview => ref Unsafe.AsRef(&Handle->Preview); + /// + /// To be documented. + /// + public ref bool Delivery => ref Unsafe.AsRef(&Handle->Delivery); + /// + /// To be documented. + /// + public unsafe void Clear() + { + ImGui.ClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(byte* type) + { + byte ret = ImGui.IsDataTypeNative(Handle, type); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(ref byte type) + { + fixed (byte* ptype = &type) + { + byte ret = ImGui.IsDataTypeNative(Handle, (byte*)ptype); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(ReadOnlySpan type) + { + fixed (byte* ptype = type) + { + byte ret = ImGui.IsDataTypeNative(Handle, (byte*)ptype); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsDataType(string type) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (type != null) + { + pStrSize0 = Utils.GetByteCountUTF8(type); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ImGui.IsDataTypeNative(Handle, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsDelivery() + { + byte ret = ImGui.IsDeliveryNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsPreview() + { + byte ret = ImGui.IsPreviewNative(Handle); + return ret != 0; + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformIO.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformIO.cs new file mode 100644 index 000000000..5be5ba4d6 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformIO.cs @@ -0,0 +1,348 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Access via ImGui::GetPlatformIO()
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPlatformIO + { + /// + /// To be documented. + /// + public unsafe void* PlatformCreateWindow; + + /// + /// To be documented. + /// + public unsafe void* PlatformDestroyWindow; + + /// + /// To be documented. + /// + public unsafe void* PlatformShowWindow; + + /// + /// To be documented. + /// + public unsafe void* PlatformSetWindowPos; + + /// + /// To be documented. + /// + public unsafe void* PlatformGetWindowPos; + + /// + /// To be documented. + /// + public unsafe void* PlatformSetWindowSize; + + /// + /// To be documented. + /// + public unsafe void* PlatformGetWindowSize; + + /// + /// To be documented. + /// + public unsafe void* PlatformSetWindowFocus; + + /// + /// To be documented. + /// + public unsafe void* PlatformGetWindowFocus; + + /// + /// To be documented. + /// + public unsafe void* PlatformGetWindowMinimized; + + /// + /// To be documented. + /// + public unsafe void* PlatformSetWindowTitle; + + /// + /// To be documented. + /// + public unsafe void* PlatformSetWindowAlpha; + + /// + /// To be documented. + /// + public unsafe void* PlatformUpdateWindow; + + /// + /// To be documented. + /// + public unsafe void* PlatformRenderWindow; + + /// + /// To be documented. + /// + public unsafe void* PlatformSwapBuffers; + + /// + /// To be documented. + /// + public unsafe void* PlatformGetWindowDpiScale; + + /// + /// To be documented. + /// + public unsafe void* PlatformOnChangedViewport; + + /// + /// To be documented. + /// + public unsafe void* PlatformCreateVkSurface; + + /// + /// To be documented. + /// + public unsafe void* RendererCreateWindow; + + /// + /// To be documented. + /// + public unsafe void* RendererDestroyWindow; + + /// + /// To be documented. + /// + public unsafe void* RendererSetWindowSize; + + /// + /// To be documented. + /// + public unsafe void* RendererRenderWindow; + + /// + /// To be documented. + /// + public unsafe void* RendererSwapBuffers; + + /// + /// To be documented. + /// + public ImVector Monitors; + + /// + /// To be documented. + /// + public ImVector Viewports; + + + /// + /// To be documented. + /// + public unsafe ImGuiPlatformIO(delegate* platformCreatewindow = default, delegate* platformDestroywindow = default, delegate* platformShowwindow = default, delegate* platformSetwindowpos = default, delegate* platformGetwindowpos = default, delegate* platformSetwindowsize = default, delegate* platformGetwindowsize = default, delegate* platformSetwindowfocus = default, delegate* platformGetwindowfocus = default, delegate* platformGetwindowminimized = default, delegate* platformSetwindowtitle = default, delegate* platformSetwindowalpha = default, delegate* platformUpdatewindow = default, delegate* platformRenderwindow = default, delegate* platformSwapbuffers = default, delegate* platformGetwindowdpiscale = default, delegate* platformOnchangedviewport = default, delegate* platformCreatevksurface = default, delegate* rendererCreatewindow = default, delegate* rendererDestroywindow = default, delegate* rendererSetwindowsize = default, delegate* rendererRenderwindow = default, delegate* rendererSwapbuffers = default, ImVector monitors = default, ImVector viewports = default) + { + PlatformCreateWindow = (void*)platformCreatewindow; + PlatformDestroyWindow = (void*)platformDestroywindow; + PlatformShowWindow = (void*)platformShowwindow; + PlatformSetWindowPos = (void*)platformSetwindowpos; + PlatformGetWindowPos = (void*)platformGetwindowpos; + PlatformSetWindowSize = (void*)platformSetwindowsize; + PlatformGetWindowSize = (void*)platformGetwindowsize; + PlatformSetWindowFocus = (void*)platformSetwindowfocus; + PlatformGetWindowFocus = (void*)platformGetwindowfocus; + PlatformGetWindowMinimized = (void*)platformGetwindowminimized; + PlatformSetWindowTitle = (void*)platformSetwindowtitle; + PlatformSetWindowAlpha = (void*)platformSetwindowalpha; + PlatformUpdateWindow = (void*)platformUpdatewindow; + PlatformRenderWindow = (void*)platformRenderwindow; + PlatformSwapBuffers = (void*)platformSwapbuffers; + PlatformGetWindowDpiScale = (void*)platformGetwindowdpiscale; + PlatformOnChangedViewport = (void*)platformOnchangedviewport; + PlatformCreateVkSurface = (void*)platformCreatevksurface; + RendererCreateWindow = (void*)rendererCreatewindow; + RendererDestroyWindow = (void*)rendererDestroywindow; + RendererSetWindowSize = (void*)rendererSetwindowsize; + RendererRenderWindow = (void*)rendererRenderwindow; + RendererSwapBuffers = (void*)rendererSwapbuffers; + Monitors = monitors; + Viewports = viewports; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiPlatformIO* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiPlatformIOPtr : IEquatable + { + public ImGuiPlatformIOPtr(ImGuiPlatformIO* handle) { Handle = handle; } + + public ImGuiPlatformIO* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiPlatformIOPtr Null => new ImGuiPlatformIOPtr(null); + + public ImGuiPlatformIO this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiPlatformIOPtr(ImGuiPlatformIO* handle) => new ImGuiPlatformIOPtr(handle); + + public static implicit operator ImGuiPlatformIO*(ImGuiPlatformIOPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiPlatformIOPtr left, ImGuiPlatformIOPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiPlatformIOPtr left, ImGuiPlatformIOPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiPlatformIOPtr left, ImGuiPlatformIO* right) => left.Handle == right; + + public static bool operator !=(ImGuiPlatformIOPtr left, ImGuiPlatformIO* right) => left.Handle != right; + + public bool Equals(ImGuiPlatformIOPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiPlatformIOPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiPlatformIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public void* PlatformCreateWindow { get => Handle->PlatformCreateWindow; set => Handle->PlatformCreateWindow = value; } + /// + /// To be documented. + /// + public void* PlatformDestroyWindow { get => Handle->PlatformDestroyWindow; set => Handle->PlatformDestroyWindow = value; } + /// + /// To be documented. + /// + public void* PlatformShowWindow { get => Handle->PlatformShowWindow; set => Handle->PlatformShowWindow = value; } + /// + /// To be documented. + /// + public void* PlatformSetWindowPos { get => Handle->PlatformSetWindowPos; set => Handle->PlatformSetWindowPos = value; } + /// + /// To be documented. + /// + public void* PlatformGetWindowPos { get => Handle->PlatformGetWindowPos; set => Handle->PlatformGetWindowPos = value; } + /// + /// To be documented. + /// + public void* PlatformSetWindowSize { get => Handle->PlatformSetWindowSize; set => Handle->PlatformSetWindowSize = value; } + /// + /// To be documented. + /// + public void* PlatformGetWindowSize { get => Handle->PlatformGetWindowSize; set => Handle->PlatformGetWindowSize = value; } + /// + /// To be documented. + /// + public void* PlatformSetWindowFocus { get => Handle->PlatformSetWindowFocus; set => Handle->PlatformSetWindowFocus = value; } + /// + /// To be documented. + /// + public void* PlatformGetWindowFocus { get => Handle->PlatformGetWindowFocus; set => Handle->PlatformGetWindowFocus = value; } + /// + /// To be documented. + /// + public void* PlatformGetWindowMinimized { get => Handle->PlatformGetWindowMinimized; set => Handle->PlatformGetWindowMinimized = value; } + /// + /// To be documented. + /// + public void* PlatformSetWindowTitle { get => Handle->PlatformSetWindowTitle; set => Handle->PlatformSetWindowTitle = value; } + /// + /// To be documented. + /// + public void* PlatformSetWindowAlpha { get => Handle->PlatformSetWindowAlpha; set => Handle->PlatformSetWindowAlpha = value; } + /// + /// To be documented. + /// + public void* PlatformUpdateWindow { get => Handle->PlatformUpdateWindow; set => Handle->PlatformUpdateWindow = value; } + /// + /// To be documented. + /// + public void* PlatformRenderWindow { get => Handle->PlatformRenderWindow; set => Handle->PlatformRenderWindow = value; } + /// + /// To be documented. + /// + public void* PlatformSwapBuffers { get => Handle->PlatformSwapBuffers; set => Handle->PlatformSwapBuffers = value; } + /// + /// To be documented. + /// + public void* PlatformGetWindowDpiScale { get => Handle->PlatformGetWindowDpiScale; set => Handle->PlatformGetWindowDpiScale = value; } + /// + /// To be documented. + /// + public void* PlatformOnChangedViewport { get => Handle->PlatformOnChangedViewport; set => Handle->PlatformOnChangedViewport = value; } + /// + /// To be documented. + /// + public void* PlatformCreateVkSurface { get => Handle->PlatformCreateVkSurface; set => Handle->PlatformCreateVkSurface = value; } + /// + /// To be documented. + /// + public void* RendererCreateWindow { get => Handle->RendererCreateWindow; set => Handle->RendererCreateWindow = value; } + /// + /// To be documented. + /// + public void* RendererDestroyWindow { get => Handle->RendererDestroyWindow; set => Handle->RendererDestroyWindow = value; } + /// + /// To be documented. + /// + public void* RendererSetWindowSize { get => Handle->RendererSetWindowSize; set => Handle->RendererSetWindowSize = value; } + /// + /// To be documented. + /// + public void* RendererRenderWindow { get => Handle->RendererRenderWindow; set => Handle->RendererRenderWindow = value; } + /// + /// To be documented. + /// + public void* RendererSwapBuffers { get => Handle->RendererSwapBuffers; set => Handle->RendererSwapBuffers = value; } + /// + /// To be documented. + /// + public ref ImVector Monitors => ref Unsafe.AsRef>(&Handle->Monitors); + /// + /// To be documented. + /// + public ref ImVector Viewports => ref Unsafe.AsRef>(&Handle->Viewports); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformImeData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformImeData.cs new file mode 100644 index 000000000..4e19399df --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformImeData.cs @@ -0,0 +1,128 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// (Optional) Support for IME (Input Method Editor) via the platform_io.Platform_SetImeDataFn() function.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPlatformImeData + { + /// + /// To be documented. + /// + public byte WantVisible; + + /// + /// To be documented. + /// + public Vector2 InputPos; + + /// + /// To be documented. + /// + public float InputLineHeight; + + + /// + /// To be documented. + /// + public unsafe ImGuiPlatformImeData(bool wantVisible = default, Vector2 inputPos = default, float inputLineHeight = default) + { + WantVisible = wantVisible ? (byte)1 : (byte)0; + InputPos = inputPos; + InputLineHeight = inputLineHeight; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiPlatformImeData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiPlatformImeDataPtr : IEquatable + { + public ImGuiPlatformImeDataPtr(ImGuiPlatformImeData* handle) { Handle = handle; } + + public ImGuiPlatformImeData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiPlatformImeDataPtr Null => new ImGuiPlatformImeDataPtr(null); + + public ImGuiPlatformImeData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiPlatformImeDataPtr(ImGuiPlatformImeData* handle) => new ImGuiPlatformImeDataPtr(handle); + + public static implicit operator ImGuiPlatformImeData*(ImGuiPlatformImeDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeData* right) => left.Handle == right; + + public static bool operator !=(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeData* right) => left.Handle != right; + + public bool Equals(ImGuiPlatformImeDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiPlatformImeDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiPlatformImeDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref bool WantVisible => ref Unsafe.AsRef(&Handle->WantVisible); + /// + /// To be documented. + /// + public ref Vector2 InputPos => ref Unsafe.AsRef(&Handle->InputPos); + /// + /// To be documented. + /// + public ref float InputLineHeight => ref Unsafe.AsRef(&Handle->InputLineHeight); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformMonitor.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformMonitor.cs new file mode 100644 index 000000000..7be8f94fb --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPlatformMonitor.cs @@ -0,0 +1,149 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// (Optional) This is required when enabling multi-viewport. Represent the bounds of each connected monitordisplay and their DPI.
+ /// We use this information for multiple DPI support + clamping the position of popups and tooltips so they don't straddle multiple monitors.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPlatformMonitor + { + /// + /// To be documented. + /// + public Vector2 MainPos; + + /// + /// To be documented. + /// + public Vector2 MainSize; + + /// + /// To be documented. + /// + public Vector2 WorkPos; + + /// + /// To be documented. + /// + public Vector2 WorkSize; + + /// + /// To be documented. + /// + public float DpiScale; + + + /// + /// To be documented. + /// + public unsafe ImGuiPlatformMonitor(Vector2 mainPos = default, Vector2 mainSize = default, Vector2 workPos = default, Vector2 workSize = default, float dpiScale = default) + { + MainPos = mainPos; + MainSize = mainSize; + WorkPos = workPos; + WorkSize = workSize; + DpiScale = dpiScale; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiPlatformMonitor* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiPlatformMonitorPtr : IEquatable + { + public ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* handle) { Handle = handle; } + + public ImGuiPlatformMonitor* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiPlatformMonitorPtr Null => new ImGuiPlatformMonitorPtr(null); + + public ImGuiPlatformMonitor this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* handle) => new ImGuiPlatformMonitorPtr(handle); + + public static implicit operator ImGuiPlatformMonitor*(ImGuiPlatformMonitorPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitorPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitorPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitor* right) => left.Handle == right; + + public static bool operator !=(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitor* right) => left.Handle != right; + + public bool Equals(ImGuiPlatformMonitorPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiPlatformMonitorPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiPlatformMonitorPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref Vector2 MainPos => ref Unsafe.AsRef(&Handle->MainPos); + /// + /// To be documented. + /// + public ref Vector2 MainSize => ref Unsafe.AsRef(&Handle->MainSize); + /// + /// To be documented. + /// + public ref Vector2 WorkPos => ref Unsafe.AsRef(&Handle->WorkPos); + /// + /// To be documented. + /// + public ref Vector2 WorkSize => ref Unsafe.AsRef(&Handle->WorkSize); + /// + /// To be documented. + /// + public ref float DpiScale => ref Unsafe.AsRef(&Handle->DpiScale); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPopupData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPopupData.cs new file mode 100644 index 000000000..06c128e99 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPopupData.cs @@ -0,0 +1,178 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Storage for popup stacks (g.OpenPopupStack and g.BeginPopupStack)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPopupData + { + /// + /// To be documented. + /// + public uint PopupId; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* Window; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* SourceWindow; + + /// + /// To be documented. + /// + public int ParentNavLayer; + + /// + /// To be documented. + /// + public int OpenFrameCount; + + /// + /// To be documented. + /// + public uint OpenParentId; + + /// + /// To be documented. + /// + public Vector2 OpenPopupPos; + + /// + /// To be documented. + /// + public Vector2 OpenMousePos; + + + /// + /// To be documented. + /// + public unsafe ImGuiPopupData(uint popupId = default, ImGuiWindowPtr window = default, ImGuiWindowPtr sourceWindow = default, int parentNavLayer = default, int openFrameCount = default, uint openParentId = default, Vector2 openPopupPos = default, Vector2 openMousePos = default) + { + PopupId = popupId; + Window = window; + SourceWindow = sourceWindow; + ParentNavLayer = parentNavLayer; + OpenFrameCount = openFrameCount; + OpenParentId = openParentId; + OpenPopupPos = openPopupPos; + OpenMousePos = openMousePos; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiPopupData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiPopupDataPtr : IEquatable + { + public ImGuiPopupDataPtr(ImGuiPopupData* handle) { Handle = handle; } + + public ImGuiPopupData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiPopupDataPtr Null => new ImGuiPopupDataPtr(null); + + public ImGuiPopupData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiPopupDataPtr(ImGuiPopupData* handle) => new ImGuiPopupDataPtr(handle); + + public static implicit operator ImGuiPopupData*(ImGuiPopupDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiPopupDataPtr left, ImGuiPopupDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiPopupDataPtr left, ImGuiPopupDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiPopupDataPtr left, ImGuiPopupData* right) => left.Handle == right; + + public static bool operator !=(ImGuiPopupDataPtr left, ImGuiPopupData* right) => left.Handle != right; + + public bool Equals(ImGuiPopupDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiPopupDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiPopupDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint PopupId => ref Unsafe.AsRef(&Handle->PopupId); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr SourceWindow => ref Unsafe.AsRef(&Handle->SourceWindow); + /// + /// To be documented. + /// + public ref int ParentNavLayer => ref Unsafe.AsRef(&Handle->ParentNavLayer); + /// + /// To be documented. + /// + public ref int OpenFrameCount => ref Unsafe.AsRef(&Handle->OpenFrameCount); + /// + /// To be documented. + /// + public ref uint OpenParentId => ref Unsafe.AsRef(&Handle->OpenParentId); + /// + /// To be documented. + /// + public ref Vector2 OpenPopupPos => ref Unsafe.AsRef(&Handle->OpenPopupPos); + /// + /// To be documented. + /// + public ref Vector2 OpenMousePos => ref Unsafe.AsRef(&Handle->OpenMousePos); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPtrOrIndex.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPtrOrIndex.cs new file mode 100644 index 000000000..11d8c1ce2 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiPtrOrIndex.cs @@ -0,0 +1,118 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPtrOrIndex + { + /// + /// To be documented. + /// + public unsafe void* Ptr; + + /// + /// To be documented. + /// + public int Index; + + + /// + /// To be documented. + /// + public unsafe ImGuiPtrOrIndex(void* ptr = default, int index = default) + { + Ptr = ptr; + Index = index; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiPtrOrIndex* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiPtrOrIndexPtr : IEquatable + { + public ImGuiPtrOrIndexPtr(ImGuiPtrOrIndex* handle) { Handle = handle; } + + public ImGuiPtrOrIndex* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiPtrOrIndexPtr Null => new ImGuiPtrOrIndexPtr(null); + + public ImGuiPtrOrIndex this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiPtrOrIndexPtr(ImGuiPtrOrIndex* handle) => new ImGuiPtrOrIndexPtr(handle); + + public static implicit operator ImGuiPtrOrIndex*(ImGuiPtrOrIndexPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndexPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndexPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndex* right) => left.Handle == right; + + public static bool operator !=(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndex* right) => left.Handle != right; + + public bool Equals(ImGuiPtrOrIndexPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiPtrOrIndexPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiPtrOrIndexPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public void* Ptr { get => Handle->Ptr; set => Handle->Ptr = value; } + /// + /// To be documented. + /// + public ref int Index => ref Unsafe.AsRef(&Handle->Index); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiSettingsHandler.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiSettingsHandler.cs new file mode 100644 index 000000000..d89b34386 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiSettingsHandler.cs @@ -0,0 +1,188 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiSettingsHandler + { + /// + /// To be documented. + /// + public unsafe byte* TypeName; + + /// + /// To be documented. + /// + public uint TypeHash; + + /// + /// To be documented. + /// + public unsafe void* ClearAllFn; + + /// + /// To be documented. + /// + public unsafe void* ReadInitFn; + + /// + /// To be documented. + /// + public unsafe void* ReadOpenFn; + + /// + /// To be documented. + /// + public unsafe void* ReadLineFn; + + /// + /// To be documented. + /// + public unsafe void* ApplyAllFn; + + /// + /// To be documented. + /// + public unsafe void* WriteAllFn; + + /// + /// To be documented. + /// + public unsafe void* UserData; + + + /// + /// To be documented. + /// + public unsafe ImGuiSettingsHandler(byte* typeName = default, uint typeHash = default, delegate* clearAllFn = default, delegate* readInitFn = default, delegate* readOpenFn = default, delegate* readLineFn = default, delegate* applyAllFn = default, delegate* writeAllFn = default, void* userData = default) + { + TypeName = typeName; + TypeHash = typeHash; + ClearAllFn = (void*)clearAllFn; + ReadInitFn = (void*)readInitFn; + ReadOpenFn = (void*)readOpenFn; + ReadLineFn = (void*)readLineFn; + ApplyAllFn = (void*)applyAllFn; + WriteAllFn = (void*)writeAllFn; + UserData = userData; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiSettingsHandler* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiSettingsHandlerPtr : IEquatable + { + public ImGuiSettingsHandlerPtr(ImGuiSettingsHandler* handle) { Handle = handle; } + + public ImGuiSettingsHandler* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiSettingsHandlerPtr Null => new ImGuiSettingsHandlerPtr(null); + + public ImGuiSettingsHandler this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiSettingsHandlerPtr(ImGuiSettingsHandler* handle) => new ImGuiSettingsHandlerPtr(handle); + + public static implicit operator ImGuiSettingsHandler*(ImGuiSettingsHandlerPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandlerPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandlerPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandler* right) => left.Handle == right; + + public static bool operator !=(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandler* right) => left.Handle != right; + + public bool Equals(ImGuiSettingsHandlerPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiSettingsHandlerPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiSettingsHandlerPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public byte* TypeName { get => Handle->TypeName; set => Handle->TypeName = value; } + /// + /// To be documented. + /// + public ref uint TypeHash => ref Unsafe.AsRef(&Handle->TypeHash); + /// + /// To be documented. + /// + public void* ClearAllFn { get => Handle->ClearAllFn; set => Handle->ClearAllFn = value; } + /// + /// To be documented. + /// + public void* ReadInitFn { get => Handle->ReadInitFn; set => Handle->ReadInitFn = value; } + /// + /// To be documented. + /// + public void* ReadOpenFn { get => Handle->ReadOpenFn; set => Handle->ReadOpenFn = value; } + /// + /// To be documented. + /// + public void* ReadLineFn { get => Handle->ReadLineFn; set => Handle->ReadLineFn = value; } + /// + /// To be documented. + /// + public void* ApplyAllFn { get => Handle->ApplyAllFn; set => Handle->ApplyAllFn = value; } + /// + /// To be documented. + /// + public void* WriteAllFn { get => Handle->WriteAllFn; set => Handle->WriteAllFn = value; } + /// + /// To be documented. + /// + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiShrinkWidthItem.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiShrinkWidthItem.cs new file mode 100644 index 000000000..9eea9089c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiShrinkWidthItem.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiShrinkWidthItem + { + /// + /// To be documented. + /// + public int Index; + + /// + /// To be documented. + /// + public float Width; + + /// + /// To be documented. + /// + public float InitialWidth; + + + /// + /// To be documented. + /// + public unsafe ImGuiShrinkWidthItem(int index = default, float width = default, float initialWidth = default) + { + Index = index; + Width = width; + InitialWidth = initialWidth; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiShrinkWidthItemPtr : IEquatable + { + public ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* handle) { Handle = handle; } + + public ImGuiShrinkWidthItem* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiShrinkWidthItemPtr Null => new ImGuiShrinkWidthItemPtr(null); + + public ImGuiShrinkWidthItem this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* handle) => new ImGuiShrinkWidthItemPtr(handle); + + public static implicit operator ImGuiShrinkWidthItem*(ImGuiShrinkWidthItemPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItemPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItemPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItem* right) => left.Handle == right; + + public static bool operator !=(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItem* right) => left.Handle != right; + + public bool Equals(ImGuiShrinkWidthItemPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiShrinkWidthItemPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiShrinkWidthItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref int Index => ref Unsafe.AsRef(&Handle->Index); + /// + /// To be documented. + /// + public ref float Width => ref Unsafe.AsRef(&Handle->Width); + /// + /// To be documented. + /// + public ref float InitialWidth => ref Unsafe.AsRef(&Handle->InitialWidth); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiSizeCallbackData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiSizeCallbackData.cs new file mode 100644 index 000000000..02c493228 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiSizeCallbackData.cs @@ -0,0 +1,61 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin().
+ /// NB: For basic minmax size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiSizeCallbackData + { + /// + /// To be documented. + /// + public unsafe void* UserData; + + /// + /// To be documented. + /// + public Vector2 Pos; + + /// + /// To be documented. + /// + public Vector2 CurrentSize; + + /// + /// To be documented. + /// + public Vector2 DesiredSize; + + + /// + /// To be documented. + /// + public unsafe ImGuiSizeCallbackData(void* userData = default, Vector2 pos = default, Vector2 currentSize = default, Vector2 desiredSize = default) + { + UserData = userData; + Pos = pos; + CurrentSize = currentSize; + DesiredSize = desiredSize; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackLevelInfo.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackLevelInfo.cs new file mode 100644 index 000000000..a3cacb8f5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackLevelInfo.cs @@ -0,0 +1,341 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStackLevelInfo + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public byte QueryFrameCount; + + /// + /// To be documented. + /// + public byte QuerySuccess; + + /// + /// To be documented. + /// + public ImGuiDataType DataType; + + /// + /// To be documented. + /// + public byte Desc_0; + public byte Desc_1; + public byte Desc_2; + public byte Desc_3; + public byte Desc_4; + public byte Desc_5; + public byte Desc_6; + public byte Desc_7; + public byte Desc_8; + public byte Desc_9; + public byte Desc_10; + public byte Desc_11; + public byte Desc_12; + public byte Desc_13; + public byte Desc_14; + public byte Desc_15; + public byte Desc_16; + public byte Desc_17; + public byte Desc_18; + public byte Desc_19; + public byte Desc_20; + public byte Desc_21; + public byte Desc_22; + public byte Desc_23; + public byte Desc_24; + public byte Desc_25; + public byte Desc_26; + public byte Desc_27; + public byte Desc_28; + public byte Desc_29; + public byte Desc_30; + public byte Desc_31; + public byte Desc_32; + public byte Desc_33; + public byte Desc_34; + public byte Desc_35; + public byte Desc_36; + public byte Desc_37; + public byte Desc_38; + public byte Desc_39; + public byte Desc_40; + public byte Desc_41; + public byte Desc_42; + public byte Desc_43; + public byte Desc_44; + public byte Desc_45; + public byte Desc_46; + public byte Desc_47; + public byte Desc_48; + public byte Desc_49; + public byte Desc_50; + public byte Desc_51; + public byte Desc_52; + public byte Desc_53; + public byte Desc_54; + public byte Desc_55; + public byte Desc_56; + + + /// + /// To be documented. + /// + public unsafe ImGuiStackLevelInfo(uint id = default, byte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, byte* desc = default) + { + ID = id; + QueryFrameCount = queryFrameCount; + QuerySuccess = querySuccess ? (byte)1 : (byte)0; + DataType = dataType; + if (desc != default(byte*)) + { + Desc_0 = desc[0]; + Desc_1 = desc[1]; + Desc_2 = desc[2]; + Desc_3 = desc[3]; + Desc_4 = desc[4]; + Desc_5 = desc[5]; + Desc_6 = desc[6]; + Desc_7 = desc[7]; + Desc_8 = desc[8]; + Desc_9 = desc[9]; + Desc_10 = desc[10]; + Desc_11 = desc[11]; + Desc_12 = desc[12]; + Desc_13 = desc[13]; + Desc_14 = desc[14]; + Desc_15 = desc[15]; + Desc_16 = desc[16]; + Desc_17 = desc[17]; + Desc_18 = desc[18]; + Desc_19 = desc[19]; + Desc_20 = desc[20]; + Desc_21 = desc[21]; + Desc_22 = desc[22]; + Desc_23 = desc[23]; + Desc_24 = desc[24]; + Desc_25 = desc[25]; + Desc_26 = desc[26]; + Desc_27 = desc[27]; + Desc_28 = desc[28]; + Desc_29 = desc[29]; + Desc_30 = desc[30]; + Desc_31 = desc[31]; + Desc_32 = desc[32]; + Desc_33 = desc[33]; + Desc_34 = desc[34]; + Desc_35 = desc[35]; + Desc_36 = desc[36]; + Desc_37 = desc[37]; + Desc_38 = desc[38]; + Desc_39 = desc[39]; + Desc_40 = desc[40]; + Desc_41 = desc[41]; + Desc_42 = desc[42]; + Desc_43 = desc[43]; + Desc_44 = desc[44]; + Desc_45 = desc[45]; + Desc_46 = desc[46]; + Desc_47 = desc[47]; + Desc_48 = desc[48]; + Desc_49 = desc[49]; + Desc_50 = desc[50]; + Desc_51 = desc[51]; + Desc_52 = desc[52]; + Desc_53 = desc[53]; + Desc_54 = desc[54]; + Desc_55 = desc[55]; + Desc_56 = desc[56]; + } + } + + /// + /// To be documented. + /// + public unsafe ImGuiStackLevelInfo(uint id = default, byte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, Span desc = default) + { + ID = id; + QueryFrameCount = queryFrameCount; + QuerySuccess = querySuccess ? (byte)1 : (byte)0; + DataType = dataType; + if (desc != default(Span)) + { + Desc_0 = desc[0]; + Desc_1 = desc[1]; + Desc_2 = desc[2]; + Desc_3 = desc[3]; + Desc_4 = desc[4]; + Desc_5 = desc[5]; + Desc_6 = desc[6]; + Desc_7 = desc[7]; + Desc_8 = desc[8]; + Desc_9 = desc[9]; + Desc_10 = desc[10]; + Desc_11 = desc[11]; + Desc_12 = desc[12]; + Desc_13 = desc[13]; + Desc_14 = desc[14]; + Desc_15 = desc[15]; + Desc_16 = desc[16]; + Desc_17 = desc[17]; + Desc_18 = desc[18]; + Desc_19 = desc[19]; + Desc_20 = desc[20]; + Desc_21 = desc[21]; + Desc_22 = desc[22]; + Desc_23 = desc[23]; + Desc_24 = desc[24]; + Desc_25 = desc[25]; + Desc_26 = desc[26]; + Desc_27 = desc[27]; + Desc_28 = desc[28]; + Desc_29 = desc[29]; + Desc_30 = desc[30]; + Desc_31 = desc[31]; + Desc_32 = desc[32]; + Desc_33 = desc[33]; + Desc_34 = desc[34]; + Desc_35 = desc[35]; + Desc_36 = desc[36]; + Desc_37 = desc[37]; + Desc_38 = desc[38]; + Desc_39 = desc[39]; + Desc_40 = desc[40]; + Desc_41 = desc[41]; + Desc_42 = desc[42]; + Desc_43 = desc[43]; + Desc_44 = desc[44]; + Desc_45 = desc[45]; + Desc_46 = desc[46]; + Desc_47 = desc[47]; + Desc_48 = desc[48]; + Desc_49 = desc[49]; + Desc_50 = desc[50]; + Desc_51 = desc[51]; + Desc_52 = desc[52]; + Desc_53 = desc[53]; + Desc_54 = desc[54]; + Desc_55 = desc[55]; + Desc_56 = desc[56]; + } + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiStackLevelInfo* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiStackLevelInfoPtr : IEquatable + { + public ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* handle) { Handle = handle; } + + public ImGuiStackLevelInfo* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiStackLevelInfoPtr Null => new ImGuiStackLevelInfoPtr(null); + + public ImGuiStackLevelInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* handle) => new ImGuiStackLevelInfoPtr(handle); + + public static implicit operator ImGuiStackLevelInfo*(ImGuiStackLevelInfoPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfoPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfoPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfo* right) => left.Handle == right; + + public static bool operator !=(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfo* right) => left.Handle != right; + + public bool Equals(ImGuiStackLevelInfoPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiStackLevelInfoPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiStackLevelInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref byte QueryFrameCount => ref Unsafe.AsRef(&Handle->QueryFrameCount); + /// + /// To be documented. + /// + public ref bool QuerySuccess => ref Unsafe.AsRef(&Handle->QuerySuccess); + /// + /// To be documented. + /// + public ref ImGuiDataType DataType => ref Unsafe.AsRef(&Handle->DataType); + /// + /// To be documented. + /// + public unsafe Span Desc + + { + get + { + return new Span(&Handle->Desc_0, 57); + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackSizes.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackSizes.cs new file mode 100644 index 000000000..5766263fe --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackSizes.cs @@ -0,0 +1,169 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStackSizes + { + /// + /// To be documented. + /// + public short SizeOfIDStack; + + /// + /// To be documented. + /// + public short SizeOfColorStack; + + /// + /// To be documented. + /// + public short SizeOfStyleVarStack; + + /// + /// To be documented. + /// + public short SizeOfFontStack; + + /// + /// To be documented. + /// + public short SizeOfFocusScopeStack; + + /// + /// To be documented. + /// + public short SizeOfGroupStack; + + /// + /// To be documented. + /// + public short SizeOfItemFlagsStack; + + /// + /// To be documented. + /// + public short SizeOfBeginPopupStack; + + /// + /// To be documented. + /// + public short SizeOfDisabledStack; + + + /// + /// To be documented. + /// + public unsafe ImGuiStackSizes(short sizeOfIdStack = default, short sizeOfColorStack = default, short sizeOfStyleVarStack = default, short sizeOfFontStack = default, short sizeOfFocusScopeStack = default, short sizeOfGroupStack = default, short sizeOfItemFlagsStack = default, short sizeOfBeginPopupStack = default, short sizeOfDisabledStack = default) + { + SizeOfIDStack = sizeOfIdStack; + SizeOfColorStack = sizeOfColorStack; + SizeOfStyleVarStack = sizeOfStyleVarStack; + SizeOfFontStack = sizeOfFontStack; + SizeOfFocusScopeStack = sizeOfFocusScopeStack; + SizeOfGroupStack = sizeOfGroupStack; + SizeOfItemFlagsStack = sizeOfItemFlagsStack; + SizeOfBeginPopupStack = sizeOfBeginPopupStack; + SizeOfDisabledStack = sizeOfDisabledStack; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiStackSizesPtr : IEquatable + { + public ImGuiStackSizesPtr(ImGuiStackSizes* handle) { Handle = handle; } + + public ImGuiStackSizes* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiStackSizesPtr Null => new ImGuiStackSizesPtr(null); + + public ImGuiStackSizes this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiStackSizesPtr(ImGuiStackSizes* handle) => new ImGuiStackSizesPtr(handle); + + public static implicit operator ImGuiStackSizes*(ImGuiStackSizesPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiStackSizesPtr left, ImGuiStackSizesPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiStackSizesPtr left, ImGuiStackSizesPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiStackSizesPtr left, ImGuiStackSizes* right) => left.Handle == right; + + public static bool operator !=(ImGuiStackSizesPtr left, ImGuiStackSizes* right) => left.Handle != right; + + public bool Equals(ImGuiStackSizesPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiStackSizesPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiStackSizesPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref short SizeOfIDStack => ref Unsafe.AsRef(&Handle->SizeOfIDStack); + /// + /// To be documented. + /// + public ref short SizeOfColorStack => ref Unsafe.AsRef(&Handle->SizeOfColorStack); + /// + /// To be documented. + /// + public ref short SizeOfStyleVarStack => ref Unsafe.AsRef(&Handle->SizeOfStyleVarStack); + /// + /// To be documented. + /// + public ref short SizeOfFontStack => ref Unsafe.AsRef(&Handle->SizeOfFontStack); + /// + /// To be documented. + /// + public ref short SizeOfFocusScopeStack => ref Unsafe.AsRef(&Handle->SizeOfFocusScopeStack); + /// + /// To be documented. + /// + public ref short SizeOfGroupStack => ref Unsafe.AsRef(&Handle->SizeOfGroupStack); + /// + /// To be documented. + /// + public ref short SizeOfItemFlagsStack => ref Unsafe.AsRef(&Handle->SizeOfItemFlagsStack); + /// + /// To be documented. + /// + public ref short SizeOfBeginPopupStack => ref Unsafe.AsRef(&Handle->SizeOfBeginPopupStack); + /// + /// To be documented. + /// + public ref short SizeOfDisabledStack => ref Unsafe.AsRef(&Handle->SizeOfDisabledStack); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackTool.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackTool.cs new file mode 100644 index 000000000..c6f535f2c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStackTool.cs @@ -0,0 +1,139 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStackTool + { + /// + /// To be documented. + /// + public int LastActiveFrame; + + /// + /// To be documented. + /// + public int StackLevel; + + /// + /// To be documented. + /// + public uint QueryId; + + /// + /// To be documented. + /// + public ImVector Results; + + /// + /// To be documented. + /// + public byte CopyToClipboardOnCtrlC; + + /// + /// To be documented. + /// + public float CopyToClipboardLastTime; + + + /// + /// To be documented. + /// + public unsafe ImGuiStackTool(int lastActiveFrame = default, int stackLevel = default, uint queryId = default, ImVector results = default, bool copyToClipboardOnCtrlC = default, float copyToClipboardLastTime = default) + { + LastActiveFrame = lastActiveFrame; + StackLevel = stackLevel; + QueryId = queryId; + Results = results; + CopyToClipboardOnCtrlC = copyToClipboardOnCtrlC ? (byte)1 : (byte)0; + CopyToClipboardLastTime = copyToClipboardLastTime; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiStackToolPtr : IEquatable + { + public ImGuiStackToolPtr(ImGuiStackTool* handle) { Handle = handle; } + + public ImGuiStackTool* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiStackToolPtr Null => new ImGuiStackToolPtr(null); + + public ImGuiStackTool this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiStackToolPtr(ImGuiStackTool* handle) => new ImGuiStackToolPtr(handle); + + public static implicit operator ImGuiStackTool*(ImGuiStackToolPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiStackToolPtr left, ImGuiStackToolPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiStackToolPtr left, ImGuiStackToolPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiStackToolPtr left, ImGuiStackTool* right) => left.Handle == right; + + public static bool operator !=(ImGuiStackToolPtr left, ImGuiStackTool* right) => left.Handle != right; + + public bool Equals(ImGuiStackToolPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiStackToolPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiStackToolPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref int LastActiveFrame => ref Unsafe.AsRef(&Handle->LastActiveFrame); + /// + /// To be documented. + /// + public ref int StackLevel => ref Unsafe.AsRef(&Handle->StackLevel); + /// + /// To be documented. + /// + public ref uint QueryId => ref Unsafe.AsRef(&Handle->QueryId); + /// + /// To be documented. + /// + public ref ImVector Results => ref Unsafe.AsRef>(&Handle->Results); + /// + /// To be documented. + /// + public ref bool CopyToClipboardOnCtrlC => ref Unsafe.AsRef(&Handle->CopyToClipboardOnCtrlC); + /// + /// To be documented. + /// + public ref float CopyToClipboardLastTime => ref Unsafe.AsRef(&Handle->CopyToClipboardLastTime); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStorage.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStorage.cs new file mode 100644 index 000000000..72a5966ac --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStorage.cs @@ -0,0 +1,544 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: Key->Value storage
+ /// Typically you don't have to worry about this since a storage is held within each Window.
+ /// We use it to e.g. store collapse state for a tree (Int 01)
+ /// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame)
+ /// You can use it as custom user storage for temporary values. Declare your own storage if, for example:
+ /// - You want to manipulate the openclose state of a particular sub-tree in your interface (tree node uses Int 01 to store their state).
+ /// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient)
+ /// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStorage + { + /// + /// To be documented. + /// + public ImVector Data; + + + /// + /// To be documented. + /// + public unsafe ImGuiStorage(ImVector data = default) + { + Data = data; + } + + + /// + /// To be documented. + /// + public unsafe void BuildSortByKey() + { + fixed (ImGuiStorage* @this = &this) + { + ImGui.BuildSortByKeyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + fixed (ImGuiStorage* @this = &this) + { + ImGui.ClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool GetBool(uint key, bool defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + byte ret = ImGui.GetBoolNative(@this, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool GetBool(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + byte ret = ImGui.GetBoolNative(@this, key, (byte)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool* GetBoolRef(uint key, bool defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + bool* ret = ImGui.GetBoolRefNative(@this, key, defaultVal ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool* GetBoolRef(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + bool* ret = ImGui.GetBoolRefNative(@this, key, (byte)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float GetFloat(uint key, float defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + float ret = ImGui.GetFloatNative(@this, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float GetFloat(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + float ret = ImGui.GetFloatNative(@this, key, (float)(0.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float* GetFloatRef(uint key, float defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + float* ret = ImGui.GetFloatRefNative(@this, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float* GetFloatRef(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + float* ret = ImGui.GetFloatRefNative(@this, key, (float)(0.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetInt(uint key, int defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + int ret = ImGui.GetIntNative(@this, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetInt(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + int ret = ImGui.GetIntNative(@this, key, (int)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int* GetIntRef(uint key, int defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + int* ret = ImGui.GetIntRefNative(@this, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int* GetIntRef(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + int* ret = ImGui.GetIntRefNative(@this, key, (int)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void* GetVoidPtr(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + void* ret = ImGui.GetVoidPtrNative(@this, key); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void** GetVoidPtrRef(uint key, void* defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + void** ret = ImGui.GetVoidPtrRefNative(@this, key, defaultVal); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void** GetVoidPtrRef(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + void** ret = ImGui.GetVoidPtrRefNative(@this, key, (void*)(default)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void SetAllInt(int val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGui.SetAllIntNative(@this, val); + } + } + + /// + /// To be documented. + /// + public unsafe void SetBool(uint key, bool val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGui.SetBoolNative(@this, key, val ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public unsafe void SetFloat(uint key, float val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGui.SetFloatNative(@this, key, val); + } + } + + /// + /// To be documented. + /// + public unsafe void SetInt(uint key, int val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGui.SetIntNative(@this, key, val); + } + } + + /// + /// To be documented. + /// + public unsafe void SetVoidPtr(uint key, void* val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGui.SetVoidPtrNative(@this, key, val); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiStoragePtr : IEquatable + { + public ImGuiStoragePtr(ImGuiStorage* handle) { Handle = handle; } + + public ImGuiStorage* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiStoragePtr Null => new ImGuiStoragePtr(null); + + public ImGuiStorage this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiStoragePtr(ImGuiStorage* handle) => new ImGuiStoragePtr(handle); + + public static implicit operator ImGuiStorage*(ImGuiStoragePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiStoragePtr left, ImGuiStoragePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiStoragePtr left, ImGuiStoragePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiStoragePtr left, ImGuiStorage* right) => left.Handle == right; + + public static bool operator !=(ImGuiStoragePtr left, ImGuiStorage* right) => left.Handle != right; + + public bool Equals(ImGuiStoragePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiStoragePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiStoragePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Data => ref Unsafe.AsRef>(&Handle->Data); + /// + /// To be documented. + /// + public unsafe void BuildSortByKey() + { + ImGui.BuildSortByKeyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + ImGui.ClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool GetBool(uint key, bool defaultVal) + { + byte ret = ImGui.GetBoolNative(Handle, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool GetBool(uint key) + { + byte ret = ImGui.GetBoolNative(Handle, key, (byte)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool* GetBoolRef(uint key, bool defaultVal) + { + bool* ret = ImGui.GetBoolRefNative(Handle, key, defaultVal ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool* GetBoolRef(uint key) + { + bool* ret = ImGui.GetBoolRefNative(Handle, key, (byte)(0)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float GetFloat(uint key, float defaultVal) + { + float ret = ImGui.GetFloatNative(Handle, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float GetFloat(uint key) + { + float ret = ImGui.GetFloatNative(Handle, key, (float)(0.0f)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float* GetFloatRef(uint key, float defaultVal) + { + float* ret = ImGui.GetFloatRefNative(Handle, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float* GetFloatRef(uint key) + { + float* ret = ImGui.GetFloatRefNative(Handle, key, (float)(0.0f)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int GetInt(uint key, int defaultVal) + { + int ret = ImGui.GetIntNative(Handle, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int GetInt(uint key) + { + int ret = ImGui.GetIntNative(Handle, key, (int)(0)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int* GetIntRef(uint key, int defaultVal) + { + int* ret = ImGui.GetIntRefNative(Handle, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int* GetIntRef(uint key) + { + int* ret = ImGui.GetIntRefNative(Handle, key, (int)(0)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void* GetVoidPtr(uint key) + { + void* ret = ImGui.GetVoidPtrNative(Handle, key); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void** GetVoidPtrRef(uint key, void* defaultVal) + { + void** ret = ImGui.GetVoidPtrRefNative(Handle, key, defaultVal); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void** GetVoidPtrRef(uint key) + { + void** ret = ImGui.GetVoidPtrRefNative(Handle, key, (void*)(default)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void SetAllInt(int val) + { + ImGui.SetAllIntNative(Handle, val); + } + + /// + /// To be documented. + /// + public unsafe void SetBool(uint key, bool val) + { + ImGui.SetBoolNative(Handle, key, val ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public unsafe void SetFloat(uint key, float val) + { + ImGui.SetFloatNative(Handle, key, val); + } + + /// + /// To be documented. + /// + public unsafe void SetInt(uint key, int val) + { + ImGui.SetIntNative(Handle, key, val); + } + + /// + /// To be documented. + /// + public unsafe void SetVoidPtr(uint key, void* val) + { + ImGui.SetVoidPtrNative(Handle, key, val); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStoragePair.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStoragePair.cs new file mode 100644 index 000000000..5a91621f5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStoragePair.cs @@ -0,0 +1,156 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// [Internal] Key+Value for ImGuiStorage
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStoragePair + { + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Explicit)] + public partial struct ImGuiStoragePairUnion + { + /// + /// To be documented. + /// + [FieldOffset(0)] + public int ValI; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public float ValF; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public unsafe void* ValP; + + + /// + /// To be documented. + /// + public unsafe ImGuiStoragePairUnion(int valI = default, float valF = default, void* valP = default) + { + ValI = valI; + ValF = valF; + ValP = valP; + } + + + } + + /// + /// To be documented. + /// + public uint Key; + + /// + /// To be documented. + /// + public ImGuiStoragePairUnion Union; + + + /// + /// To be documented. + /// + public unsafe ImGuiStoragePair(uint key = default, ImGuiStoragePairUnion union = default) + { + Key = key; + Union = union; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiStoragePair* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiStoragePairPtr : IEquatable + { + public ImGuiStoragePairPtr(ImGuiStoragePair* handle) { Handle = handle; } + + public ImGuiStoragePair* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiStoragePairPtr Null => new ImGuiStoragePairPtr(null); + + public ImGuiStoragePair this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiStoragePairPtr(ImGuiStoragePair* handle) => new ImGuiStoragePairPtr(handle); + + public static implicit operator ImGuiStoragePair*(ImGuiStoragePairPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiStoragePairPtr left, ImGuiStoragePairPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiStoragePairPtr left, ImGuiStoragePairPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiStoragePairPtr left, ImGuiStoragePair* right) => left.Handle == right; + + public static bool operator !=(ImGuiStoragePairPtr left, ImGuiStoragePair* right) => left.Handle != right; + + public bool Equals(ImGuiStoragePairPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiStoragePairPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiStoragePairPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint Key => ref Unsafe.AsRef(&Handle->Key); + /// + /// To be documented. + /// + public ref ImGuiStoragePair.ImGuiStoragePairUnion Union => ref Unsafe.AsRef(&Handle->Union); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStyle.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStyle.cs new file mode 100644 index 000000000..155d259a9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStyle.cs @@ -0,0 +1,764 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStyle + { + /// + /// To be documented. + /// + public float Alpha; + + /// + /// To be documented. + /// + public float DisabledAlpha; + + /// + /// To be documented. + /// + public Vector2 WindowPadding; + + /// + /// To be documented. + /// + public float WindowRounding; + + /// + /// To be documented. + /// + public float WindowBorderSize; + + /// + /// To be documented. + /// + public Vector2 WindowMinSize; + + /// + /// To be documented. + /// + public Vector2 WindowTitleAlign; + + /// + /// To be documented. + /// + public ImGuiDir WindowMenuButtonPosition; + + /// + /// To be documented. + /// + public float ChildRounding; + + /// + /// To be documented. + /// + public float ChildBorderSize; + + /// + /// To be documented. + /// + public float PopupRounding; + + /// + /// To be documented. + /// + public float PopupBorderSize; + + /// + /// To be documented. + /// + public Vector2 FramePadding; + + /// + /// To be documented. + /// + public float FrameRounding; + + /// + /// To be documented. + /// + public float FrameBorderSize; + + /// + /// To be documented. + /// + public Vector2 ItemSpacing; + + /// + /// To be documented. + /// + public Vector2 ItemInnerSpacing; + + /// + /// To be documented. + /// + public Vector2 CellPadding; + + /// + /// To be documented. + /// + public Vector2 TouchExtraPadding; + + /// + /// To be documented. + /// + public float IndentSpacing; + + /// + /// To be documented. + /// + public float ColumnsMinSpacing; + + /// + /// To be documented. + /// + public float ScrollbarSize; + + /// + /// To be documented. + /// + public float ScrollbarRounding; + + /// + /// To be documented. + /// + public float GrabMinSize; + + /// + /// To be documented. + /// + public float GrabRounding; + + /// + /// To be documented. + /// + public float LogSliderDeadzone; + + /// + /// To be documented. + /// + public float TabRounding; + + /// + /// To be documented. + /// + public float TabBorderSize; + + /// + /// To be documented. + /// + public float TabMinWidthForCloseButton; + + /// + /// To be documented. + /// + public ImGuiDir ColorButtonPosition; + + /// + /// To be documented. + /// + public Vector2 ButtonTextAlign; + + /// + /// To be documented. + /// + public Vector2 SelectableTextAlign; + + /// + /// To be documented. + /// + public Vector2 DisplayWindowPadding; + + /// + /// To be documented. + /// + public Vector2 DisplaySafeAreaPadding; + + /// + /// To be documented. + /// + public float MouseCursorScale; + + /// + /// To be documented. + /// + public byte AntiAliasedLines; + + /// + /// To be documented. + /// + public byte AntiAliasedLinesUseTex; + + /// + /// To be documented. + /// + public byte AntiAliasedFill; + + /// + /// To be documented. + /// + public float CurveTessellationTol; + + /// + /// To be documented. + /// + public float CircleTessellationMaxError; + + /// + /// To be documented. + /// + public Vector4 Colors_0; + public Vector4 Colors_1; + public Vector4 Colors_2; + public Vector4 Colors_3; + public Vector4 Colors_4; + public Vector4 Colors_5; + public Vector4 Colors_6; + public Vector4 Colors_7; + public Vector4 Colors_8; + public Vector4 Colors_9; + public Vector4 Colors_10; + public Vector4 Colors_11; + public Vector4 Colors_12; + public Vector4 Colors_13; + public Vector4 Colors_14; + public Vector4 Colors_15; + public Vector4 Colors_16; + public Vector4 Colors_17; + public Vector4 Colors_18; + public Vector4 Colors_19; + public Vector4 Colors_20; + public Vector4 Colors_21; + public Vector4 Colors_22; + public Vector4 Colors_23; + public Vector4 Colors_24; + public Vector4 Colors_25; + public Vector4 Colors_26; + public Vector4 Colors_27; + public Vector4 Colors_28; + public Vector4 Colors_29; + public Vector4 Colors_30; + public Vector4 Colors_31; + public Vector4 Colors_32; + public Vector4 Colors_33; + public Vector4 Colors_34; + public Vector4 Colors_35; + public Vector4 Colors_36; + public Vector4 Colors_37; + public Vector4 Colors_38; + public Vector4 Colors_39; + public Vector4 Colors_40; + public Vector4 Colors_41; + public Vector4 Colors_42; + public Vector4 Colors_43; + public Vector4 Colors_44; + public Vector4 Colors_45; + public Vector4 Colors_46; + public Vector4 Colors_47; + public Vector4 Colors_48; + public Vector4 Colors_49; + public Vector4 Colors_50; + public Vector4 Colors_51; + public Vector4 Colors_52; + public Vector4 Colors_53; + public Vector4 Colors_54; + + + /// + /// To be documented. + /// + public unsafe ImGuiStyle(float alpha = default, float disabledAlpha = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, Vector2 windowMinSize = default, Vector2 windowTitleAlign = default, ImGuiDir windowMenuButtonPosition = default, float childRounding = default, float childBorderSize = default, float popupRounding = default, float popupBorderSize = default, Vector2 framePadding = default, float frameRounding = default, float frameBorderSize = default, Vector2 itemSpacing = default, Vector2 itemInnerSpacing = default, Vector2 cellPadding = default, Vector2 touchExtraPadding = default, float indentSpacing = default, float columnsMinSpacing = default, float scrollbarSize = default, float scrollbarRounding = default, float grabMinSize = default, float grabRounding = default, float logSliderDeadzone = default, float tabRounding = default, float tabBorderSize = default, float tabMinWidthForCloseButton = default, ImGuiDir colorButtonPosition = default, Vector2 buttonTextAlign = default, Vector2 selectableTextAlign = default, Vector2 displayWindowPadding = default, Vector2 displaySafeAreaPadding = default, float mouseCursorScale = default, bool antiAliasedLines = default, bool antiAliasedLinesUseTex = default, bool antiAliasedFill = default, float curveTessellationTol = default, float circleTessellationMaxError = default, Vector4* colors = default) + { + Alpha = alpha; + DisabledAlpha = disabledAlpha; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + WindowMinSize = windowMinSize; + WindowTitleAlign = windowTitleAlign; + WindowMenuButtonPosition = windowMenuButtonPosition; + ChildRounding = childRounding; + ChildBorderSize = childBorderSize; + PopupRounding = popupRounding; + PopupBorderSize = popupBorderSize; + FramePadding = framePadding; + FrameRounding = frameRounding; + FrameBorderSize = frameBorderSize; + ItemSpacing = itemSpacing; + ItemInnerSpacing = itemInnerSpacing; + CellPadding = cellPadding; + TouchExtraPadding = touchExtraPadding; + IndentSpacing = indentSpacing; + ColumnsMinSpacing = columnsMinSpacing; + ScrollbarSize = scrollbarSize; + ScrollbarRounding = scrollbarRounding; + GrabMinSize = grabMinSize; + GrabRounding = grabRounding; + LogSliderDeadzone = logSliderDeadzone; + TabRounding = tabRounding; + TabBorderSize = tabBorderSize; + TabMinWidthForCloseButton = tabMinWidthForCloseButton; + ColorButtonPosition = colorButtonPosition; + ButtonTextAlign = buttonTextAlign; + SelectableTextAlign = selectableTextAlign; + DisplayWindowPadding = displayWindowPadding; + DisplaySafeAreaPadding = displaySafeAreaPadding; + MouseCursorScale = mouseCursorScale; + AntiAliasedLines = antiAliasedLines ? (byte)1 : (byte)0; + AntiAliasedLinesUseTex = antiAliasedLinesUseTex ? (byte)1 : (byte)0; + AntiAliasedFill = antiAliasedFill ? (byte)1 : (byte)0; + CurveTessellationTol = curveTessellationTol; + CircleTessellationMaxError = circleTessellationMaxError; + if (colors != default(Vector4*)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + Colors_6 = colors[6]; + Colors_7 = colors[7]; + Colors_8 = colors[8]; + Colors_9 = colors[9]; + Colors_10 = colors[10]; + Colors_11 = colors[11]; + Colors_12 = colors[12]; + Colors_13 = colors[13]; + Colors_14 = colors[14]; + Colors_15 = colors[15]; + Colors_16 = colors[16]; + Colors_17 = colors[17]; + Colors_18 = colors[18]; + Colors_19 = colors[19]; + Colors_20 = colors[20]; + Colors_21 = colors[21]; + Colors_22 = colors[22]; + Colors_23 = colors[23]; + Colors_24 = colors[24]; + Colors_25 = colors[25]; + Colors_26 = colors[26]; + Colors_27 = colors[27]; + Colors_28 = colors[28]; + Colors_29 = colors[29]; + Colors_30 = colors[30]; + Colors_31 = colors[31]; + Colors_32 = colors[32]; + Colors_33 = colors[33]; + Colors_34 = colors[34]; + Colors_35 = colors[35]; + Colors_36 = colors[36]; + Colors_37 = colors[37]; + Colors_38 = colors[38]; + Colors_39 = colors[39]; + Colors_40 = colors[40]; + Colors_41 = colors[41]; + Colors_42 = colors[42]; + Colors_43 = colors[43]; + Colors_44 = colors[44]; + Colors_45 = colors[45]; + Colors_46 = colors[46]; + Colors_47 = colors[47]; + Colors_48 = colors[48]; + Colors_49 = colors[49]; + Colors_50 = colors[50]; + Colors_51 = colors[51]; + Colors_52 = colors[52]; + Colors_53 = colors[53]; + Colors_54 = colors[54]; + } + } + + /// + /// To be documented. + /// + public unsafe ImGuiStyle(float alpha = default, float disabledAlpha = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, Vector2 windowMinSize = default, Vector2 windowTitleAlign = default, ImGuiDir windowMenuButtonPosition = default, float childRounding = default, float childBorderSize = default, float popupRounding = default, float popupBorderSize = default, Vector2 framePadding = default, float frameRounding = default, float frameBorderSize = default, Vector2 itemSpacing = default, Vector2 itemInnerSpacing = default, Vector2 cellPadding = default, Vector2 touchExtraPadding = default, float indentSpacing = default, float columnsMinSpacing = default, float scrollbarSize = default, float scrollbarRounding = default, float grabMinSize = default, float grabRounding = default, float logSliderDeadzone = default, float tabRounding = default, float tabBorderSize = default, float tabMinWidthForCloseButton = default, ImGuiDir colorButtonPosition = default, Vector2 buttonTextAlign = default, Vector2 selectableTextAlign = default, Vector2 displayWindowPadding = default, Vector2 displaySafeAreaPadding = default, float mouseCursorScale = default, bool antiAliasedLines = default, bool antiAliasedLinesUseTex = default, bool antiAliasedFill = default, float curveTessellationTol = default, float circleTessellationMaxError = default, Span colors = default) + { + Alpha = alpha; + DisabledAlpha = disabledAlpha; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + WindowMinSize = windowMinSize; + WindowTitleAlign = windowTitleAlign; + WindowMenuButtonPosition = windowMenuButtonPosition; + ChildRounding = childRounding; + ChildBorderSize = childBorderSize; + PopupRounding = popupRounding; + PopupBorderSize = popupBorderSize; + FramePadding = framePadding; + FrameRounding = frameRounding; + FrameBorderSize = frameBorderSize; + ItemSpacing = itemSpacing; + ItemInnerSpacing = itemInnerSpacing; + CellPadding = cellPadding; + TouchExtraPadding = touchExtraPadding; + IndentSpacing = indentSpacing; + ColumnsMinSpacing = columnsMinSpacing; + ScrollbarSize = scrollbarSize; + ScrollbarRounding = scrollbarRounding; + GrabMinSize = grabMinSize; + GrabRounding = grabRounding; + LogSliderDeadzone = logSliderDeadzone; + TabRounding = tabRounding; + TabBorderSize = tabBorderSize; + TabMinWidthForCloseButton = tabMinWidthForCloseButton; + ColorButtonPosition = colorButtonPosition; + ButtonTextAlign = buttonTextAlign; + SelectableTextAlign = selectableTextAlign; + DisplayWindowPadding = displayWindowPadding; + DisplaySafeAreaPadding = displaySafeAreaPadding; + MouseCursorScale = mouseCursorScale; + AntiAliasedLines = antiAliasedLines ? (byte)1 : (byte)0; + AntiAliasedLinesUseTex = antiAliasedLinesUseTex ? (byte)1 : (byte)0; + AntiAliasedFill = antiAliasedFill ? (byte)1 : (byte)0; + CurveTessellationTol = curveTessellationTol; + CircleTessellationMaxError = circleTessellationMaxError; + if (colors != default(Span)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + Colors_6 = colors[6]; + Colors_7 = colors[7]; + Colors_8 = colors[8]; + Colors_9 = colors[9]; + Colors_10 = colors[10]; + Colors_11 = colors[11]; + Colors_12 = colors[12]; + Colors_13 = colors[13]; + Colors_14 = colors[14]; + Colors_15 = colors[15]; + Colors_16 = colors[16]; + Colors_17 = colors[17]; + Colors_18 = colors[18]; + Colors_19 = colors[19]; + Colors_20 = colors[20]; + Colors_21 = colors[21]; + Colors_22 = colors[22]; + Colors_23 = colors[23]; + Colors_24 = colors[24]; + Colors_25 = colors[25]; + Colors_26 = colors[26]; + Colors_27 = colors[27]; + Colors_28 = colors[28]; + Colors_29 = colors[29]; + Colors_30 = colors[30]; + Colors_31 = colors[31]; + Colors_32 = colors[32]; + Colors_33 = colors[33]; + Colors_34 = colors[34]; + Colors_35 = colors[35]; + Colors_36 = colors[36]; + Colors_37 = colors[37]; + Colors_38 = colors[38]; + Colors_39 = colors[39]; + Colors_40 = colors[40]; + Colors_41 = colors[41]; + Colors_42 = colors[42]; + Colors_43 = colors[43]; + Colors_44 = colors[44]; + Colors_45 = colors[45]; + Colors_46 = colors[46]; + Colors_47 = colors[47]; + Colors_48 = colors[48]; + Colors_49 = colors[49]; + Colors_50 = colors[50]; + Colors_51 = colors[51]; + Colors_52 = colors[52]; + Colors_53 = colors[53]; + Colors_54 = colors[54]; + } + } + + + /// + /// To be documented. + /// + public unsafe Span Colors + + { + get + { + fixed (Vector4* p = &this.Colors_0) + { + return new Span(p, 55); + } + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiStyle* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ScaleAllSizes(float scaleFactor) + { + fixed (ImGuiStyle* @this = &this) + { + ImGui.ScaleAllSizesNative(@this, scaleFactor); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiStylePtr : IEquatable + { + public ImGuiStylePtr(ImGuiStyle* handle) { Handle = handle; } + + public ImGuiStyle* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiStylePtr Null => new ImGuiStylePtr(null); + + public ImGuiStyle this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiStylePtr(ImGuiStyle* handle) => new ImGuiStylePtr(handle); + + public static implicit operator ImGuiStyle*(ImGuiStylePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiStylePtr left, ImGuiStylePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiStylePtr left, ImGuiStylePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiStylePtr left, ImGuiStyle* right) => left.Handle == right; + + public static bool operator !=(ImGuiStylePtr left, ImGuiStyle* right) => left.Handle != right; + + public bool Equals(ImGuiStylePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiStylePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiStylePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref float Alpha => ref Unsafe.AsRef(&Handle->Alpha); + /// + /// To be documented. + /// + public ref float DisabledAlpha => ref Unsafe.AsRef(&Handle->DisabledAlpha); + /// + /// To be documented. + /// + public ref Vector2 WindowPadding => ref Unsafe.AsRef(&Handle->WindowPadding); + /// + /// To be documented. + /// + public ref float WindowRounding => ref Unsafe.AsRef(&Handle->WindowRounding); + /// + /// To be documented. + /// + public ref float WindowBorderSize => ref Unsafe.AsRef(&Handle->WindowBorderSize); + /// + /// To be documented. + /// + public ref Vector2 WindowMinSize => ref Unsafe.AsRef(&Handle->WindowMinSize); + /// + /// To be documented. + /// + public ref Vector2 WindowTitleAlign => ref Unsafe.AsRef(&Handle->WindowTitleAlign); + /// + /// To be documented. + /// + public ref ImGuiDir WindowMenuButtonPosition => ref Unsafe.AsRef(&Handle->WindowMenuButtonPosition); + /// + /// To be documented. + /// + public ref float ChildRounding => ref Unsafe.AsRef(&Handle->ChildRounding); + /// + /// To be documented. + /// + public ref float ChildBorderSize => ref Unsafe.AsRef(&Handle->ChildBorderSize); + /// + /// To be documented. + /// + public ref float PopupRounding => ref Unsafe.AsRef(&Handle->PopupRounding); + /// + /// To be documented. + /// + public ref float PopupBorderSize => ref Unsafe.AsRef(&Handle->PopupBorderSize); + /// + /// To be documented. + /// + public ref Vector2 FramePadding => ref Unsafe.AsRef(&Handle->FramePadding); + /// + /// To be documented. + /// + public ref float FrameRounding => ref Unsafe.AsRef(&Handle->FrameRounding); + /// + /// To be documented. + /// + public ref float FrameBorderSize => ref Unsafe.AsRef(&Handle->FrameBorderSize); + /// + /// To be documented. + /// + public ref Vector2 ItemSpacing => ref Unsafe.AsRef(&Handle->ItemSpacing); + /// + /// To be documented. + /// + public ref Vector2 ItemInnerSpacing => ref Unsafe.AsRef(&Handle->ItemInnerSpacing); + /// + /// To be documented. + /// + public ref Vector2 CellPadding => ref Unsafe.AsRef(&Handle->CellPadding); + /// + /// To be documented. + /// + public ref Vector2 TouchExtraPadding => ref Unsafe.AsRef(&Handle->TouchExtraPadding); + /// + /// To be documented. + /// + public ref float IndentSpacing => ref Unsafe.AsRef(&Handle->IndentSpacing); + /// + /// To be documented. + /// + public ref float ColumnsMinSpacing => ref Unsafe.AsRef(&Handle->ColumnsMinSpacing); + /// + /// To be documented. + /// + public ref float ScrollbarSize => ref Unsafe.AsRef(&Handle->ScrollbarSize); + /// + /// To be documented. + /// + public ref float ScrollbarRounding => ref Unsafe.AsRef(&Handle->ScrollbarRounding); + /// + /// To be documented. + /// + public ref float GrabMinSize => ref Unsafe.AsRef(&Handle->GrabMinSize); + /// + /// To be documented. + /// + public ref float GrabRounding => ref Unsafe.AsRef(&Handle->GrabRounding); + /// + /// To be documented. + /// + public ref float LogSliderDeadzone => ref Unsafe.AsRef(&Handle->LogSliderDeadzone); + /// + /// To be documented. + /// + public ref float TabRounding => ref Unsafe.AsRef(&Handle->TabRounding); + /// + /// To be documented. + /// + public ref float TabBorderSize => ref Unsafe.AsRef(&Handle->TabBorderSize); + /// + /// To be documented. + /// + public ref float TabMinWidthForCloseButton => ref Unsafe.AsRef(&Handle->TabMinWidthForCloseButton); + /// + /// To be documented. + /// + public ref ImGuiDir ColorButtonPosition => ref Unsafe.AsRef(&Handle->ColorButtonPosition); + /// + /// To be documented. + /// + public ref Vector2 ButtonTextAlign => ref Unsafe.AsRef(&Handle->ButtonTextAlign); + /// + /// To be documented. + /// + public ref Vector2 SelectableTextAlign => ref Unsafe.AsRef(&Handle->SelectableTextAlign); + /// + /// To be documented. + /// + public ref Vector2 DisplayWindowPadding => ref Unsafe.AsRef(&Handle->DisplayWindowPadding); + /// + /// To be documented. + /// + public ref Vector2 DisplaySafeAreaPadding => ref Unsafe.AsRef(&Handle->DisplaySafeAreaPadding); + /// + /// To be documented. + /// + public ref float MouseCursorScale => ref Unsafe.AsRef(&Handle->MouseCursorScale); + /// + /// To be documented. + /// + public ref bool AntiAliasedLines => ref Unsafe.AsRef(&Handle->AntiAliasedLines); + /// + /// To be documented. + /// + public ref bool AntiAliasedLinesUseTex => ref Unsafe.AsRef(&Handle->AntiAliasedLinesUseTex); + /// + /// To be documented. + /// + public ref bool AntiAliasedFill => ref Unsafe.AsRef(&Handle->AntiAliasedFill); + /// + /// To be documented. + /// + public ref float CurveTessellationTol => ref Unsafe.AsRef(&Handle->CurveTessellationTol); + /// + /// To be documented. + /// + public ref float CircleTessellationMaxError => ref Unsafe.AsRef(&Handle->CircleTessellationMaxError); + /// + /// To be documented. + /// + public unsafe Span Colors + + { + get + { + return new Span(&Handle->Colors_0, 55); + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ScaleAllSizes(float scaleFactor) + { + ImGui.ScaleAllSizesNative(Handle, scaleFactor); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStyleMod.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStyleMod.cs new file mode 100644 index 000000000..ee814877b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiStyleMod.cs @@ -0,0 +1,178 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStyleMod + { + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Explicit)] + public partial struct ImGuiStyleModUnion + { + /// + /// To be documented. + /// + [FieldOffset(0)] + public int BackupInt_0; + [FieldOffset(8)] + public int BackupInt_1; + + /// + /// To be documented. + /// + [FieldOffset(0)] + public float BackupFloat_0; + [FieldOffset(8)] + public float BackupFloat_1; + + + /// + /// To be documented. + /// + public unsafe ImGuiStyleModUnion(int* backupInt = default, float* backupFloat = default) + { + if (backupInt != default(int*)) + { + BackupInt_0 = backupInt[0]; + BackupInt_1 = backupInt[1]; + } + if (backupFloat != default(float*)) + { + BackupFloat_0 = backupFloat[0]; + BackupFloat_1 = backupFloat[1]; + } + } + + /// + /// To be documented. + /// + public unsafe ImGuiStyleModUnion(Span backupInt = default, Span backupFloat = default) + { + if (backupInt != default(Span)) + { + BackupInt_0 = backupInt[0]; + BackupInt_1 = backupInt[1]; + } + if (backupFloat != default(Span)) + { + BackupFloat_0 = backupFloat[0]; + BackupFloat_1 = backupFloat[1]; + } + } + + + } + + /// + /// To be documented. + /// + public ImGuiStyleVar VarIdx; + + /// + /// To be documented. + /// + public ImGuiStyleModUnion Union; + + + /// + /// To be documented. + /// + public unsafe ImGuiStyleMod(ImGuiStyleVar varIdx = default, ImGuiStyleModUnion union = default) + { + VarIdx = varIdx; + Union = union; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiStyleMod* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiStyleModPtr : IEquatable + { + public ImGuiStyleModPtr(ImGuiStyleMod* handle) { Handle = handle; } + + public ImGuiStyleMod* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiStyleModPtr Null => new ImGuiStyleModPtr(null); + + public ImGuiStyleMod this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiStyleModPtr(ImGuiStyleMod* handle) => new ImGuiStyleModPtr(handle); + + public static implicit operator ImGuiStyleMod*(ImGuiStyleModPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiStyleModPtr left, ImGuiStyleModPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiStyleModPtr left, ImGuiStyleModPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiStyleModPtr left, ImGuiStyleMod* right) => left.Handle == right; + + public static bool operator !=(ImGuiStyleModPtr left, ImGuiStyleMod* right) => left.Handle != right; + + public bool Equals(ImGuiStyleModPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiStyleModPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiStyleModPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiStyleVar VarIdx => ref Unsafe.AsRef(&Handle->VarIdx); + /// + /// To be documented. + /// + public ref ImGuiStyleMod.ImGuiStyleModUnion Union => ref Unsafe.AsRef(&Handle->Union); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTabBar.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTabBar.cs new file mode 100644 index 000000000..b2cf157a0 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTabBar.cs @@ -0,0 +1,408 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Storage for a tab bar (sizeof() 160 bytes)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTabBar + { + /// + /// To be documented. + /// + public ImVector Tabs; + + /// + /// To be documented. + /// + public ImGuiTabBarFlags Flags; + + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public uint SelectedTabId; + + /// + /// To be documented. + /// + public uint NextSelectedTabId; + + /// + /// To be documented. + /// + public uint VisibleTabId; + + /// + /// To be documented. + /// + public int CurrFrameVisible; + + /// + /// To be documented. + /// + public int PrevFrameVisible; + + /// + /// To be documented. + /// + public ImRect BarRect; + + /// + /// To be documented. + /// + public float CurrTabsContentsHeight; + + /// + /// To be documented. + /// + public float PrevTabsContentsHeight; + + /// + /// To be documented. + /// + public float WidthAllTabs; + + /// + /// To be documented. + /// + public float WidthAllTabsIdeal; + + /// + /// To be documented. + /// + public float ScrollingAnim; + + /// + /// To be documented. + /// + public float ScrollingTarget; + + /// + /// To be documented. + /// + public float ScrollingTargetDistToVisibility; + + /// + /// To be documented. + /// + public float ScrollingSpeed; + + /// + /// To be documented. + /// + public float ScrollingRectMinX; + + /// + /// To be documented. + /// + public float ScrollingRectMaxX; + + /// + /// To be documented. + /// + public uint ReorderRequestTabId; + + /// + /// To be documented. + /// + public short ReorderRequestOffset; + + /// + /// To be documented. + /// + public byte BeginCount; + + /// + /// To be documented. + /// + public byte WantLayout; + + /// + /// To be documented. + /// + public byte VisibleTabWasSubmitted; + + /// + /// To be documented. + /// + public byte TabsAddedNew; + + /// + /// To be documented. + /// + public short TabsActiveCount; + + /// + /// To be documented. + /// + public short LastTabItemIdx; + + /// + /// To be documented. + /// + public float ItemSpacingY; + + /// + /// To be documented. + /// + public Vector2 FramePadding; + + /// + /// To be documented. + /// + public Vector2 BackupCursorPos; + + /// + /// To be documented. + /// + public ImGuiTextBuffer TabsNames; + + + /// + /// To be documented. + /// + public unsafe ImGuiTabBar(ImVector tabs = default, ImGuiTabBarFlags flags = default, uint id = default, uint selectedTabId = default, uint nextSelectedTabId = default, uint visibleTabId = default, int currFrameVisible = default, int prevFrameVisible = default, ImRect barRect = default, float currTabsContentsHeight = default, float prevTabsContentsHeight = default, float widthAllTabs = default, float widthAllTabsIdeal = default, float scrollingAnim = default, float scrollingTarget = default, float scrollingTargetDistToVisibility = default, float scrollingSpeed = default, float scrollingRectMinX = default, float scrollingRectMaxX = default, uint reorderRequestTabId = default, short reorderRequestOffset = default, byte beginCount = default, bool wantLayout = default, bool visibleTabWasSubmitted = default, bool tabsAddedNew = default, short tabsActiveCount = default, short lastTabItemIdx = default, float itemSpacingY = default, Vector2 framePadding = default, Vector2 backupCursorPos = default, ImGuiTextBuffer tabsNames = default) + { + Tabs = tabs; + Flags = flags; + ID = id; + SelectedTabId = selectedTabId; + NextSelectedTabId = nextSelectedTabId; + VisibleTabId = visibleTabId; + CurrFrameVisible = currFrameVisible; + PrevFrameVisible = prevFrameVisible; + BarRect = barRect; + CurrTabsContentsHeight = currTabsContentsHeight; + PrevTabsContentsHeight = prevTabsContentsHeight; + WidthAllTabs = widthAllTabs; + WidthAllTabsIdeal = widthAllTabsIdeal; + ScrollingAnim = scrollingAnim; + ScrollingTarget = scrollingTarget; + ScrollingTargetDistToVisibility = scrollingTargetDistToVisibility; + ScrollingSpeed = scrollingSpeed; + ScrollingRectMinX = scrollingRectMinX; + ScrollingRectMaxX = scrollingRectMaxX; + ReorderRequestTabId = reorderRequestTabId; + ReorderRequestOffset = reorderRequestOffset; + BeginCount = beginCount; + WantLayout = wantLayout ? (byte)1 : (byte)0; + VisibleTabWasSubmitted = visibleTabWasSubmitted ? (byte)1 : (byte)0; + TabsAddedNew = tabsAddedNew ? (byte)1 : (byte)0; + TabsActiveCount = tabsActiveCount; + LastTabItemIdx = lastTabItemIdx; + ItemSpacingY = itemSpacingY; + FramePadding = framePadding; + BackupCursorPos = backupCursorPos; + TabsNames = tabsNames; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTabBar* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTabBarPtr : IEquatable + { + public ImGuiTabBarPtr(ImGuiTabBar* handle) { Handle = handle; } + + public ImGuiTabBar* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTabBarPtr Null => new ImGuiTabBarPtr(null); + + public ImGuiTabBar this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTabBarPtr(ImGuiTabBar* handle) => new ImGuiTabBarPtr(handle); + + public static implicit operator ImGuiTabBar*(ImGuiTabBarPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTabBarPtr left, ImGuiTabBarPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTabBarPtr left, ImGuiTabBarPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTabBarPtr left, ImGuiTabBar* right) => left.Handle == right; + + public static bool operator !=(ImGuiTabBarPtr left, ImGuiTabBar* right) => left.Handle != right; + + public bool Equals(ImGuiTabBarPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTabBarPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTabBarPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Tabs => ref Unsafe.AsRef>(&Handle->Tabs); + /// + /// To be documented. + /// + public ref ImGuiTabBarFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref uint SelectedTabId => ref Unsafe.AsRef(&Handle->SelectedTabId); + /// + /// To be documented. + /// + public ref uint NextSelectedTabId => ref Unsafe.AsRef(&Handle->NextSelectedTabId); + /// + /// To be documented. + /// + public ref uint VisibleTabId => ref Unsafe.AsRef(&Handle->VisibleTabId); + /// + /// To be documented. + /// + public ref int CurrFrameVisible => ref Unsafe.AsRef(&Handle->CurrFrameVisible); + /// + /// To be documented. + /// + public ref int PrevFrameVisible => ref Unsafe.AsRef(&Handle->PrevFrameVisible); + /// + /// To be documented. + /// + public ref ImRect BarRect => ref Unsafe.AsRef(&Handle->BarRect); + /// + /// To be documented. + /// + public ref float CurrTabsContentsHeight => ref Unsafe.AsRef(&Handle->CurrTabsContentsHeight); + /// + /// To be documented. + /// + public ref float PrevTabsContentsHeight => ref Unsafe.AsRef(&Handle->PrevTabsContentsHeight); + /// + /// To be documented. + /// + public ref float WidthAllTabs => ref Unsafe.AsRef(&Handle->WidthAllTabs); + /// + /// To be documented. + /// + public ref float WidthAllTabsIdeal => ref Unsafe.AsRef(&Handle->WidthAllTabsIdeal); + /// + /// To be documented. + /// + public ref float ScrollingAnim => ref Unsafe.AsRef(&Handle->ScrollingAnim); + /// + /// To be documented. + /// + public ref float ScrollingTarget => ref Unsafe.AsRef(&Handle->ScrollingTarget); + /// + /// To be documented. + /// + public ref float ScrollingTargetDistToVisibility => ref Unsafe.AsRef(&Handle->ScrollingTargetDistToVisibility); + /// + /// To be documented. + /// + public ref float ScrollingSpeed => ref Unsafe.AsRef(&Handle->ScrollingSpeed); + /// + /// To be documented. + /// + public ref float ScrollingRectMinX => ref Unsafe.AsRef(&Handle->ScrollingRectMinX); + /// + /// To be documented. + /// + public ref float ScrollingRectMaxX => ref Unsafe.AsRef(&Handle->ScrollingRectMaxX); + /// + /// To be documented. + /// + public ref uint ReorderRequestTabId => ref Unsafe.AsRef(&Handle->ReorderRequestTabId); + /// + /// To be documented. + /// + public ref short ReorderRequestOffset => ref Unsafe.AsRef(&Handle->ReorderRequestOffset); + /// + /// To be documented. + /// + public ref byte BeginCount => ref Unsafe.AsRef(&Handle->BeginCount); + /// + /// To be documented. + /// + public ref bool WantLayout => ref Unsafe.AsRef(&Handle->WantLayout); + /// + /// To be documented. + /// + public ref bool VisibleTabWasSubmitted => ref Unsafe.AsRef(&Handle->VisibleTabWasSubmitted); + /// + /// To be documented. + /// + public ref bool TabsAddedNew => ref Unsafe.AsRef(&Handle->TabsAddedNew); + /// + /// To be documented. + /// + public ref short TabsActiveCount => ref Unsafe.AsRef(&Handle->TabsActiveCount); + /// + /// To be documented. + /// + public ref short LastTabItemIdx => ref Unsafe.AsRef(&Handle->LastTabItemIdx); + /// + /// To be documented. + /// + public ref float ItemSpacingY => ref Unsafe.AsRef(&Handle->ItemSpacingY); + /// + /// To be documented. + /// + public ref Vector2 FramePadding => ref Unsafe.AsRef(&Handle->FramePadding); + /// + /// To be documented. + /// + public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer TabsNames => ref Unsafe.AsRef(&Handle->TabsNames); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTabItem.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTabItem.cs new file mode 100644 index 000000000..835cba689 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTabItem.cs @@ -0,0 +1,228 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Storage for one active tab item (sizeof() 48 bytes)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTabItem + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiTabItemFlags Flags; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* Window; + + /// + /// To be documented. + /// + public int LastFrameVisible; + + /// + /// To be documented. + /// + public int LastFrameSelected; + + /// + /// To be documented. + /// + public float Offset; + + /// + /// To be documented. + /// + public float Width; + + /// + /// To be documented. + /// + public float ContentWidth; + + /// + /// To be documented. + /// + public float RequestedWidth; + + /// + /// To be documented. + /// + public int NameOffset; + + /// + /// To be documented. + /// + public short BeginOrder; + + /// + /// To be documented. + /// + public short IndexDuringLayout; + + /// + /// To be documented. + /// + public byte WantClose; + + + /// + /// To be documented. + /// + public unsafe ImGuiTabItem(uint id = default, ImGuiTabItemFlags flags = default, ImGuiWindowPtr window = default, int lastFrameVisible = default, int lastFrameSelected = default, float offset = default, float width = default, float contentWidth = default, float requestedWidth = default, int nameOffset = default, short beginOrder = default, short indexDuringLayout = default, bool wantClose = default) + { + ID = id; + Flags = flags; + Window = window; + LastFrameVisible = lastFrameVisible; + LastFrameSelected = lastFrameSelected; + Offset = offset; + Width = width; + ContentWidth = contentWidth; + RequestedWidth = requestedWidth; + NameOffset = nameOffset; + BeginOrder = beginOrder; + IndexDuringLayout = indexDuringLayout; + WantClose = wantClose ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTabItem* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTabItemPtr : IEquatable + { + public ImGuiTabItemPtr(ImGuiTabItem* handle) { Handle = handle; } + + public ImGuiTabItem* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTabItemPtr Null => new ImGuiTabItemPtr(null); + + public ImGuiTabItem this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTabItemPtr(ImGuiTabItem* handle) => new ImGuiTabItemPtr(handle); + + public static implicit operator ImGuiTabItem*(ImGuiTabItemPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTabItemPtr left, ImGuiTabItemPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTabItemPtr left, ImGuiTabItemPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTabItemPtr left, ImGuiTabItem* right) => left.Handle == right; + + public static bool operator !=(ImGuiTabItemPtr left, ImGuiTabItem* right) => left.Handle != right; + + public bool Equals(ImGuiTabItemPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTabItemPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTabItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiTabItemFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + /// + /// To be documented. + /// + public ref int LastFrameVisible => ref Unsafe.AsRef(&Handle->LastFrameVisible); + /// + /// To be documented. + /// + public ref int LastFrameSelected => ref Unsafe.AsRef(&Handle->LastFrameSelected); + /// + /// To be documented. + /// + public ref float Offset => ref Unsafe.AsRef(&Handle->Offset); + /// + /// To be documented. + /// + public ref float Width => ref Unsafe.AsRef(&Handle->Width); + /// + /// To be documented. + /// + public ref float ContentWidth => ref Unsafe.AsRef(&Handle->ContentWidth); + /// + /// To be documented. + /// + public ref float RequestedWidth => ref Unsafe.AsRef(&Handle->RequestedWidth); + /// + /// To be documented. + /// + public ref int NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); + /// + /// To be documented. + /// + public ref short BeginOrder => ref Unsafe.AsRef(&Handle->BeginOrder); + /// + /// To be documented. + /// + public ref short IndexDuringLayout => ref Unsafe.AsRef(&Handle->IndexDuringLayout); + /// + /// To be documented. + /// + public ref bool WantClose => ref Unsafe.AsRef(&Handle->WantClose); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTable.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTable.cs new file mode 100644 index 000000000..cd68bc471 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTable.cs @@ -0,0 +1,1246 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// sizeof() ~ 592 bytes + heap allocs described in TableBeginInitMemory()
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTable + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiTableFlags Flags; + + /// + /// To be documented. + /// + public unsafe void* RawData; + + /// + /// To be documented. + /// + public unsafe ImGuiTableTempData* TempData; + + /// + /// To be documented. + /// + public ImSpanImGuiTableColumn Columns; + + /// + /// To be documented. + /// + public ImSpanImGuiTableColumnIdx DisplayOrderToIndex; + + /// + /// To be documented. + /// + public ImSpanImGuiTableCellData RowCellData; + + /// + /// To be documented. + /// + public ulong EnabledMaskByDisplayOrder; + + /// + /// To be documented. + /// + public ulong EnabledMaskByIndex; + + /// + /// To be documented. + /// + public ulong VisibleMaskByIndex; + + /// + /// To be documented. + /// + public ulong RequestOutputMaskByIndex; + + /// + /// To be documented. + /// + public ImGuiTableFlags SettingsLoadedFlags; + + /// + /// To be documented. + /// + public int SettingsOffset; + + /// + /// To be documented. + /// + public int LastFrameActive; + + /// + /// To be documented. + /// + public int ColumnsCount; + + /// + /// To be documented. + /// + public int CurrentRow; + + /// + /// To be documented. + /// + public int CurrentColumn; + + /// + /// To be documented. + /// + public short InstanceCurrent; + + /// + /// To be documented. + /// + public short InstanceInteracted; + + /// + /// To be documented. + /// + public float RowPosY1; + + /// + /// To be documented. + /// + public float RowPosY2; + + /// + /// To be documented. + /// + public float RowMinHeight; + + /// + /// To be documented. + /// + public float RowTextBaseline; + + /// + /// To be documented. + /// + public float RowIndentOffsetX; + + /// + /// To be documented. + /// + public ImGuiTableRowFlags RowFlags; + + /// + /// To be documented. + /// + public ImGuiTableRowFlags LastRowFlags; + + /// + /// To be documented. + /// + public int RowBgColorCounter; + + /// + /// To be documented. + /// + public uint RowBgColor_0; + public uint RowBgColor_1; + + /// + /// To be documented. + /// + public uint BorderColorStrong; + + /// + /// To be documented. + /// + public uint BorderColorLight; + + /// + /// To be documented. + /// + public float BorderX1; + + /// + /// To be documented. + /// + public float BorderX2; + + /// + /// To be documented. + /// + public float HostIndentX; + + /// + /// To be documented. + /// + public float MinColumnWidth; + + /// + /// To be documented. + /// + public float OuterPaddingX; + + /// + /// To be documented. + /// + public float CellPaddingX; + + /// + /// To be documented. + /// + public float CellPaddingY; + + /// + /// To be documented. + /// + public float CellSpacingX1; + + /// + /// To be documented. + /// + public float CellSpacingX2; + + /// + /// To be documented. + /// + public float InnerWidth; + + /// + /// To be documented. + /// + public float ColumnsGivenWidth; + + /// + /// To be documented. + /// + public float ColumnsAutoFitWidth; + + /// + /// To be documented. + /// + public float ColumnsStretchSumWeights; + + /// + /// To be documented. + /// + public float ResizedColumnNextWidth; + + /// + /// To be documented. + /// + public float ResizeLockMinContentsX2; + + /// + /// To be documented. + /// + public float RefScale; + + /// + /// To be documented. + /// + public ImRect OuterRect; + + /// + /// To be documented. + /// + public ImRect InnerRect; + + /// + /// To be documented. + /// + public ImRect WorkRect; + + /// + /// To be documented. + /// + public ImRect InnerClipRect; + + /// + /// To be documented. + /// + public ImRect BgClipRect; + + /// + /// To be documented. + /// + public ImRect Bg0ClipRectForDrawCmd; + + /// + /// To be documented. + /// + public ImRect Bg2ClipRectForDrawCmd; + + /// + /// To be documented. + /// + public ImRect HostClipRect; + + /// + /// To be documented. + /// + public ImRect HostBackupInnerClipRect; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* OuterWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* InnerWindow; + + /// + /// To be documented. + /// + public ImGuiTextBuffer ColumnsNames; + + /// + /// To be documented. + /// + public unsafe ImDrawListSplitter* DrawSplitter; + + /// + /// To be documented. + /// + public ImGuiTableInstanceData InstanceDataFirst; + + /// + /// To be documented. + /// + public ImVector InstanceDataExtra; + + /// + /// To be documented. + /// + public ImGuiTableColumnSortSpecs SortSpecsSingle; + + /// + /// To be documented. + /// + public ImVector SortSpecsMulti; + + /// + /// To be documented. + /// + public ImGuiTableSortSpecs SortSpecs; + + /// + /// To be documented. + /// + public sbyte SortSpecsCount; + + /// + /// To be documented. + /// + public sbyte ColumnsEnabledCount; + + /// + /// To be documented. + /// + public sbyte ColumnsEnabledFixedCount; + + /// + /// To be documented. + /// + public sbyte DeclColumnsCount; + + /// + /// To be documented. + /// + public sbyte HoveredColumnBody; + + /// + /// To be documented. + /// + public sbyte HoveredColumnBorder; + + /// + /// To be documented. + /// + public sbyte AutoFitSingleColumn; + + /// + /// To be documented. + /// + public sbyte ResizedColumn; + + /// + /// To be documented. + /// + public sbyte LastResizedColumn; + + /// + /// To be documented. + /// + public sbyte HeldHeaderColumn; + + /// + /// To be documented. + /// + public sbyte ReorderColumn; + + /// + /// To be documented. + /// + public sbyte ReorderColumnDir; + + /// + /// To be documented. + /// + public sbyte LeftMostEnabledColumn; + + /// + /// To be documented. + /// + public sbyte RightMostEnabledColumn; + + /// + /// To be documented. + /// + public sbyte LeftMostStretchedColumn; + + /// + /// To be documented. + /// + public sbyte RightMostStretchedColumn; + + /// + /// To be documented. + /// + public sbyte ContextPopupColumn; + + /// + /// To be documented. + /// + public sbyte FreezeRowsRequest; + + /// + /// To be documented. + /// + public sbyte FreezeRowsCount; + + /// + /// To be documented. + /// + public sbyte FreezeColumnsRequest; + + /// + /// To be documented. + /// + public sbyte FreezeColumnsCount; + + /// + /// To be documented. + /// + public sbyte RowCellDataCurrent; + + /// + /// To be documented. + /// + public byte DummyDrawChannel; + + /// + /// To be documented. + /// + public byte Bg2DrawChannelCurrent; + + /// + /// To be documented. + /// + public byte Bg2DrawChannelUnfrozen; + + /// + /// To be documented. + /// + public byte IsLayoutLocked; + + /// + /// To be documented. + /// + public byte IsInsideRow; + + /// + /// To be documented. + /// + public byte IsInitializing; + + /// + /// To be documented. + /// + public byte IsSortSpecsDirty; + + /// + /// To be documented. + /// + public byte IsUsingHeaders; + + /// + /// To be documented. + /// + public byte IsContextPopupOpen; + + /// + /// To be documented. + /// + public byte IsSettingsRequestLoad; + + /// + /// To be documented. + /// + public byte IsSettingsDirty; + + /// + /// To be documented. + /// + public byte IsDefaultDisplayOrder; + + /// + /// To be documented. + /// + public byte IsResetAllRequest; + + /// + /// To be documented. + /// + public byte IsResetDisplayOrderRequest; + + /// + /// To be documented. + /// + public byte IsUnfrozenRows; + + /// + /// To be documented. + /// + public byte IsDefaultSizingPolicy; + + /// + /// To be documented. + /// + public byte MemoryCompacted; + + /// + /// To be documented. + /// + public byte HostSkipItems; + + + /// + /// To be documented. + /// + public unsafe ImGuiTable(uint id = default, ImGuiTableFlags flags = default, void* rawData = default, ImGuiTableTempData* tempData = default, ImSpanImGuiTableColumn columns = default, ImSpanImGuiTableColumnIdx displayOrderToIndex = default, ImSpanImGuiTableCellData rowCellData = default, ulong enabledMaskByDisplayOrder = default, ulong enabledMaskByIndex = default, ulong visibleMaskByIndex = default, ulong requestOutputMaskByIndex = default, ImGuiTableFlags settingsLoadedFlags = default, int settingsOffset = default, int lastFrameActive = default, int columnsCount = default, int currentRow = default, int currentColumn = default, short instanceCurrent = default, short instanceInteracted = default, float rowPosY1 = default, float rowPosY2 = default, float rowMinHeight = default, float rowTextBaseline = default, float rowIndentOffsetX = default, ImGuiTableRowFlags rowFlags = default, ImGuiTableRowFlags lastRowFlags = default, int rowBgColorCounter = default, uint* rowBgColor = default, uint borderColorStrong = default, uint borderColorLight = default, float borderX1 = default, float borderX2 = default, float hostIndentX = default, float minColumnWidth = default, float outerPaddingX = default, float cellPaddingX = default, float cellPaddingY = default, float cellSpacingX1 = default, float cellSpacingX2 = default, float innerWidth = default, float columnsGivenWidth = default, float columnsAutoFitWidth = default, float columnsStretchSumWeights = default, float resizedColumnNextWidth = default, float resizeLockMinContentsX2 = default, float refScale = default, ImRect outerRect = default, ImRect innerRect = default, ImRect workRect = default, ImRect innerClipRect = default, ImRect bgClipRect = default, ImRect bg0ClipRectForDrawCmd = default, ImRect bg2ClipRectForDrawCmd = default, ImRect hostClipRect = default, ImRect hostBackupInnerClipRect = default, ImGuiWindowPtr outerWindow = default, ImGuiWindowPtr innerWindow = default, ImGuiTextBuffer columnsNames = default, ImDrawListSplitterPtr drawSplitter = default, ImGuiTableInstanceData instanceDataFirst = default, ImVector instanceDataExtra = default, ImGuiTableColumnSortSpecs sortSpecsSingle = default, ImVector sortSpecsMulti = default, ImGuiTableSortSpecs sortSpecs = default, sbyte sortSpecsCount = default, sbyte columnsEnabledCount = default, sbyte columnsEnabledFixedCount = default, sbyte declColumnsCount = default, sbyte hoveredColumnBody = default, sbyte hoveredColumnBorder = default, sbyte autoFitSingleColumn = default, sbyte resizedColumn = default, sbyte lastResizedColumn = default, sbyte heldHeaderColumn = default, sbyte reorderColumn = default, sbyte reorderColumnDir = default, sbyte leftMostEnabledColumn = default, sbyte rightMostEnabledColumn = default, sbyte leftMostStretchedColumn = default, sbyte rightMostStretchedColumn = default, sbyte contextPopupColumn = default, sbyte freezeRowsRequest = default, sbyte freezeRowsCount = default, sbyte freezeColumnsRequest = default, sbyte freezeColumnsCount = default, sbyte rowCellDataCurrent = default, byte dummyDrawChannel = default, byte bg2DrawChannelCurrent = default, byte bg2DrawChannelUnfrozen = default, bool isLayoutLocked = default, bool isInsideRow = default, bool isInitializing = default, bool isSortSpecsDirty = default, bool isUsingHeaders = default, bool isContextPopupOpen = default, bool isSettingsRequestLoad = default, bool isSettingsDirty = default, bool isDefaultDisplayOrder = default, bool isResetAllRequest = default, bool isResetDisplayOrderRequest = default, bool isUnfrozenRows = default, bool isDefaultSizingPolicy = default, bool memoryCompacted = default, bool hostSkipItems = default) + { + ID = id; + Flags = flags; + RawData = rawData; + TempData = tempData; + Columns = columns; + DisplayOrderToIndex = displayOrderToIndex; + RowCellData = rowCellData; + EnabledMaskByDisplayOrder = enabledMaskByDisplayOrder; + EnabledMaskByIndex = enabledMaskByIndex; + VisibleMaskByIndex = visibleMaskByIndex; + RequestOutputMaskByIndex = requestOutputMaskByIndex; + SettingsLoadedFlags = settingsLoadedFlags; + SettingsOffset = settingsOffset; + LastFrameActive = lastFrameActive; + ColumnsCount = columnsCount; + CurrentRow = currentRow; + CurrentColumn = currentColumn; + InstanceCurrent = instanceCurrent; + InstanceInteracted = instanceInteracted; + RowPosY1 = rowPosY1; + RowPosY2 = rowPosY2; + RowMinHeight = rowMinHeight; + RowTextBaseline = rowTextBaseline; + RowIndentOffsetX = rowIndentOffsetX; + RowFlags = rowFlags; + LastRowFlags = lastRowFlags; + RowBgColorCounter = rowBgColorCounter; + if (rowBgColor != default(uint*)) + { + RowBgColor_0 = rowBgColor[0]; + RowBgColor_1 = rowBgColor[1]; + } + BorderColorStrong = borderColorStrong; + BorderColorLight = borderColorLight; + BorderX1 = borderX1; + BorderX2 = borderX2; + HostIndentX = hostIndentX; + MinColumnWidth = minColumnWidth; + OuterPaddingX = outerPaddingX; + CellPaddingX = cellPaddingX; + CellPaddingY = cellPaddingY; + CellSpacingX1 = cellSpacingX1; + CellSpacingX2 = cellSpacingX2; + InnerWidth = innerWidth; + ColumnsGivenWidth = columnsGivenWidth; + ColumnsAutoFitWidth = columnsAutoFitWidth; + ColumnsStretchSumWeights = columnsStretchSumWeights; + ResizedColumnNextWidth = resizedColumnNextWidth; + ResizeLockMinContentsX2 = resizeLockMinContentsX2; + RefScale = refScale; + OuterRect = outerRect; + InnerRect = innerRect; + WorkRect = workRect; + InnerClipRect = innerClipRect; + BgClipRect = bgClipRect; + Bg0ClipRectForDrawCmd = bg0ClipRectForDrawCmd; + Bg2ClipRectForDrawCmd = bg2ClipRectForDrawCmd; + HostClipRect = hostClipRect; + HostBackupInnerClipRect = hostBackupInnerClipRect; + OuterWindow = outerWindow; + InnerWindow = innerWindow; + ColumnsNames = columnsNames; + DrawSplitter = drawSplitter; + InstanceDataFirst = instanceDataFirst; + InstanceDataExtra = instanceDataExtra; + SortSpecsSingle = sortSpecsSingle; + SortSpecsMulti = sortSpecsMulti; + SortSpecs = sortSpecs; + SortSpecsCount = sortSpecsCount; + ColumnsEnabledCount = columnsEnabledCount; + ColumnsEnabledFixedCount = columnsEnabledFixedCount; + DeclColumnsCount = declColumnsCount; + HoveredColumnBody = hoveredColumnBody; + HoveredColumnBorder = hoveredColumnBorder; + AutoFitSingleColumn = autoFitSingleColumn; + ResizedColumn = resizedColumn; + LastResizedColumn = lastResizedColumn; + HeldHeaderColumn = heldHeaderColumn; + ReorderColumn = reorderColumn; + ReorderColumnDir = reorderColumnDir; + LeftMostEnabledColumn = leftMostEnabledColumn; + RightMostEnabledColumn = rightMostEnabledColumn; + LeftMostStretchedColumn = leftMostStretchedColumn; + RightMostStretchedColumn = rightMostStretchedColumn; + ContextPopupColumn = contextPopupColumn; + FreezeRowsRequest = freezeRowsRequest; + FreezeRowsCount = freezeRowsCount; + FreezeColumnsRequest = freezeColumnsRequest; + FreezeColumnsCount = freezeColumnsCount; + RowCellDataCurrent = rowCellDataCurrent; + DummyDrawChannel = dummyDrawChannel; + Bg2DrawChannelCurrent = bg2DrawChannelCurrent; + Bg2DrawChannelUnfrozen = bg2DrawChannelUnfrozen; + IsLayoutLocked = isLayoutLocked ? (byte)1 : (byte)0; + IsInsideRow = isInsideRow ? (byte)1 : (byte)0; + IsInitializing = isInitializing ? (byte)1 : (byte)0; + IsSortSpecsDirty = isSortSpecsDirty ? (byte)1 : (byte)0; + IsUsingHeaders = isUsingHeaders ? (byte)1 : (byte)0; + IsContextPopupOpen = isContextPopupOpen ? (byte)1 : (byte)0; + IsSettingsRequestLoad = isSettingsRequestLoad ? (byte)1 : (byte)0; + IsSettingsDirty = isSettingsDirty ? (byte)1 : (byte)0; + IsDefaultDisplayOrder = isDefaultDisplayOrder ? (byte)1 : (byte)0; + IsResetAllRequest = isResetAllRequest ? (byte)1 : (byte)0; + IsResetDisplayOrderRequest = isResetDisplayOrderRequest ? (byte)1 : (byte)0; + IsUnfrozenRows = isUnfrozenRows ? (byte)1 : (byte)0; + IsDefaultSizingPolicy = isDefaultSizingPolicy ? (byte)1 : (byte)0; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + HostSkipItems = hostSkipItems ? (byte)1 : (byte)0; + } + + /// + /// To be documented. + /// + public unsafe ImGuiTable(uint id = default, ImGuiTableFlags flags = default, void* rawData = default, ImGuiTableTempData* tempData = default, ImSpanImGuiTableColumn columns = default, ImSpanImGuiTableColumnIdx displayOrderToIndex = default, ImSpanImGuiTableCellData rowCellData = default, ulong enabledMaskByDisplayOrder = default, ulong enabledMaskByIndex = default, ulong visibleMaskByIndex = default, ulong requestOutputMaskByIndex = default, ImGuiTableFlags settingsLoadedFlags = default, int settingsOffset = default, int lastFrameActive = default, int columnsCount = default, int currentRow = default, int currentColumn = default, short instanceCurrent = default, short instanceInteracted = default, float rowPosY1 = default, float rowPosY2 = default, float rowMinHeight = default, float rowTextBaseline = default, float rowIndentOffsetX = default, ImGuiTableRowFlags rowFlags = default, ImGuiTableRowFlags lastRowFlags = default, int rowBgColorCounter = default, Span rowBgColor = default, uint borderColorStrong = default, uint borderColorLight = default, float borderX1 = default, float borderX2 = default, float hostIndentX = default, float minColumnWidth = default, float outerPaddingX = default, float cellPaddingX = default, float cellPaddingY = default, float cellSpacingX1 = default, float cellSpacingX2 = default, float innerWidth = default, float columnsGivenWidth = default, float columnsAutoFitWidth = default, float columnsStretchSumWeights = default, float resizedColumnNextWidth = default, float resizeLockMinContentsX2 = default, float refScale = default, ImRect outerRect = default, ImRect innerRect = default, ImRect workRect = default, ImRect innerClipRect = default, ImRect bgClipRect = default, ImRect bg0ClipRectForDrawCmd = default, ImRect bg2ClipRectForDrawCmd = default, ImRect hostClipRect = default, ImRect hostBackupInnerClipRect = default, ImGuiWindowPtr outerWindow = default, ImGuiWindowPtr innerWindow = default, ImGuiTextBuffer columnsNames = default, ImDrawListSplitterPtr drawSplitter = default, ImGuiTableInstanceData instanceDataFirst = default, ImVector instanceDataExtra = default, ImGuiTableColumnSortSpecs sortSpecsSingle = default, ImVector sortSpecsMulti = default, ImGuiTableSortSpecs sortSpecs = default, sbyte sortSpecsCount = default, sbyte columnsEnabledCount = default, sbyte columnsEnabledFixedCount = default, sbyte declColumnsCount = default, sbyte hoveredColumnBody = default, sbyte hoveredColumnBorder = default, sbyte autoFitSingleColumn = default, sbyte resizedColumn = default, sbyte lastResizedColumn = default, sbyte heldHeaderColumn = default, sbyte reorderColumn = default, sbyte reorderColumnDir = default, sbyte leftMostEnabledColumn = default, sbyte rightMostEnabledColumn = default, sbyte leftMostStretchedColumn = default, sbyte rightMostStretchedColumn = default, sbyte contextPopupColumn = default, sbyte freezeRowsRequest = default, sbyte freezeRowsCount = default, sbyte freezeColumnsRequest = default, sbyte freezeColumnsCount = default, sbyte rowCellDataCurrent = default, byte dummyDrawChannel = default, byte bg2DrawChannelCurrent = default, byte bg2DrawChannelUnfrozen = default, bool isLayoutLocked = default, bool isInsideRow = default, bool isInitializing = default, bool isSortSpecsDirty = default, bool isUsingHeaders = default, bool isContextPopupOpen = default, bool isSettingsRequestLoad = default, bool isSettingsDirty = default, bool isDefaultDisplayOrder = default, bool isResetAllRequest = default, bool isResetDisplayOrderRequest = default, bool isUnfrozenRows = default, bool isDefaultSizingPolicy = default, bool memoryCompacted = default, bool hostSkipItems = default) + { + ID = id; + Flags = flags; + RawData = rawData; + TempData = tempData; + Columns = columns; + DisplayOrderToIndex = displayOrderToIndex; + RowCellData = rowCellData; + EnabledMaskByDisplayOrder = enabledMaskByDisplayOrder; + EnabledMaskByIndex = enabledMaskByIndex; + VisibleMaskByIndex = visibleMaskByIndex; + RequestOutputMaskByIndex = requestOutputMaskByIndex; + SettingsLoadedFlags = settingsLoadedFlags; + SettingsOffset = settingsOffset; + LastFrameActive = lastFrameActive; + ColumnsCount = columnsCount; + CurrentRow = currentRow; + CurrentColumn = currentColumn; + InstanceCurrent = instanceCurrent; + InstanceInteracted = instanceInteracted; + RowPosY1 = rowPosY1; + RowPosY2 = rowPosY2; + RowMinHeight = rowMinHeight; + RowTextBaseline = rowTextBaseline; + RowIndentOffsetX = rowIndentOffsetX; + RowFlags = rowFlags; + LastRowFlags = lastRowFlags; + RowBgColorCounter = rowBgColorCounter; + if (rowBgColor != default(Span)) + { + RowBgColor_0 = rowBgColor[0]; + RowBgColor_1 = rowBgColor[1]; + } + BorderColorStrong = borderColorStrong; + BorderColorLight = borderColorLight; + BorderX1 = borderX1; + BorderX2 = borderX2; + HostIndentX = hostIndentX; + MinColumnWidth = minColumnWidth; + OuterPaddingX = outerPaddingX; + CellPaddingX = cellPaddingX; + CellPaddingY = cellPaddingY; + CellSpacingX1 = cellSpacingX1; + CellSpacingX2 = cellSpacingX2; + InnerWidth = innerWidth; + ColumnsGivenWidth = columnsGivenWidth; + ColumnsAutoFitWidth = columnsAutoFitWidth; + ColumnsStretchSumWeights = columnsStretchSumWeights; + ResizedColumnNextWidth = resizedColumnNextWidth; + ResizeLockMinContentsX2 = resizeLockMinContentsX2; + RefScale = refScale; + OuterRect = outerRect; + InnerRect = innerRect; + WorkRect = workRect; + InnerClipRect = innerClipRect; + BgClipRect = bgClipRect; + Bg0ClipRectForDrawCmd = bg0ClipRectForDrawCmd; + Bg2ClipRectForDrawCmd = bg2ClipRectForDrawCmd; + HostClipRect = hostClipRect; + HostBackupInnerClipRect = hostBackupInnerClipRect; + OuterWindow = outerWindow; + InnerWindow = innerWindow; + ColumnsNames = columnsNames; + DrawSplitter = drawSplitter; + InstanceDataFirst = instanceDataFirst; + InstanceDataExtra = instanceDataExtra; + SortSpecsSingle = sortSpecsSingle; + SortSpecsMulti = sortSpecsMulti; + SortSpecs = sortSpecs; + SortSpecsCount = sortSpecsCount; + ColumnsEnabledCount = columnsEnabledCount; + ColumnsEnabledFixedCount = columnsEnabledFixedCount; + DeclColumnsCount = declColumnsCount; + HoveredColumnBody = hoveredColumnBody; + HoveredColumnBorder = hoveredColumnBorder; + AutoFitSingleColumn = autoFitSingleColumn; + ResizedColumn = resizedColumn; + LastResizedColumn = lastResizedColumn; + HeldHeaderColumn = heldHeaderColumn; + ReorderColumn = reorderColumn; + ReorderColumnDir = reorderColumnDir; + LeftMostEnabledColumn = leftMostEnabledColumn; + RightMostEnabledColumn = rightMostEnabledColumn; + LeftMostStretchedColumn = leftMostStretchedColumn; + RightMostStretchedColumn = rightMostStretchedColumn; + ContextPopupColumn = contextPopupColumn; + FreezeRowsRequest = freezeRowsRequest; + FreezeRowsCount = freezeRowsCount; + FreezeColumnsRequest = freezeColumnsRequest; + FreezeColumnsCount = freezeColumnsCount; + RowCellDataCurrent = rowCellDataCurrent; + DummyDrawChannel = dummyDrawChannel; + Bg2DrawChannelCurrent = bg2DrawChannelCurrent; + Bg2DrawChannelUnfrozen = bg2DrawChannelUnfrozen; + IsLayoutLocked = isLayoutLocked ? (byte)1 : (byte)0; + IsInsideRow = isInsideRow ? (byte)1 : (byte)0; + IsInitializing = isInitializing ? (byte)1 : (byte)0; + IsSortSpecsDirty = isSortSpecsDirty ? (byte)1 : (byte)0; + IsUsingHeaders = isUsingHeaders ? (byte)1 : (byte)0; + IsContextPopupOpen = isContextPopupOpen ? (byte)1 : (byte)0; + IsSettingsRequestLoad = isSettingsRequestLoad ? (byte)1 : (byte)0; + IsSettingsDirty = isSettingsDirty ? (byte)1 : (byte)0; + IsDefaultDisplayOrder = isDefaultDisplayOrder ? (byte)1 : (byte)0; + IsResetAllRequest = isResetAllRequest ? (byte)1 : (byte)0; + IsResetDisplayOrderRequest = isResetDisplayOrderRequest ? (byte)1 : (byte)0; + IsUnfrozenRows = isUnfrozenRows ? (byte)1 : (byte)0; + IsDefaultSizingPolicy = isDefaultSizingPolicy ? (byte)1 : (byte)0; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + HostSkipItems = hostSkipItems ? (byte)1 : (byte)0; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTablePtr : IEquatable + { + public ImGuiTablePtr(ImGuiTable* handle) { Handle = handle; } + + public ImGuiTable* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTablePtr Null => new ImGuiTablePtr(null); + + public ImGuiTable this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTablePtr(ImGuiTable* handle) => new ImGuiTablePtr(handle); + + public static implicit operator ImGuiTable*(ImGuiTablePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTablePtr left, ImGuiTablePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTablePtr left, ImGuiTablePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTablePtr left, ImGuiTable* right) => left.Handle == right; + + public static bool operator !=(ImGuiTablePtr left, ImGuiTable* right) => left.Handle != right; + + public bool Equals(ImGuiTablePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTablePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTablePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiTableFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public void* RawData { get => Handle->RawData; set => Handle->RawData = value; } + /// + /// To be documented. + /// + public ref ImGuiTableTempDataPtr TempData => ref Unsafe.AsRef(&Handle->TempData); + /// + /// To be documented. + /// + public ref ImSpanImGuiTableColumn Columns => ref Unsafe.AsRef(&Handle->Columns); + /// + /// To be documented. + /// + public ref ImSpanImGuiTableColumnIdx DisplayOrderToIndex => ref Unsafe.AsRef(&Handle->DisplayOrderToIndex); + /// + /// To be documented. + /// + public ref ImSpanImGuiTableCellData RowCellData => ref Unsafe.AsRef(&Handle->RowCellData); + /// + /// To be documented. + /// + public ref ulong EnabledMaskByDisplayOrder => ref Unsafe.AsRef(&Handle->EnabledMaskByDisplayOrder); + /// + /// To be documented. + /// + public ref ulong EnabledMaskByIndex => ref Unsafe.AsRef(&Handle->EnabledMaskByIndex); + /// + /// To be documented. + /// + public ref ulong VisibleMaskByIndex => ref Unsafe.AsRef(&Handle->VisibleMaskByIndex); + /// + /// To be documented. + /// + public ref ulong RequestOutputMaskByIndex => ref Unsafe.AsRef(&Handle->RequestOutputMaskByIndex); + /// + /// To be documented. + /// + public ref ImGuiTableFlags SettingsLoadedFlags => ref Unsafe.AsRef(&Handle->SettingsLoadedFlags); + /// + /// To be documented. + /// + public ref int SettingsOffset => ref Unsafe.AsRef(&Handle->SettingsOffset); + /// + /// To be documented. + /// + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + /// + /// To be documented. + /// + public ref int ColumnsCount => ref Unsafe.AsRef(&Handle->ColumnsCount); + /// + /// To be documented. + /// + public ref int CurrentRow => ref Unsafe.AsRef(&Handle->CurrentRow); + /// + /// To be documented. + /// + public ref int CurrentColumn => ref Unsafe.AsRef(&Handle->CurrentColumn); + /// + /// To be documented. + /// + public ref short InstanceCurrent => ref Unsafe.AsRef(&Handle->InstanceCurrent); + /// + /// To be documented. + /// + public ref short InstanceInteracted => ref Unsafe.AsRef(&Handle->InstanceInteracted); + /// + /// To be documented. + /// + public ref float RowPosY1 => ref Unsafe.AsRef(&Handle->RowPosY1); + /// + /// To be documented. + /// + public ref float RowPosY2 => ref Unsafe.AsRef(&Handle->RowPosY2); + /// + /// To be documented. + /// + public ref float RowMinHeight => ref Unsafe.AsRef(&Handle->RowMinHeight); + /// + /// To be documented. + /// + public ref float RowTextBaseline => ref Unsafe.AsRef(&Handle->RowTextBaseline); + /// + /// To be documented. + /// + public ref float RowIndentOffsetX => ref Unsafe.AsRef(&Handle->RowIndentOffsetX); + /// + /// To be documented. + /// + public ref ImGuiTableRowFlags RowFlags => ref Unsafe.AsRef(&Handle->RowFlags); + /// + /// To be documented. + /// + public ref ImGuiTableRowFlags LastRowFlags => ref Unsafe.AsRef(&Handle->LastRowFlags); + /// + /// To be documented. + /// + public ref int RowBgColorCounter => ref Unsafe.AsRef(&Handle->RowBgColorCounter); + /// + /// To be documented. + /// + public unsafe Span RowBgColor + + { + get + { + return new Span(&Handle->RowBgColor_0, 2); + } + } + /// + /// To be documented. + /// + public ref uint BorderColorStrong => ref Unsafe.AsRef(&Handle->BorderColorStrong); + /// + /// To be documented. + /// + public ref uint BorderColorLight => ref Unsafe.AsRef(&Handle->BorderColorLight); + /// + /// To be documented. + /// + public ref float BorderX1 => ref Unsafe.AsRef(&Handle->BorderX1); + /// + /// To be documented. + /// + public ref float BorderX2 => ref Unsafe.AsRef(&Handle->BorderX2); + /// + /// To be documented. + /// + public ref float HostIndentX => ref Unsafe.AsRef(&Handle->HostIndentX); + /// + /// To be documented. + /// + public ref float MinColumnWidth => ref Unsafe.AsRef(&Handle->MinColumnWidth); + /// + /// To be documented. + /// + public ref float OuterPaddingX => ref Unsafe.AsRef(&Handle->OuterPaddingX); + /// + /// To be documented. + /// + public ref float CellPaddingX => ref Unsafe.AsRef(&Handle->CellPaddingX); + /// + /// To be documented. + /// + public ref float CellPaddingY => ref Unsafe.AsRef(&Handle->CellPaddingY); + /// + /// To be documented. + /// + public ref float CellSpacingX1 => ref Unsafe.AsRef(&Handle->CellSpacingX1); + /// + /// To be documented. + /// + public ref float CellSpacingX2 => ref Unsafe.AsRef(&Handle->CellSpacingX2); + /// + /// To be documented. + /// + public ref float InnerWidth => ref Unsafe.AsRef(&Handle->InnerWidth); + /// + /// To be documented. + /// + public ref float ColumnsGivenWidth => ref Unsafe.AsRef(&Handle->ColumnsGivenWidth); + /// + /// To be documented. + /// + public ref float ColumnsAutoFitWidth => ref Unsafe.AsRef(&Handle->ColumnsAutoFitWidth); + /// + /// To be documented. + /// + public ref float ColumnsStretchSumWeights => ref Unsafe.AsRef(&Handle->ColumnsStretchSumWeights); + /// + /// To be documented. + /// + public ref float ResizedColumnNextWidth => ref Unsafe.AsRef(&Handle->ResizedColumnNextWidth); + /// + /// To be documented. + /// + public ref float ResizeLockMinContentsX2 => ref Unsafe.AsRef(&Handle->ResizeLockMinContentsX2); + /// + /// To be documented. + /// + public ref float RefScale => ref Unsafe.AsRef(&Handle->RefScale); + /// + /// To be documented. + /// + public ref ImRect OuterRect => ref Unsafe.AsRef(&Handle->OuterRect); + /// + /// To be documented. + /// + public ref ImRect InnerRect => ref Unsafe.AsRef(&Handle->InnerRect); + /// + /// To be documented. + /// + public ref ImRect WorkRect => ref Unsafe.AsRef(&Handle->WorkRect); + /// + /// To be documented. + /// + public ref ImRect InnerClipRect => ref Unsafe.AsRef(&Handle->InnerClipRect); + /// + /// To be documented. + /// + public ref ImRect BgClipRect => ref Unsafe.AsRef(&Handle->BgClipRect); + /// + /// To be documented. + /// + public ref ImRect Bg0ClipRectForDrawCmd => ref Unsafe.AsRef(&Handle->Bg0ClipRectForDrawCmd); + /// + /// To be documented. + /// + public ref ImRect Bg2ClipRectForDrawCmd => ref Unsafe.AsRef(&Handle->Bg2ClipRectForDrawCmd); + /// + /// To be documented. + /// + public ref ImRect HostClipRect => ref Unsafe.AsRef(&Handle->HostClipRect); + /// + /// To be documented. + /// + public ref ImRect HostBackupInnerClipRect => ref Unsafe.AsRef(&Handle->HostBackupInnerClipRect); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr OuterWindow => ref Unsafe.AsRef(&Handle->OuterWindow); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr InnerWindow => ref Unsafe.AsRef(&Handle->InnerWindow); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer ColumnsNames => ref Unsafe.AsRef(&Handle->ColumnsNames); + /// + /// To be documented. + /// + public ref ImDrawListSplitterPtr DrawSplitter => ref Unsafe.AsRef(&Handle->DrawSplitter); + /// + /// To be documented. + /// + public ref ImGuiTableInstanceData InstanceDataFirst => ref Unsafe.AsRef(&Handle->InstanceDataFirst); + /// + /// To be documented. + /// + public ref ImVector InstanceDataExtra => ref Unsafe.AsRef>(&Handle->InstanceDataExtra); + /// + /// To be documented. + /// + public ref ImGuiTableColumnSortSpecs SortSpecsSingle => ref Unsafe.AsRef(&Handle->SortSpecsSingle); + /// + /// To be documented. + /// + public ref ImVector SortSpecsMulti => ref Unsafe.AsRef>(&Handle->SortSpecsMulti); + /// + /// To be documented. + /// + public ref ImGuiTableSortSpecs SortSpecs => ref Unsafe.AsRef(&Handle->SortSpecs); + /// + /// To be documented. + /// + public ref sbyte SortSpecsCount => ref Unsafe.AsRef(&Handle->SortSpecsCount); + /// + /// To be documented. + /// + public ref sbyte ColumnsEnabledCount => ref Unsafe.AsRef(&Handle->ColumnsEnabledCount); + /// + /// To be documented. + /// + public ref sbyte ColumnsEnabledFixedCount => ref Unsafe.AsRef(&Handle->ColumnsEnabledFixedCount); + /// + /// To be documented. + /// + public ref sbyte DeclColumnsCount => ref Unsafe.AsRef(&Handle->DeclColumnsCount); + /// + /// To be documented. + /// + public ref sbyte HoveredColumnBody => ref Unsafe.AsRef(&Handle->HoveredColumnBody); + /// + /// To be documented. + /// + public ref sbyte HoveredColumnBorder => ref Unsafe.AsRef(&Handle->HoveredColumnBorder); + /// + /// To be documented. + /// + public ref sbyte AutoFitSingleColumn => ref Unsafe.AsRef(&Handle->AutoFitSingleColumn); + /// + /// To be documented. + /// + public ref sbyte ResizedColumn => ref Unsafe.AsRef(&Handle->ResizedColumn); + /// + /// To be documented. + /// + public ref sbyte LastResizedColumn => ref Unsafe.AsRef(&Handle->LastResizedColumn); + /// + /// To be documented. + /// + public ref sbyte HeldHeaderColumn => ref Unsafe.AsRef(&Handle->HeldHeaderColumn); + /// + /// To be documented. + /// + public ref sbyte ReorderColumn => ref Unsafe.AsRef(&Handle->ReorderColumn); + /// + /// To be documented. + /// + public ref sbyte ReorderColumnDir => ref Unsafe.AsRef(&Handle->ReorderColumnDir); + /// + /// To be documented. + /// + public ref sbyte LeftMostEnabledColumn => ref Unsafe.AsRef(&Handle->LeftMostEnabledColumn); + /// + /// To be documented. + /// + public ref sbyte RightMostEnabledColumn => ref Unsafe.AsRef(&Handle->RightMostEnabledColumn); + /// + /// To be documented. + /// + public ref sbyte LeftMostStretchedColumn => ref Unsafe.AsRef(&Handle->LeftMostStretchedColumn); + /// + /// To be documented. + /// + public ref sbyte RightMostStretchedColumn => ref Unsafe.AsRef(&Handle->RightMostStretchedColumn); + /// + /// To be documented. + /// + public ref sbyte ContextPopupColumn => ref Unsafe.AsRef(&Handle->ContextPopupColumn); + /// + /// To be documented. + /// + public ref sbyte FreezeRowsRequest => ref Unsafe.AsRef(&Handle->FreezeRowsRequest); + /// + /// To be documented. + /// + public ref sbyte FreezeRowsCount => ref Unsafe.AsRef(&Handle->FreezeRowsCount); + /// + /// To be documented. + /// + public ref sbyte FreezeColumnsRequest => ref Unsafe.AsRef(&Handle->FreezeColumnsRequest); + /// + /// To be documented. + /// + public ref sbyte FreezeColumnsCount => ref Unsafe.AsRef(&Handle->FreezeColumnsCount); + /// + /// To be documented. + /// + public ref sbyte RowCellDataCurrent => ref Unsafe.AsRef(&Handle->RowCellDataCurrent); + /// + /// To be documented. + /// + public ref byte DummyDrawChannel => ref Unsafe.AsRef(&Handle->DummyDrawChannel); + /// + /// To be documented. + /// + public ref byte Bg2DrawChannelCurrent => ref Unsafe.AsRef(&Handle->Bg2DrawChannelCurrent); + /// + /// To be documented. + /// + public ref byte Bg2DrawChannelUnfrozen => ref Unsafe.AsRef(&Handle->Bg2DrawChannelUnfrozen); + /// + /// To be documented. + /// + public ref bool IsLayoutLocked => ref Unsafe.AsRef(&Handle->IsLayoutLocked); + /// + /// To be documented. + /// + public ref bool IsInsideRow => ref Unsafe.AsRef(&Handle->IsInsideRow); + /// + /// To be documented. + /// + public ref bool IsInitializing => ref Unsafe.AsRef(&Handle->IsInitializing); + /// + /// To be documented. + /// + public ref bool IsSortSpecsDirty => ref Unsafe.AsRef(&Handle->IsSortSpecsDirty); + /// + /// To be documented. + /// + public ref bool IsUsingHeaders => ref Unsafe.AsRef(&Handle->IsUsingHeaders); + /// + /// To be documented. + /// + public ref bool IsContextPopupOpen => ref Unsafe.AsRef(&Handle->IsContextPopupOpen); + /// + /// To be documented. + /// + public ref bool IsSettingsRequestLoad => ref Unsafe.AsRef(&Handle->IsSettingsRequestLoad); + /// + /// To be documented. + /// + public ref bool IsSettingsDirty => ref Unsafe.AsRef(&Handle->IsSettingsDirty); + /// + /// To be documented. + /// + public ref bool IsDefaultDisplayOrder => ref Unsafe.AsRef(&Handle->IsDefaultDisplayOrder); + /// + /// To be documented. + /// + public ref bool IsResetAllRequest => ref Unsafe.AsRef(&Handle->IsResetAllRequest); + /// + /// To be documented. + /// + public ref bool IsResetDisplayOrderRequest => ref Unsafe.AsRef(&Handle->IsResetDisplayOrderRequest); + /// + /// To be documented. + /// + public ref bool IsUnfrozenRows => ref Unsafe.AsRef(&Handle->IsUnfrozenRows); + /// + /// To be documented. + /// + public ref bool IsDefaultSizingPolicy => ref Unsafe.AsRef(&Handle->IsDefaultSizingPolicy); + /// + /// To be documented. + /// + public ref bool MemoryCompacted => ref Unsafe.AsRef(&Handle->MemoryCompacted); + /// + /// To be documented. + /// + public ref bool HostSkipItems => ref Unsafe.AsRef(&Handle->HostSkipItems); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableCellData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableCellData.cs new file mode 100644 index 000000000..e321c25be --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableCellData.cs @@ -0,0 +1,100 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Transient cell data stored per row.
+ /// sizeof() ~ 6 bytes
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableCellData + { + /// + /// To be documented. + /// + public uint BgColor; + + /// + /// To be documented. + /// + public sbyte Column; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableCellData(uint bgColor = default, sbyte column = default) + { + BgColor = bgColor; + Column = column; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableCellDataPtr : IEquatable + { + public ImGuiTableCellDataPtr(ImGuiTableCellData* handle) { Handle = handle; } + + public ImGuiTableCellData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableCellDataPtr Null => new ImGuiTableCellDataPtr(null); + + public ImGuiTableCellData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableCellDataPtr(ImGuiTableCellData* handle) => new ImGuiTableCellDataPtr(handle); + + public static implicit operator ImGuiTableCellData*(ImGuiTableCellDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableCellDataPtr left, ImGuiTableCellDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableCellDataPtr left, ImGuiTableCellDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableCellDataPtr left, ImGuiTableCellData* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableCellDataPtr left, ImGuiTableCellData* right) => left.Handle != right; + + public bool Equals(ImGuiTableCellDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableCellDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableCellDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint BgColor => ref Unsafe.AsRef(&Handle->BgColor); + /// + /// To be documented. + /// + public ref sbyte Column => ref Unsafe.AsRef(&Handle->Column); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumn.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumn.cs new file mode 100644 index 000000000..037a9f5f7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumn.cs @@ -0,0 +1,511 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// [Internal] sizeof() ~ 112
+ /// We use the terminology "Enabled" to refer to a column that is not Hidden by userapi.
+ /// We use the terminology "Clipped" to refer to a column that is out of sight because of scrollingclipping.
+ /// This is in contrast with some user-facing api such as IsItemVisible() IsRectVisible() which use "Visible" to mean "not clipped".
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumn + { + /// + /// To be documented. + /// + public ImGuiTableColumnFlags Flags; + + /// + /// To be documented. + /// + public float WidthGiven; + + /// + /// To be documented. + /// + public float MinX; + + /// + /// To be documented. + /// + public float MaxX; + + /// + /// To be documented. + /// + public float WidthRequest; + + /// + /// To be documented. + /// + public float WidthAuto; + + /// + /// To be documented. + /// + public float StretchWeight; + + /// + /// To be documented. + /// + public float InitStretchWeightOrWidth; + + /// + /// To be documented. + /// + public ImRect ClipRect; + + /// + /// To be documented. + /// + public uint UserID; + + /// + /// To be documented. + /// + public float WorkMinX; + + /// + /// To be documented. + /// + public float WorkMaxX; + + /// + /// To be documented. + /// + public float ItemWidth; + + /// + /// To be documented. + /// + public float ContentMaxXFrozen; + + /// + /// To be documented. + /// + public float ContentMaxXUnfrozen; + + /// + /// To be documented. + /// + public float ContentMaxXHeadersUsed; + + /// + /// To be documented. + /// + public float ContentMaxXHeadersIdeal; + + /// + /// To be documented. + /// + public short NameOffset; + + /// + /// To be documented. + /// + public sbyte DisplayOrder; + + /// + /// To be documented. + /// + public sbyte IndexWithinEnabledSet; + + /// + /// To be documented. + /// + public sbyte PrevEnabledColumn; + + /// + /// To be documented. + /// + public sbyte NextEnabledColumn; + + /// + /// To be documented. + /// + public sbyte SortOrder; + + /// + /// To be documented. + /// + public byte DrawChannelCurrent; + + /// + /// To be documented. + /// + public byte DrawChannelFrozen; + + /// + /// To be documented. + /// + public byte DrawChannelUnfrozen; + + /// + /// To be documented. + /// + public byte IsEnabled; + + /// + /// To be documented. + /// + public byte IsUserEnabled; + + /// + /// To be documented. + /// + public byte IsUserEnabledNextFrame; + + /// + /// To be documented. + /// + public byte IsVisibleX; + + /// + /// To be documented. + /// + public byte IsVisibleY; + + /// + /// To be documented. + /// + public byte IsRequestOutput; + + /// + /// To be documented. + /// + public byte IsSkipItems; + + /// + /// To be documented. + /// + public byte IsPreserveWidthAuto; + + /// + /// To be documented. + /// + public byte NavLayerCurrent; + + /// + /// To be documented. + /// + public byte AutoFitQueue; + + /// + /// To be documented. + /// + public byte CannotSkipItemsQueue; + + /// + /// To be documented. + /// + public byte SortDirection; + + /// + /// To be documented. + /// + public byte SortDirectionsAvailCount; + + /// + /// To be documented. + /// + public byte SortDirectionsAvailMask; + + /// + /// To be documented. + /// + public byte SortDirectionsAvailList; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableColumn(ImGuiTableColumnFlags flags = default, float widthGiven = default, float minX = default, float maxX = default, float widthRequest = default, float widthAuto = default, float stretchWeight = default, float initStretchWeightOrWidth = default, ImRect clipRect = default, uint userId = default, float workMinX = default, float workMaxX = default, float itemWidth = default, float contentMaxXFrozen = default, float contentMaxXUnfrozen = default, float contentMaxXHeadersUsed = default, float contentMaxXHeadersIdeal = default, short nameOffset = default, sbyte displayOrder = default, sbyte indexWithinEnabledSet = default, sbyte prevEnabledColumn = default, sbyte nextEnabledColumn = default, sbyte sortOrder = default, byte drawChannelCurrent = default, byte drawChannelFrozen = default, byte drawChannelUnfrozen = default, bool isEnabled = default, bool isUserEnabled = default, bool isUserEnabledNextFrame = default, bool isVisibleX = default, bool isVisibleY = default, bool isRequestOutput = default, bool isSkipItems = default, bool isPreserveWidthAuto = default, byte navLayerCurrent = default, byte autoFitQueue = default, byte cannotSkipItemsQueue = default, byte sortDirection = default, byte sortDirectionsAvailCount = default, byte sortDirectionsAvailMask = default, byte sortDirectionsAvailList = default) + { + Flags = flags; + WidthGiven = widthGiven; + MinX = minX; + MaxX = maxX; + WidthRequest = widthRequest; + WidthAuto = widthAuto; + StretchWeight = stretchWeight; + InitStretchWeightOrWidth = initStretchWeightOrWidth; + ClipRect = clipRect; + UserID = userId; + WorkMinX = workMinX; + WorkMaxX = workMaxX; + ItemWidth = itemWidth; + ContentMaxXFrozen = contentMaxXFrozen; + ContentMaxXUnfrozen = contentMaxXUnfrozen; + ContentMaxXHeadersUsed = contentMaxXHeadersUsed; + ContentMaxXHeadersIdeal = contentMaxXHeadersIdeal; + NameOffset = nameOffset; + DisplayOrder = displayOrder; + IndexWithinEnabledSet = indexWithinEnabledSet; + PrevEnabledColumn = prevEnabledColumn; + NextEnabledColumn = nextEnabledColumn; + SortOrder = sortOrder; + DrawChannelCurrent = drawChannelCurrent; + DrawChannelFrozen = drawChannelFrozen; + DrawChannelUnfrozen = drawChannelUnfrozen; + IsEnabled = isEnabled ? (byte)1 : (byte)0; + IsUserEnabled = isUserEnabled ? (byte)1 : (byte)0; + IsUserEnabledNextFrame = isUserEnabledNextFrame ? (byte)1 : (byte)0; + IsVisibleX = isVisibleX ? (byte)1 : (byte)0; + IsVisibleY = isVisibleY ? (byte)1 : (byte)0; + IsRequestOutput = isRequestOutput ? (byte)1 : (byte)0; + IsSkipItems = isSkipItems ? (byte)1 : (byte)0; + IsPreserveWidthAuto = isPreserveWidthAuto ? (byte)1 : (byte)0; + NavLayerCurrent = navLayerCurrent; + AutoFitQueue = autoFitQueue; + CannotSkipItemsQueue = cannotSkipItemsQueue; + SortDirection = sortDirection; + SortDirectionsAvailCount = sortDirectionsAvailCount; + SortDirectionsAvailMask = sortDirectionsAvailMask; + SortDirectionsAvailList = sortDirectionsAvailList; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTableColumn* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableColumnPtr : IEquatable + { + public ImGuiTableColumnPtr(ImGuiTableColumn* handle) { Handle = handle; } + + public ImGuiTableColumn* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableColumnPtr Null => new ImGuiTableColumnPtr(null); + + public ImGuiTableColumn this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableColumnPtr(ImGuiTableColumn* handle) => new ImGuiTableColumnPtr(handle); + + public static implicit operator ImGuiTableColumn*(ImGuiTableColumnPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableColumnPtr left, ImGuiTableColumnPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableColumnPtr left, ImGuiTableColumnPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableColumnPtr left, ImGuiTableColumn* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableColumnPtr left, ImGuiTableColumn* right) => left.Handle != right; + + public bool Equals(ImGuiTableColumnPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableColumnPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableColumnPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiTableColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref float WidthGiven => ref Unsafe.AsRef(&Handle->WidthGiven); + /// + /// To be documented. + /// + public ref float MinX => ref Unsafe.AsRef(&Handle->MinX); + /// + /// To be documented. + /// + public ref float MaxX => ref Unsafe.AsRef(&Handle->MaxX); + /// + /// To be documented. + /// + public ref float WidthRequest => ref Unsafe.AsRef(&Handle->WidthRequest); + /// + /// To be documented. + /// + public ref float WidthAuto => ref Unsafe.AsRef(&Handle->WidthAuto); + /// + /// To be documented. + /// + public ref float StretchWeight => ref Unsafe.AsRef(&Handle->StretchWeight); + /// + /// To be documented. + /// + public ref float InitStretchWeightOrWidth => ref Unsafe.AsRef(&Handle->InitStretchWeightOrWidth); + /// + /// To be documented. + /// + public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + /// + /// To be documented. + /// + public ref uint UserID => ref Unsafe.AsRef(&Handle->UserID); + /// + /// To be documented. + /// + public ref float WorkMinX => ref Unsafe.AsRef(&Handle->WorkMinX); + /// + /// To be documented. + /// + public ref float WorkMaxX => ref Unsafe.AsRef(&Handle->WorkMaxX); + /// + /// To be documented. + /// + public ref float ItemWidth => ref Unsafe.AsRef(&Handle->ItemWidth); + /// + /// To be documented. + /// + public ref float ContentMaxXFrozen => ref Unsafe.AsRef(&Handle->ContentMaxXFrozen); + /// + /// To be documented. + /// + public ref float ContentMaxXUnfrozen => ref Unsafe.AsRef(&Handle->ContentMaxXUnfrozen); + /// + /// To be documented. + /// + public ref float ContentMaxXHeadersUsed => ref Unsafe.AsRef(&Handle->ContentMaxXHeadersUsed); + /// + /// To be documented. + /// + public ref float ContentMaxXHeadersIdeal => ref Unsafe.AsRef(&Handle->ContentMaxXHeadersIdeal); + /// + /// To be documented. + /// + public ref short NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); + /// + /// To be documented. + /// + public ref sbyte DisplayOrder => ref Unsafe.AsRef(&Handle->DisplayOrder); + /// + /// To be documented. + /// + public ref sbyte IndexWithinEnabledSet => ref Unsafe.AsRef(&Handle->IndexWithinEnabledSet); + /// + /// To be documented. + /// + public ref sbyte PrevEnabledColumn => ref Unsafe.AsRef(&Handle->PrevEnabledColumn); + /// + /// To be documented. + /// + public ref sbyte NextEnabledColumn => ref Unsafe.AsRef(&Handle->NextEnabledColumn); + /// + /// To be documented. + /// + public ref sbyte SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); + /// + /// To be documented. + /// + public ref byte DrawChannelCurrent => ref Unsafe.AsRef(&Handle->DrawChannelCurrent); + /// + /// To be documented. + /// + public ref byte DrawChannelFrozen => ref Unsafe.AsRef(&Handle->DrawChannelFrozen); + /// + /// To be documented. + /// + public ref byte DrawChannelUnfrozen => ref Unsafe.AsRef(&Handle->DrawChannelUnfrozen); + /// + /// To be documented. + /// + public ref bool IsEnabled => ref Unsafe.AsRef(&Handle->IsEnabled); + /// + /// To be documented. + /// + public ref bool IsUserEnabled => ref Unsafe.AsRef(&Handle->IsUserEnabled); + /// + /// To be documented. + /// + public ref bool IsUserEnabledNextFrame => ref Unsafe.AsRef(&Handle->IsUserEnabledNextFrame); + /// + /// To be documented. + /// + public ref bool IsVisibleX => ref Unsafe.AsRef(&Handle->IsVisibleX); + /// + /// To be documented. + /// + public ref bool IsVisibleY => ref Unsafe.AsRef(&Handle->IsVisibleY); + /// + /// To be documented. + /// + public ref bool IsRequestOutput => ref Unsafe.AsRef(&Handle->IsRequestOutput); + /// + /// To be documented. + /// + public ref bool IsSkipItems => ref Unsafe.AsRef(&Handle->IsSkipItems); + /// + /// To be documented. + /// + public ref bool IsPreserveWidthAuto => ref Unsafe.AsRef(&Handle->IsPreserveWidthAuto); + /// + /// To be documented. + /// + public ref byte NavLayerCurrent => ref Unsafe.AsRef(&Handle->NavLayerCurrent); + /// + /// To be documented. + /// + public ref byte AutoFitQueue => ref Unsafe.AsRef(&Handle->AutoFitQueue); + /// + /// To be documented. + /// + public ref byte CannotSkipItemsQueue => ref Unsafe.AsRef(&Handle->CannotSkipItemsQueue); + /// + /// To be documented. + /// + public ref byte SortDirection => ref Unsafe.AsRef(&Handle->SortDirection); + /// + /// To be documented. + /// + public ref byte SortDirectionsAvailCount => ref Unsafe.AsRef(&Handle->SortDirectionsAvailCount); + /// + /// To be documented. + /// + public ref byte SortDirectionsAvailMask => ref Unsafe.AsRef(&Handle->SortDirectionsAvailMask); + /// + /// To be documented. + /// + public ref byte SortDirectionsAvailList => ref Unsafe.AsRef(&Handle->SortDirectionsAvailList); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnSettings.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnSettings.cs new file mode 100644 index 000000000..a57aa666b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnSettings.cs @@ -0,0 +1,178 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// sizeof() ~ 16
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumnSettings + { + /// + /// To be documented. + /// + public float WidthOrWeight; + + /// + /// To be documented. + /// + public uint UserID; + + /// + /// To be documented. + /// + public sbyte Index; + + /// + /// To be documented. + /// + public sbyte DisplayOrder; + + /// + /// To be documented. + /// + public sbyte SortOrder; + + /// + /// To be documented. + /// + public byte SortDirection; + + /// + /// To be documented. + /// + public byte IsEnabled; + + /// + /// To be documented. + /// + public byte IsStretch; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableColumnSettings(float widthOrWeight = default, uint userId = default, sbyte index = default, sbyte displayOrder = default, sbyte sortOrder = default, byte sortDirection = default, byte isEnabled = default, byte isStretch = default) + { + WidthOrWeight = widthOrWeight; + UserID = userId; + Index = index; + DisplayOrder = displayOrder; + SortOrder = sortOrder; + SortDirection = sortDirection; + IsEnabled = isEnabled; + IsStretch = isStretch; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTableColumnSettings* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableColumnSettingsPtr : IEquatable + { + public ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* handle) { Handle = handle; } + + public ImGuiTableColumnSettings* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableColumnSettingsPtr Null => new ImGuiTableColumnSettingsPtr(null); + + public ImGuiTableColumnSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* handle) => new ImGuiTableColumnSettingsPtr(handle); + + public static implicit operator ImGuiTableColumnSettings*(ImGuiTableColumnSettingsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettingsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettingsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettings* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettings* right) => left.Handle != right; + + public bool Equals(ImGuiTableColumnSettingsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableColumnSettingsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableColumnSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref float WidthOrWeight => ref Unsafe.AsRef(&Handle->WidthOrWeight); + /// + /// To be documented. + /// + public ref uint UserID => ref Unsafe.AsRef(&Handle->UserID); + /// + /// To be documented. + /// + public ref sbyte Index => ref Unsafe.AsRef(&Handle->Index); + /// + /// To be documented. + /// + public ref sbyte DisplayOrder => ref Unsafe.AsRef(&Handle->DisplayOrder); + /// + /// To be documented. + /// + public ref sbyte SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); + /// + /// To be documented. + /// + public ref byte SortDirection => ref Unsafe.AsRef(&Handle->SortDirection); + /// + /// To be documented. + /// + public ref byte IsEnabled => ref Unsafe.AsRef(&Handle->IsEnabled); + /// + /// To be documented. + /// + public ref byte IsStretch => ref Unsafe.AsRef(&Handle->IsStretch); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnSortSpecs.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnSortSpecs.cs new file mode 100644 index 000000000..b61fb18fb --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnSortSpecs.cs @@ -0,0 +1,138 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Sorting specification for one column of a table (sizeof == 12 bytes)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumnSortSpecs + { + /// + /// To be documented. + /// + public uint ColumnUserID; + + /// + /// To be documented. + /// + public short ColumnIndex; + + /// + /// To be documented. + /// + public short SortOrder; + + /// + /// To be documented. + /// + public ImGuiSortDirection SortDirection; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableColumnSortSpecs(uint columnUserId = default, short columnIndex = default, short sortOrder = default, ImGuiSortDirection sortDirection = default) + { + ColumnUserID = columnUserId; + ColumnIndex = columnIndex; + SortOrder = sortOrder; + SortDirection = sortDirection; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTableColumnSortSpecs* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableColumnSortSpecsPtr : IEquatable + { + public ImGuiTableColumnSortSpecsPtr(ImGuiTableColumnSortSpecs* handle) { Handle = handle; } + + public ImGuiTableColumnSortSpecs* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableColumnSortSpecsPtr Null => new ImGuiTableColumnSortSpecsPtr(null); + + public ImGuiTableColumnSortSpecs this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableColumnSortSpecsPtr(ImGuiTableColumnSortSpecs* handle) => new ImGuiTableColumnSortSpecsPtr(handle); + + public static implicit operator ImGuiTableColumnSortSpecs*(ImGuiTableColumnSortSpecsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecs* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecs* right) => left.Handle != right; + + public bool Equals(ImGuiTableColumnSortSpecsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableColumnSortSpecsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableColumnSortSpecsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ColumnUserID => ref Unsafe.AsRef(&Handle->ColumnUserID); + /// + /// To be documented. + /// + public ref short ColumnIndex => ref Unsafe.AsRef(&Handle->ColumnIndex); + /// + /// To be documented. + /// + public ref short SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); + /// + /// To be documented. + /// + public ref ImGuiSortDirection SortDirection => ref Unsafe.AsRef(&Handle->SortDirection); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnsSettings.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnsSettings.cs new file mode 100644 index 000000000..c0945b51b --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableColumnsSettings.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumnsSettings + { + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableInstanceData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableInstanceData.cs new file mode 100644 index 000000000..e8e5f310a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableInstanceData.cs @@ -0,0 +1,119 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
+ /// sizeof() ~ 24 bytes
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableInstanceData + { + /// + /// To be documented. + /// + public float LastOuterHeight; + + /// + /// To be documented. + /// + public float LastFirstRowHeight; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableInstanceData(float lastOuterHeight = default, float lastFirstRowHeight = default) + { + LastOuterHeight = lastOuterHeight; + LastFirstRowHeight = lastFirstRowHeight; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTableInstanceData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableInstanceDataPtr : IEquatable + { + public ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* handle) { Handle = handle; } + + public ImGuiTableInstanceData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableInstanceDataPtr Null => new ImGuiTableInstanceDataPtr(null); + + public ImGuiTableInstanceData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* handle) => new ImGuiTableInstanceDataPtr(handle); + + public static implicit operator ImGuiTableInstanceData*(ImGuiTableInstanceDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceData* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceData* right) => left.Handle != right; + + public bool Equals(ImGuiTableInstanceDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableInstanceDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableInstanceDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref float LastOuterHeight => ref Unsafe.AsRef(&Handle->LastOuterHeight); + /// + /// To be documented. + /// + public ref float LastFirstRowHeight => ref Unsafe.AsRef(&Handle->LastFirstRowHeight); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableSettings.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableSettings.cs new file mode 100644 index 000000000..140412e28 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableSettings.cs @@ -0,0 +1,158 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// This is designed to be stored in a single ImChunkStream (1 header followed by N ImGuiTableColumnSettings, etc.)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableSettings + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiTableFlags SaveFlags; + + /// + /// To be documented. + /// + public float RefScale; + + /// + /// To be documented. + /// + public sbyte ColumnsCount; + + /// + /// To be documented. + /// + public sbyte ColumnsCountMax; + + /// + /// To be documented. + /// + public byte WantApply; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableSettings(uint id = default, ImGuiTableFlags saveFlags = default, float refScale = default, sbyte columnsCount = default, sbyte columnsCountMax = default, bool wantApply = default) + { + ID = id; + SaveFlags = saveFlags; + RefScale = refScale; + ColumnsCount = columnsCount; + ColumnsCountMax = columnsCountMax; + WantApply = wantApply ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTableSettings* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableSettingsPtr : IEquatable + { + public ImGuiTableSettingsPtr(ImGuiTableSettings* handle) { Handle = handle; } + + public ImGuiTableSettings* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableSettingsPtr Null => new ImGuiTableSettingsPtr(null); + + public ImGuiTableSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableSettingsPtr(ImGuiTableSettings* handle) => new ImGuiTableSettingsPtr(handle); + + public static implicit operator ImGuiTableSettings*(ImGuiTableSettingsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableSettingsPtr left, ImGuiTableSettingsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableSettingsPtr left, ImGuiTableSettingsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableSettingsPtr left, ImGuiTableSettings* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableSettingsPtr left, ImGuiTableSettings* right) => left.Handle != right; + + public bool Equals(ImGuiTableSettingsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableSettingsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiTableFlags SaveFlags => ref Unsafe.AsRef(&Handle->SaveFlags); + /// + /// To be documented. + /// + public ref float RefScale => ref Unsafe.AsRef(&Handle->RefScale); + /// + /// To be documented. + /// + public ref sbyte ColumnsCount => ref Unsafe.AsRef(&Handle->ColumnsCount); + /// + /// To be documented. + /// + public ref sbyte ColumnsCountMax => ref Unsafe.AsRef(&Handle->ColumnsCountMax); + /// + /// To be documented. + /// + public ref bool WantApply => ref Unsafe.AsRef(&Handle->WantApply); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableSortSpecs.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableSortSpecs.cs new file mode 100644 index 000000000..b21410265 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableSortSpecs.cs @@ -0,0 +1,131 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Sorting specifications for a table (often handling sort specs for a single column, occasionally more)
+ /// Obtained by calling TableGetSortSpecs().
+ /// When 'SpecsDirty == true' you can sort your data. It will be true with sorting specs have changed since last call, or the first time.
+ /// Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame!
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableSortSpecs + { + /// + /// To be documented. + /// + public unsafe ImGuiTableColumnSortSpecs* Specs; + + /// + /// To be documented. + /// + public int SpecsCount; + + /// + /// To be documented. + /// + public byte SpecsDirty; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableSortSpecs(ImGuiTableColumnSortSpecsPtr specs = default, int specsCount = default, bool specsDirty = default) + { + Specs = specs; + SpecsCount = specsCount; + SpecsDirty = specsDirty ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTableSortSpecs* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableSortSpecsPtr : IEquatable + { + public ImGuiTableSortSpecsPtr(ImGuiTableSortSpecs* handle) { Handle = handle; } + + public ImGuiTableSortSpecs* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableSortSpecsPtr Null => new ImGuiTableSortSpecsPtr(null); + + public ImGuiTableSortSpecs this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableSortSpecsPtr(ImGuiTableSortSpecs* handle) => new ImGuiTableSortSpecsPtr(handle); + + public static implicit operator ImGuiTableSortSpecs*(ImGuiTableSortSpecsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecs* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecs* right) => left.Handle != right; + + public bool Equals(ImGuiTableSortSpecsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableSortSpecsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableSortSpecsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiTableColumnSortSpecsPtr Specs => ref Unsafe.AsRef(&Handle->Specs); + /// + /// To be documented. + /// + public ref int SpecsCount => ref Unsafe.AsRef(&Handle->SpecsCount); + /// + /// To be documented. + /// + public ref bool SpecsDirty => ref Unsafe.AsRef(&Handle->SpecsDirty); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableTempData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableTempData.cs new file mode 100644 index 000000000..6a1e2992c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTableTempData.cs @@ -0,0 +1,222 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
+ /// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
+ /// - We also leave out of this structure data that tend to be particularly useful for debuggingmetrics.
+ /// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
+ /// sizeof() ~ 136 bytes.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableTempData + { + /// + /// To be documented. + /// + public int TableIndex; + + /// + /// To be documented. + /// + public float LastTimeActive; + + /// + /// To be documented. + /// + public Vector2 UserOuterSize; + + /// + /// To be documented. + /// + public ImDrawListSplitter DrawSplitter; + + /// + /// To be documented. + /// + public ImRect HostBackupWorkRect; + + /// + /// To be documented. + /// + public ImRect HostBackupParentWorkRect; + + /// + /// To be documented. + /// + public Vector2 HostBackupPrevLineSize; + + /// + /// To be documented. + /// + public Vector2 HostBackupCurrLineSize; + + /// + /// To be documented. + /// + public Vector2 HostBackupCursorMaxPos; + + /// + /// To be documented. + /// + public ImVec1 HostBackupColumnsOffset; + + /// + /// To be documented. + /// + public float HostBackupItemWidth; + + /// + /// To be documented. + /// + public int HostBackupItemWidthStackSize; + + + /// + /// To be documented. + /// + public unsafe ImGuiTableTempData(int tableIndex = default, float lastTimeActive = default, Vector2 userOuterSize = default, ImDrawListSplitter drawSplitter = default, ImRect hostBackupWorkRect = default, ImRect hostBackupParentWorkRect = default, Vector2 hostBackupPrevLineSize = default, Vector2 hostBackupCurrLineSize = default, Vector2 hostBackupCursorMaxPos = default, ImVec1 hostBackupColumnsOffset = default, float hostBackupItemWidth = default, int hostBackupItemWidthStackSize = default) + { + TableIndex = tableIndex; + LastTimeActive = lastTimeActive; + UserOuterSize = userOuterSize; + DrawSplitter = drawSplitter; + HostBackupWorkRect = hostBackupWorkRect; + HostBackupParentWorkRect = hostBackupParentWorkRect; + HostBackupPrevLineSize = hostBackupPrevLineSize; + HostBackupCurrLineSize = hostBackupCurrLineSize; + HostBackupCursorMaxPos = hostBackupCursorMaxPos; + HostBackupColumnsOffset = hostBackupColumnsOffset; + HostBackupItemWidth = hostBackupItemWidth; + HostBackupItemWidthStackSize = hostBackupItemWidthStackSize; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTableTempData* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTableTempDataPtr : IEquatable + { + public ImGuiTableTempDataPtr(ImGuiTableTempData* handle) { Handle = handle; } + + public ImGuiTableTempData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTableTempDataPtr Null => new ImGuiTableTempDataPtr(null); + + public ImGuiTableTempData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTableTempDataPtr(ImGuiTableTempData* handle) => new ImGuiTableTempDataPtr(handle); + + public static implicit operator ImGuiTableTempData*(ImGuiTableTempDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTableTempDataPtr left, ImGuiTableTempDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTableTempDataPtr left, ImGuiTableTempDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTableTempDataPtr left, ImGuiTableTempData* right) => left.Handle == right; + + public static bool operator !=(ImGuiTableTempDataPtr left, ImGuiTableTempData* right) => left.Handle != right; + + public bool Equals(ImGuiTableTempDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTableTempDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTableTempDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref int TableIndex => ref Unsafe.AsRef(&Handle->TableIndex); + /// + /// To be documented. + /// + public ref float LastTimeActive => ref Unsafe.AsRef(&Handle->LastTimeActive); + /// + /// To be documented. + /// + public ref Vector2 UserOuterSize => ref Unsafe.AsRef(&Handle->UserOuterSize); + /// + /// To be documented. + /// + public ref ImDrawListSplitter DrawSplitter => ref Unsafe.AsRef(&Handle->DrawSplitter); + /// + /// To be documented. + /// + public ref ImRect HostBackupWorkRect => ref Unsafe.AsRef(&Handle->HostBackupWorkRect); + /// + /// To be documented. + /// + public ref ImRect HostBackupParentWorkRect => ref Unsafe.AsRef(&Handle->HostBackupParentWorkRect); + /// + /// To be documented. + /// + public ref Vector2 HostBackupPrevLineSize => ref Unsafe.AsRef(&Handle->HostBackupPrevLineSize); + /// + /// To be documented. + /// + public ref Vector2 HostBackupCurrLineSize => ref Unsafe.AsRef(&Handle->HostBackupCurrLineSize); + /// + /// To be documented. + /// + public ref Vector2 HostBackupCursorMaxPos => ref Unsafe.AsRef(&Handle->HostBackupCursorMaxPos); + /// + /// To be documented. + /// + public ref ImVec1 HostBackupColumnsOffset => ref Unsafe.AsRef(&Handle->HostBackupColumnsOffset); + /// + /// To be documented. + /// + public ref float HostBackupItemWidth => ref Unsafe.AsRef(&Handle->HostBackupItemWidth); + /// + /// To be documented. + /// + public ref int HostBackupItemWidthStackSize => ref Unsafe.AsRef(&Handle->HostBackupItemWidthStackSize); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextBuffer.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextBuffer.cs new file mode 100644 index 000000000..f33c8df35 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextBuffer.cs @@ -0,0 +1,1441 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: Growable text buffer for loggingaccumulating text
+ /// (this could be called 'ImGuiTextBuilder' 'ImGuiStringBuilder')
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTextBuffer + { + /// + /// To be documented. + /// + public ImVector Buf; + + + /// + /// To be documented. + /// + public unsafe ImGuiTextBuffer(ImVector buf = default) + { + Buf = buf; + } + + + /// + /// To be documented. + /// + public unsafe void append(byte* str, byte* strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGui.appendNative(@this, str, strEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str) + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGui.appendNative(@this, str, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, byte* strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = &str) + { + ImGui.appendNative(@this, (byte*)pstr, strEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = &str) + { + ImGui.appendNative(@this, (byte*)pstr, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, byte* strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = str) + { + ImGui.appendNative(@this, (byte*)pstr, strEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = str) + { + ImGui.appendNative(@this, (byte*)pstr, (byte*)(default)); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, byte* strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(@this, pStr0, strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(@this, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(@this, str, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(@this, str, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str, string strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(@this, str, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, string strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (strEnd != null) + { + pStrSize1 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ImGui.appendNative(@this, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, string strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = &str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(@this, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, string strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pstr = str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(@this, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, ref byte strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(@this, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, ReadOnlySpan strEnd) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(@this, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(byte* fmt) + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGui.appendfNative(@this, fmt); + } + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(ref byte fmt) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pfmt = &fmt) + { + ImGui.appendfNative(@this, (byte*)pfmt); + } + } + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(ReadOnlySpan fmt) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pfmt = fmt) + { + ImGui.appendfNative(@this, (byte*)pfmt); + } + } + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(string fmt) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendfNative(@this, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void appendfv(byte* fmt, nuint args) + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGui.appendfvNative(@this, fmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void appendfv(ref byte fmt, nuint args) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pfmt = &fmt) + { + ImGui.appendfvNative(@this, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public unsafe void appendfv(ReadOnlySpan fmt, nuint args) + { + fixed (ImGuiTextBuffer* @this = &this) + { + fixed (byte* pfmt = fmt) + { + ImGui.appendfvNative(@this, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public unsafe void appendfv(string fmt, nuint args) + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendfvNative(@this, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe byte* begin() + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* ret = ImGui.beginNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string beginS() + { + fixed (ImGuiTextBuffer* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImGui.beginNative(@this)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* c_str() + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* ret = ImGui.c_strNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string c_strS() + { + fixed (ImGuiTextBuffer* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImGui.c_strNative(@this)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void clear() + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGui.clearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool empty() + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte ret = ImGui.emptyNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe byte* end() + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte* ret = ImGui.endNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string endS() + { + fixed (ImGuiTextBuffer* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImGui.endNative(@this)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void reserve(int capacity) + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGui.reserveNative(@this, capacity); + } + } + + /// + /// To be documented. + /// + public unsafe int size() + { + fixed (ImGuiTextBuffer* @this = &this) + { + int ret = ImGui.sizeNative(@this); + return ret; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTextBufferPtr : IEquatable + { + public ImGuiTextBufferPtr(ImGuiTextBuffer* handle) { Handle = handle; } + + public ImGuiTextBuffer* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTextBufferPtr Null => new ImGuiTextBufferPtr(null); + + public ImGuiTextBuffer this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTextBufferPtr(ImGuiTextBuffer* handle) => new ImGuiTextBufferPtr(handle); + + public static implicit operator ImGuiTextBuffer*(ImGuiTextBufferPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTextBufferPtr left, ImGuiTextBufferPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTextBufferPtr left, ImGuiTextBufferPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTextBufferPtr left, ImGuiTextBuffer* right) => left.Handle == right; + + public static bool operator !=(ImGuiTextBufferPtr left, ImGuiTextBuffer* right) => left.Handle != right; + + public bool Equals(ImGuiTextBufferPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTextBufferPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTextBufferPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Buf => ref Unsafe.AsRef>(&Handle->Buf); + /// + /// To be documented. + /// + public unsafe void append(byte* str, byte* strEnd) + { + ImGui.appendNative(Handle, str, strEnd); + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str) + { + ImGui.appendNative(Handle, str, (byte*)(default)); + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, byte* strEnd) + { + fixed (byte* pstr = &str) + { + ImGui.appendNative(Handle, (byte*)pstr, strEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str) + { + fixed (byte* pstr = &str) + { + ImGui.appendNative(Handle, (byte*)pstr, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, byte* strEnd) + { + fixed (byte* pstr = str) + { + ImGui.appendNative(Handle, (byte*)pstr, strEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str) + { + fixed (byte* pstr = str) + { + ImGui.appendNative(Handle, (byte*)pstr, (byte*)(default)); + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, byte* strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(Handle, pStr0, strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(Handle, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str, ref byte strEnd) + { + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(Handle, str, (byte*)pstrEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str, ReadOnlySpan strEnd) + { + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(Handle, str, (byte*)pstrEnd); + } + } + + /// + /// To be documented. + /// + public unsafe void append(byte* str, string strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(Handle, str, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, ref byte strEnd) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, ReadOnlySpan strEnd) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, string strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (strEnd != null) + { + pStrSize1 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ImGui.appendNative(Handle, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, ReadOnlySpan strEnd) + { + fixed (byte* pstr = &str) + { + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ref byte str, string strEnd) + { + fixed (byte* pstr = &str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(Handle, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, ref byte strEnd) + { + fixed (byte* pstr = str) + { + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(ReadOnlySpan str, string strEnd) + { + fixed (byte* pstr = str) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (strEnd != null) + { + pStrSize0 = Utils.GetByteCountUTF8(strEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendNative(Handle, (byte*)pstr, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, ref byte strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = &strEnd) + { + ImGui.appendNative(Handle, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void append(string str, ReadOnlySpan strEnd) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (str != null) + { + pStrSize0 = Utils.GetByteCountUTF8(str); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pstrEnd = strEnd) + { + ImGui.appendNative(Handle, pStr0, (byte*)pstrEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(byte* fmt) + { + ImGui.appendfNative(Handle, fmt); + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + ImGui.appendfNative(Handle, (byte*)pfmt); + } + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + ImGui.appendfNative(Handle, (byte*)pfmt); + } + } + + /// + /// no appendfV
+ ///
+ public unsafe void appendf(string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendfNative(Handle, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void appendfv(byte* fmt, nuint args) + { + ImGui.appendfvNative(Handle, fmt, args); + } + + /// + /// To be documented. + /// + public unsafe void appendfv(ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + ImGui.appendfvNative(Handle, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void appendfv(ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + ImGui.appendfvNative(Handle, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void appendfv(string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImGui.appendfvNative(Handle, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe byte* begin() + { + byte* ret = ImGui.beginNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string beginS() + { + string ret = Utils.DecodeStringUTF8(ImGui.beginNative(Handle)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* c_str() + { + byte* ret = ImGui.c_strNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string c_strS() + { + string ret = Utils.DecodeStringUTF8(ImGui.c_strNative(Handle)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void clear() + { + ImGui.clearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool empty() + { + byte ret = ImGui.emptyNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe byte* end() + { + byte* ret = ImGui.endNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string endS() + { + string ret = Utils.DecodeStringUTF8(ImGui.endNative(Handle)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void reserve(int capacity) + { + ImGui.reserveNative(Handle, capacity); + } + + /// + /// To be documented. + /// + public unsafe int size() + { + int ret = ImGui.sizeNative(Handle); + return ret; + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextFilter.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextFilter.cs new file mode 100644 index 000000000..b9d4a76c9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextFilter.cs @@ -0,0 +1,2199 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTextFilter + { + /// + /// To be documented. + /// + public byte InputBuf_0; + public byte InputBuf_1; + public byte InputBuf_2; + public byte InputBuf_3; + public byte InputBuf_4; + public byte InputBuf_5; + public byte InputBuf_6; + public byte InputBuf_7; + public byte InputBuf_8; + public byte InputBuf_9; + public byte InputBuf_10; + public byte InputBuf_11; + public byte InputBuf_12; + public byte InputBuf_13; + public byte InputBuf_14; + public byte InputBuf_15; + public byte InputBuf_16; + public byte InputBuf_17; + public byte InputBuf_18; + public byte InputBuf_19; + public byte InputBuf_20; + public byte InputBuf_21; + public byte InputBuf_22; + public byte InputBuf_23; + public byte InputBuf_24; + public byte InputBuf_25; + public byte InputBuf_26; + public byte InputBuf_27; + public byte InputBuf_28; + public byte InputBuf_29; + public byte InputBuf_30; + public byte InputBuf_31; + public byte InputBuf_32; + public byte InputBuf_33; + public byte InputBuf_34; + public byte InputBuf_35; + public byte InputBuf_36; + public byte InputBuf_37; + public byte InputBuf_38; + public byte InputBuf_39; + public byte InputBuf_40; + public byte InputBuf_41; + public byte InputBuf_42; + public byte InputBuf_43; + public byte InputBuf_44; + public byte InputBuf_45; + public byte InputBuf_46; + public byte InputBuf_47; + public byte InputBuf_48; + public byte InputBuf_49; + public byte InputBuf_50; + public byte InputBuf_51; + public byte InputBuf_52; + public byte InputBuf_53; + public byte InputBuf_54; + public byte InputBuf_55; + public byte InputBuf_56; + public byte InputBuf_57; + public byte InputBuf_58; + public byte InputBuf_59; + public byte InputBuf_60; + public byte InputBuf_61; + public byte InputBuf_62; + public byte InputBuf_63; + public byte InputBuf_64; + public byte InputBuf_65; + public byte InputBuf_66; + public byte InputBuf_67; + public byte InputBuf_68; + public byte InputBuf_69; + public byte InputBuf_70; + public byte InputBuf_71; + public byte InputBuf_72; + public byte InputBuf_73; + public byte InputBuf_74; + public byte InputBuf_75; + public byte InputBuf_76; + public byte InputBuf_77; + public byte InputBuf_78; + public byte InputBuf_79; + public byte InputBuf_80; + public byte InputBuf_81; + public byte InputBuf_82; + public byte InputBuf_83; + public byte InputBuf_84; + public byte InputBuf_85; + public byte InputBuf_86; + public byte InputBuf_87; + public byte InputBuf_88; + public byte InputBuf_89; + public byte InputBuf_90; + public byte InputBuf_91; + public byte InputBuf_92; + public byte InputBuf_93; + public byte InputBuf_94; + public byte InputBuf_95; + public byte InputBuf_96; + public byte InputBuf_97; + public byte InputBuf_98; + public byte InputBuf_99; + public byte InputBuf_100; + public byte InputBuf_101; + public byte InputBuf_102; + public byte InputBuf_103; + public byte InputBuf_104; + public byte InputBuf_105; + public byte InputBuf_106; + public byte InputBuf_107; + public byte InputBuf_108; + public byte InputBuf_109; + public byte InputBuf_110; + public byte InputBuf_111; + public byte InputBuf_112; + public byte InputBuf_113; + public byte InputBuf_114; + public byte InputBuf_115; + public byte InputBuf_116; + public byte InputBuf_117; + public byte InputBuf_118; + public byte InputBuf_119; + public byte InputBuf_120; + public byte InputBuf_121; + public byte InputBuf_122; + public byte InputBuf_123; + public byte InputBuf_124; + public byte InputBuf_125; + public byte InputBuf_126; + public byte InputBuf_127; + public byte InputBuf_128; + public byte InputBuf_129; + public byte InputBuf_130; + public byte InputBuf_131; + public byte InputBuf_132; + public byte InputBuf_133; + public byte InputBuf_134; + public byte InputBuf_135; + public byte InputBuf_136; + public byte InputBuf_137; + public byte InputBuf_138; + public byte InputBuf_139; + public byte InputBuf_140; + public byte InputBuf_141; + public byte InputBuf_142; + public byte InputBuf_143; + public byte InputBuf_144; + public byte InputBuf_145; + public byte InputBuf_146; + public byte InputBuf_147; + public byte InputBuf_148; + public byte InputBuf_149; + public byte InputBuf_150; + public byte InputBuf_151; + public byte InputBuf_152; + public byte InputBuf_153; + public byte InputBuf_154; + public byte InputBuf_155; + public byte InputBuf_156; + public byte InputBuf_157; + public byte InputBuf_158; + public byte InputBuf_159; + public byte InputBuf_160; + public byte InputBuf_161; + public byte InputBuf_162; + public byte InputBuf_163; + public byte InputBuf_164; + public byte InputBuf_165; + public byte InputBuf_166; + public byte InputBuf_167; + public byte InputBuf_168; + public byte InputBuf_169; + public byte InputBuf_170; + public byte InputBuf_171; + public byte InputBuf_172; + public byte InputBuf_173; + public byte InputBuf_174; + public byte InputBuf_175; + public byte InputBuf_176; + public byte InputBuf_177; + public byte InputBuf_178; + public byte InputBuf_179; + public byte InputBuf_180; + public byte InputBuf_181; + public byte InputBuf_182; + public byte InputBuf_183; + public byte InputBuf_184; + public byte InputBuf_185; + public byte InputBuf_186; + public byte InputBuf_187; + public byte InputBuf_188; + public byte InputBuf_189; + public byte InputBuf_190; + public byte InputBuf_191; + public byte InputBuf_192; + public byte InputBuf_193; + public byte InputBuf_194; + public byte InputBuf_195; + public byte InputBuf_196; + public byte InputBuf_197; + public byte InputBuf_198; + public byte InputBuf_199; + public byte InputBuf_200; + public byte InputBuf_201; + public byte InputBuf_202; + public byte InputBuf_203; + public byte InputBuf_204; + public byte InputBuf_205; + public byte InputBuf_206; + public byte InputBuf_207; + public byte InputBuf_208; + public byte InputBuf_209; + public byte InputBuf_210; + public byte InputBuf_211; + public byte InputBuf_212; + public byte InputBuf_213; + public byte InputBuf_214; + public byte InputBuf_215; + public byte InputBuf_216; + public byte InputBuf_217; + public byte InputBuf_218; + public byte InputBuf_219; + public byte InputBuf_220; + public byte InputBuf_221; + public byte InputBuf_222; + public byte InputBuf_223; + public byte InputBuf_224; + public byte InputBuf_225; + public byte InputBuf_226; + public byte InputBuf_227; + public byte InputBuf_228; + public byte InputBuf_229; + public byte InputBuf_230; + public byte InputBuf_231; + public byte InputBuf_232; + public byte InputBuf_233; + public byte InputBuf_234; + public byte InputBuf_235; + public byte InputBuf_236; + public byte InputBuf_237; + public byte InputBuf_238; + public byte InputBuf_239; + public byte InputBuf_240; + public byte InputBuf_241; + public byte InputBuf_242; + public byte InputBuf_243; + public byte InputBuf_244; + public byte InputBuf_245; + public byte InputBuf_246; + public byte InputBuf_247; + public byte InputBuf_248; + public byte InputBuf_249; + public byte InputBuf_250; + public byte InputBuf_251; + public byte InputBuf_252; + public byte InputBuf_253; + public byte InputBuf_254; + public byte InputBuf_255; + + /// + /// To be documented. + /// + public ImVector Filters; + + /// + /// To be documented. + /// + public int CountGrep; + + + /// + /// To be documented. + /// + public unsafe ImGuiTextFilter(byte* inputBuf = default, ImVector filters = default, int countGrep = default) + { + if (inputBuf != default(byte*)) + { + InputBuf_0 = inputBuf[0]; + InputBuf_1 = inputBuf[1]; + InputBuf_2 = inputBuf[2]; + InputBuf_3 = inputBuf[3]; + InputBuf_4 = inputBuf[4]; + InputBuf_5 = inputBuf[5]; + InputBuf_6 = inputBuf[6]; + InputBuf_7 = inputBuf[7]; + InputBuf_8 = inputBuf[8]; + InputBuf_9 = inputBuf[9]; + InputBuf_10 = inputBuf[10]; + InputBuf_11 = inputBuf[11]; + InputBuf_12 = inputBuf[12]; + InputBuf_13 = inputBuf[13]; + InputBuf_14 = inputBuf[14]; + InputBuf_15 = inputBuf[15]; + InputBuf_16 = inputBuf[16]; + InputBuf_17 = inputBuf[17]; + InputBuf_18 = inputBuf[18]; + InputBuf_19 = inputBuf[19]; + InputBuf_20 = inputBuf[20]; + InputBuf_21 = inputBuf[21]; + InputBuf_22 = inputBuf[22]; + InputBuf_23 = inputBuf[23]; + InputBuf_24 = inputBuf[24]; + InputBuf_25 = inputBuf[25]; + InputBuf_26 = inputBuf[26]; + InputBuf_27 = inputBuf[27]; + InputBuf_28 = inputBuf[28]; + InputBuf_29 = inputBuf[29]; + InputBuf_30 = inputBuf[30]; + InputBuf_31 = inputBuf[31]; + InputBuf_32 = inputBuf[32]; + InputBuf_33 = inputBuf[33]; + InputBuf_34 = inputBuf[34]; + InputBuf_35 = inputBuf[35]; + InputBuf_36 = inputBuf[36]; + InputBuf_37 = inputBuf[37]; + InputBuf_38 = inputBuf[38]; + InputBuf_39 = inputBuf[39]; + InputBuf_40 = inputBuf[40]; + InputBuf_41 = inputBuf[41]; + InputBuf_42 = inputBuf[42]; + InputBuf_43 = inputBuf[43]; + InputBuf_44 = inputBuf[44]; + InputBuf_45 = inputBuf[45]; + InputBuf_46 = inputBuf[46]; + InputBuf_47 = inputBuf[47]; + InputBuf_48 = inputBuf[48]; + InputBuf_49 = inputBuf[49]; + InputBuf_50 = inputBuf[50]; + InputBuf_51 = inputBuf[51]; + InputBuf_52 = inputBuf[52]; + InputBuf_53 = inputBuf[53]; + InputBuf_54 = inputBuf[54]; + InputBuf_55 = inputBuf[55]; + InputBuf_56 = inputBuf[56]; + InputBuf_57 = inputBuf[57]; + InputBuf_58 = inputBuf[58]; + InputBuf_59 = inputBuf[59]; + InputBuf_60 = inputBuf[60]; + InputBuf_61 = inputBuf[61]; + InputBuf_62 = inputBuf[62]; + InputBuf_63 = inputBuf[63]; + InputBuf_64 = inputBuf[64]; + InputBuf_65 = inputBuf[65]; + InputBuf_66 = inputBuf[66]; + InputBuf_67 = inputBuf[67]; + InputBuf_68 = inputBuf[68]; + InputBuf_69 = inputBuf[69]; + InputBuf_70 = inputBuf[70]; + InputBuf_71 = inputBuf[71]; + InputBuf_72 = inputBuf[72]; + InputBuf_73 = inputBuf[73]; + InputBuf_74 = inputBuf[74]; + InputBuf_75 = inputBuf[75]; + InputBuf_76 = inputBuf[76]; + InputBuf_77 = inputBuf[77]; + InputBuf_78 = inputBuf[78]; + InputBuf_79 = inputBuf[79]; + InputBuf_80 = inputBuf[80]; + InputBuf_81 = inputBuf[81]; + InputBuf_82 = inputBuf[82]; + InputBuf_83 = inputBuf[83]; + InputBuf_84 = inputBuf[84]; + InputBuf_85 = inputBuf[85]; + InputBuf_86 = inputBuf[86]; + InputBuf_87 = inputBuf[87]; + InputBuf_88 = inputBuf[88]; + InputBuf_89 = inputBuf[89]; + InputBuf_90 = inputBuf[90]; + InputBuf_91 = inputBuf[91]; + InputBuf_92 = inputBuf[92]; + InputBuf_93 = inputBuf[93]; + InputBuf_94 = inputBuf[94]; + InputBuf_95 = inputBuf[95]; + InputBuf_96 = inputBuf[96]; + InputBuf_97 = inputBuf[97]; + InputBuf_98 = inputBuf[98]; + InputBuf_99 = inputBuf[99]; + InputBuf_100 = inputBuf[100]; + InputBuf_101 = inputBuf[101]; + InputBuf_102 = inputBuf[102]; + InputBuf_103 = inputBuf[103]; + InputBuf_104 = inputBuf[104]; + InputBuf_105 = inputBuf[105]; + InputBuf_106 = inputBuf[106]; + InputBuf_107 = inputBuf[107]; + InputBuf_108 = inputBuf[108]; + InputBuf_109 = inputBuf[109]; + InputBuf_110 = inputBuf[110]; + InputBuf_111 = inputBuf[111]; + InputBuf_112 = inputBuf[112]; + InputBuf_113 = inputBuf[113]; + InputBuf_114 = inputBuf[114]; + InputBuf_115 = inputBuf[115]; + InputBuf_116 = inputBuf[116]; + InputBuf_117 = inputBuf[117]; + InputBuf_118 = inputBuf[118]; + InputBuf_119 = inputBuf[119]; + InputBuf_120 = inputBuf[120]; + InputBuf_121 = inputBuf[121]; + InputBuf_122 = inputBuf[122]; + InputBuf_123 = inputBuf[123]; + InputBuf_124 = inputBuf[124]; + InputBuf_125 = inputBuf[125]; + InputBuf_126 = inputBuf[126]; + InputBuf_127 = inputBuf[127]; + InputBuf_128 = inputBuf[128]; + InputBuf_129 = inputBuf[129]; + InputBuf_130 = inputBuf[130]; + InputBuf_131 = inputBuf[131]; + InputBuf_132 = inputBuf[132]; + InputBuf_133 = inputBuf[133]; + InputBuf_134 = inputBuf[134]; + InputBuf_135 = inputBuf[135]; + InputBuf_136 = inputBuf[136]; + InputBuf_137 = inputBuf[137]; + InputBuf_138 = inputBuf[138]; + InputBuf_139 = inputBuf[139]; + InputBuf_140 = inputBuf[140]; + InputBuf_141 = inputBuf[141]; + InputBuf_142 = inputBuf[142]; + InputBuf_143 = inputBuf[143]; + InputBuf_144 = inputBuf[144]; + InputBuf_145 = inputBuf[145]; + InputBuf_146 = inputBuf[146]; + InputBuf_147 = inputBuf[147]; + InputBuf_148 = inputBuf[148]; + InputBuf_149 = inputBuf[149]; + InputBuf_150 = inputBuf[150]; + InputBuf_151 = inputBuf[151]; + InputBuf_152 = inputBuf[152]; + InputBuf_153 = inputBuf[153]; + InputBuf_154 = inputBuf[154]; + InputBuf_155 = inputBuf[155]; + InputBuf_156 = inputBuf[156]; + InputBuf_157 = inputBuf[157]; + InputBuf_158 = inputBuf[158]; + InputBuf_159 = inputBuf[159]; + InputBuf_160 = inputBuf[160]; + InputBuf_161 = inputBuf[161]; + InputBuf_162 = inputBuf[162]; + InputBuf_163 = inputBuf[163]; + InputBuf_164 = inputBuf[164]; + InputBuf_165 = inputBuf[165]; + InputBuf_166 = inputBuf[166]; + InputBuf_167 = inputBuf[167]; + InputBuf_168 = inputBuf[168]; + InputBuf_169 = inputBuf[169]; + InputBuf_170 = inputBuf[170]; + InputBuf_171 = inputBuf[171]; + InputBuf_172 = inputBuf[172]; + InputBuf_173 = inputBuf[173]; + InputBuf_174 = inputBuf[174]; + InputBuf_175 = inputBuf[175]; + InputBuf_176 = inputBuf[176]; + InputBuf_177 = inputBuf[177]; + InputBuf_178 = inputBuf[178]; + InputBuf_179 = inputBuf[179]; + InputBuf_180 = inputBuf[180]; + InputBuf_181 = inputBuf[181]; + InputBuf_182 = inputBuf[182]; + InputBuf_183 = inputBuf[183]; + InputBuf_184 = inputBuf[184]; + InputBuf_185 = inputBuf[185]; + InputBuf_186 = inputBuf[186]; + InputBuf_187 = inputBuf[187]; + InputBuf_188 = inputBuf[188]; + InputBuf_189 = inputBuf[189]; + InputBuf_190 = inputBuf[190]; + InputBuf_191 = inputBuf[191]; + InputBuf_192 = inputBuf[192]; + InputBuf_193 = inputBuf[193]; + InputBuf_194 = inputBuf[194]; + InputBuf_195 = inputBuf[195]; + InputBuf_196 = inputBuf[196]; + InputBuf_197 = inputBuf[197]; + InputBuf_198 = inputBuf[198]; + InputBuf_199 = inputBuf[199]; + InputBuf_200 = inputBuf[200]; + InputBuf_201 = inputBuf[201]; + InputBuf_202 = inputBuf[202]; + InputBuf_203 = inputBuf[203]; + InputBuf_204 = inputBuf[204]; + InputBuf_205 = inputBuf[205]; + InputBuf_206 = inputBuf[206]; + InputBuf_207 = inputBuf[207]; + InputBuf_208 = inputBuf[208]; + InputBuf_209 = inputBuf[209]; + InputBuf_210 = inputBuf[210]; + InputBuf_211 = inputBuf[211]; + InputBuf_212 = inputBuf[212]; + InputBuf_213 = inputBuf[213]; + InputBuf_214 = inputBuf[214]; + InputBuf_215 = inputBuf[215]; + InputBuf_216 = inputBuf[216]; + InputBuf_217 = inputBuf[217]; + InputBuf_218 = inputBuf[218]; + InputBuf_219 = inputBuf[219]; + InputBuf_220 = inputBuf[220]; + InputBuf_221 = inputBuf[221]; + InputBuf_222 = inputBuf[222]; + InputBuf_223 = inputBuf[223]; + InputBuf_224 = inputBuf[224]; + InputBuf_225 = inputBuf[225]; + InputBuf_226 = inputBuf[226]; + InputBuf_227 = inputBuf[227]; + InputBuf_228 = inputBuf[228]; + InputBuf_229 = inputBuf[229]; + InputBuf_230 = inputBuf[230]; + InputBuf_231 = inputBuf[231]; + InputBuf_232 = inputBuf[232]; + InputBuf_233 = inputBuf[233]; + InputBuf_234 = inputBuf[234]; + InputBuf_235 = inputBuf[235]; + InputBuf_236 = inputBuf[236]; + InputBuf_237 = inputBuf[237]; + InputBuf_238 = inputBuf[238]; + InputBuf_239 = inputBuf[239]; + InputBuf_240 = inputBuf[240]; + InputBuf_241 = inputBuf[241]; + InputBuf_242 = inputBuf[242]; + InputBuf_243 = inputBuf[243]; + InputBuf_244 = inputBuf[244]; + InputBuf_245 = inputBuf[245]; + InputBuf_246 = inputBuf[246]; + InputBuf_247 = inputBuf[247]; + InputBuf_248 = inputBuf[248]; + InputBuf_249 = inputBuf[249]; + InputBuf_250 = inputBuf[250]; + InputBuf_251 = inputBuf[251]; + InputBuf_252 = inputBuf[252]; + InputBuf_253 = inputBuf[253]; + InputBuf_254 = inputBuf[254]; + InputBuf_255 = inputBuf[255]; + } + Filters = filters; + CountGrep = countGrep; + } + + /// + /// To be documented. + /// + public unsafe ImGuiTextFilter(Span inputBuf = default, ImVector filters = default, int countGrep = default) + { + if (inputBuf != default(Span)) + { + InputBuf_0 = inputBuf[0]; + InputBuf_1 = inputBuf[1]; + InputBuf_2 = inputBuf[2]; + InputBuf_3 = inputBuf[3]; + InputBuf_4 = inputBuf[4]; + InputBuf_5 = inputBuf[5]; + InputBuf_6 = inputBuf[6]; + InputBuf_7 = inputBuf[7]; + InputBuf_8 = inputBuf[8]; + InputBuf_9 = inputBuf[9]; + InputBuf_10 = inputBuf[10]; + InputBuf_11 = inputBuf[11]; + InputBuf_12 = inputBuf[12]; + InputBuf_13 = inputBuf[13]; + InputBuf_14 = inputBuf[14]; + InputBuf_15 = inputBuf[15]; + InputBuf_16 = inputBuf[16]; + InputBuf_17 = inputBuf[17]; + InputBuf_18 = inputBuf[18]; + InputBuf_19 = inputBuf[19]; + InputBuf_20 = inputBuf[20]; + InputBuf_21 = inputBuf[21]; + InputBuf_22 = inputBuf[22]; + InputBuf_23 = inputBuf[23]; + InputBuf_24 = inputBuf[24]; + InputBuf_25 = inputBuf[25]; + InputBuf_26 = inputBuf[26]; + InputBuf_27 = inputBuf[27]; + InputBuf_28 = inputBuf[28]; + InputBuf_29 = inputBuf[29]; + InputBuf_30 = inputBuf[30]; + InputBuf_31 = inputBuf[31]; + InputBuf_32 = inputBuf[32]; + InputBuf_33 = inputBuf[33]; + InputBuf_34 = inputBuf[34]; + InputBuf_35 = inputBuf[35]; + InputBuf_36 = inputBuf[36]; + InputBuf_37 = inputBuf[37]; + InputBuf_38 = inputBuf[38]; + InputBuf_39 = inputBuf[39]; + InputBuf_40 = inputBuf[40]; + InputBuf_41 = inputBuf[41]; + InputBuf_42 = inputBuf[42]; + InputBuf_43 = inputBuf[43]; + InputBuf_44 = inputBuf[44]; + InputBuf_45 = inputBuf[45]; + InputBuf_46 = inputBuf[46]; + InputBuf_47 = inputBuf[47]; + InputBuf_48 = inputBuf[48]; + InputBuf_49 = inputBuf[49]; + InputBuf_50 = inputBuf[50]; + InputBuf_51 = inputBuf[51]; + InputBuf_52 = inputBuf[52]; + InputBuf_53 = inputBuf[53]; + InputBuf_54 = inputBuf[54]; + InputBuf_55 = inputBuf[55]; + InputBuf_56 = inputBuf[56]; + InputBuf_57 = inputBuf[57]; + InputBuf_58 = inputBuf[58]; + InputBuf_59 = inputBuf[59]; + InputBuf_60 = inputBuf[60]; + InputBuf_61 = inputBuf[61]; + InputBuf_62 = inputBuf[62]; + InputBuf_63 = inputBuf[63]; + InputBuf_64 = inputBuf[64]; + InputBuf_65 = inputBuf[65]; + InputBuf_66 = inputBuf[66]; + InputBuf_67 = inputBuf[67]; + InputBuf_68 = inputBuf[68]; + InputBuf_69 = inputBuf[69]; + InputBuf_70 = inputBuf[70]; + InputBuf_71 = inputBuf[71]; + InputBuf_72 = inputBuf[72]; + InputBuf_73 = inputBuf[73]; + InputBuf_74 = inputBuf[74]; + InputBuf_75 = inputBuf[75]; + InputBuf_76 = inputBuf[76]; + InputBuf_77 = inputBuf[77]; + InputBuf_78 = inputBuf[78]; + InputBuf_79 = inputBuf[79]; + InputBuf_80 = inputBuf[80]; + InputBuf_81 = inputBuf[81]; + InputBuf_82 = inputBuf[82]; + InputBuf_83 = inputBuf[83]; + InputBuf_84 = inputBuf[84]; + InputBuf_85 = inputBuf[85]; + InputBuf_86 = inputBuf[86]; + InputBuf_87 = inputBuf[87]; + InputBuf_88 = inputBuf[88]; + InputBuf_89 = inputBuf[89]; + InputBuf_90 = inputBuf[90]; + InputBuf_91 = inputBuf[91]; + InputBuf_92 = inputBuf[92]; + InputBuf_93 = inputBuf[93]; + InputBuf_94 = inputBuf[94]; + InputBuf_95 = inputBuf[95]; + InputBuf_96 = inputBuf[96]; + InputBuf_97 = inputBuf[97]; + InputBuf_98 = inputBuf[98]; + InputBuf_99 = inputBuf[99]; + InputBuf_100 = inputBuf[100]; + InputBuf_101 = inputBuf[101]; + InputBuf_102 = inputBuf[102]; + InputBuf_103 = inputBuf[103]; + InputBuf_104 = inputBuf[104]; + InputBuf_105 = inputBuf[105]; + InputBuf_106 = inputBuf[106]; + InputBuf_107 = inputBuf[107]; + InputBuf_108 = inputBuf[108]; + InputBuf_109 = inputBuf[109]; + InputBuf_110 = inputBuf[110]; + InputBuf_111 = inputBuf[111]; + InputBuf_112 = inputBuf[112]; + InputBuf_113 = inputBuf[113]; + InputBuf_114 = inputBuf[114]; + InputBuf_115 = inputBuf[115]; + InputBuf_116 = inputBuf[116]; + InputBuf_117 = inputBuf[117]; + InputBuf_118 = inputBuf[118]; + InputBuf_119 = inputBuf[119]; + InputBuf_120 = inputBuf[120]; + InputBuf_121 = inputBuf[121]; + InputBuf_122 = inputBuf[122]; + InputBuf_123 = inputBuf[123]; + InputBuf_124 = inputBuf[124]; + InputBuf_125 = inputBuf[125]; + InputBuf_126 = inputBuf[126]; + InputBuf_127 = inputBuf[127]; + InputBuf_128 = inputBuf[128]; + InputBuf_129 = inputBuf[129]; + InputBuf_130 = inputBuf[130]; + InputBuf_131 = inputBuf[131]; + InputBuf_132 = inputBuf[132]; + InputBuf_133 = inputBuf[133]; + InputBuf_134 = inputBuf[134]; + InputBuf_135 = inputBuf[135]; + InputBuf_136 = inputBuf[136]; + InputBuf_137 = inputBuf[137]; + InputBuf_138 = inputBuf[138]; + InputBuf_139 = inputBuf[139]; + InputBuf_140 = inputBuf[140]; + InputBuf_141 = inputBuf[141]; + InputBuf_142 = inputBuf[142]; + InputBuf_143 = inputBuf[143]; + InputBuf_144 = inputBuf[144]; + InputBuf_145 = inputBuf[145]; + InputBuf_146 = inputBuf[146]; + InputBuf_147 = inputBuf[147]; + InputBuf_148 = inputBuf[148]; + InputBuf_149 = inputBuf[149]; + InputBuf_150 = inputBuf[150]; + InputBuf_151 = inputBuf[151]; + InputBuf_152 = inputBuf[152]; + InputBuf_153 = inputBuf[153]; + InputBuf_154 = inputBuf[154]; + InputBuf_155 = inputBuf[155]; + InputBuf_156 = inputBuf[156]; + InputBuf_157 = inputBuf[157]; + InputBuf_158 = inputBuf[158]; + InputBuf_159 = inputBuf[159]; + InputBuf_160 = inputBuf[160]; + InputBuf_161 = inputBuf[161]; + InputBuf_162 = inputBuf[162]; + InputBuf_163 = inputBuf[163]; + InputBuf_164 = inputBuf[164]; + InputBuf_165 = inputBuf[165]; + InputBuf_166 = inputBuf[166]; + InputBuf_167 = inputBuf[167]; + InputBuf_168 = inputBuf[168]; + InputBuf_169 = inputBuf[169]; + InputBuf_170 = inputBuf[170]; + InputBuf_171 = inputBuf[171]; + InputBuf_172 = inputBuf[172]; + InputBuf_173 = inputBuf[173]; + InputBuf_174 = inputBuf[174]; + InputBuf_175 = inputBuf[175]; + InputBuf_176 = inputBuf[176]; + InputBuf_177 = inputBuf[177]; + InputBuf_178 = inputBuf[178]; + InputBuf_179 = inputBuf[179]; + InputBuf_180 = inputBuf[180]; + InputBuf_181 = inputBuf[181]; + InputBuf_182 = inputBuf[182]; + InputBuf_183 = inputBuf[183]; + InputBuf_184 = inputBuf[184]; + InputBuf_185 = inputBuf[185]; + InputBuf_186 = inputBuf[186]; + InputBuf_187 = inputBuf[187]; + InputBuf_188 = inputBuf[188]; + InputBuf_189 = inputBuf[189]; + InputBuf_190 = inputBuf[190]; + InputBuf_191 = inputBuf[191]; + InputBuf_192 = inputBuf[192]; + InputBuf_193 = inputBuf[193]; + InputBuf_194 = inputBuf[194]; + InputBuf_195 = inputBuf[195]; + InputBuf_196 = inputBuf[196]; + InputBuf_197 = inputBuf[197]; + InputBuf_198 = inputBuf[198]; + InputBuf_199 = inputBuf[199]; + InputBuf_200 = inputBuf[200]; + InputBuf_201 = inputBuf[201]; + InputBuf_202 = inputBuf[202]; + InputBuf_203 = inputBuf[203]; + InputBuf_204 = inputBuf[204]; + InputBuf_205 = inputBuf[205]; + InputBuf_206 = inputBuf[206]; + InputBuf_207 = inputBuf[207]; + InputBuf_208 = inputBuf[208]; + InputBuf_209 = inputBuf[209]; + InputBuf_210 = inputBuf[210]; + InputBuf_211 = inputBuf[211]; + InputBuf_212 = inputBuf[212]; + InputBuf_213 = inputBuf[213]; + InputBuf_214 = inputBuf[214]; + InputBuf_215 = inputBuf[215]; + InputBuf_216 = inputBuf[216]; + InputBuf_217 = inputBuf[217]; + InputBuf_218 = inputBuf[218]; + InputBuf_219 = inputBuf[219]; + InputBuf_220 = inputBuf[220]; + InputBuf_221 = inputBuf[221]; + InputBuf_222 = inputBuf[222]; + InputBuf_223 = inputBuf[223]; + InputBuf_224 = inputBuf[224]; + InputBuf_225 = inputBuf[225]; + InputBuf_226 = inputBuf[226]; + InputBuf_227 = inputBuf[227]; + InputBuf_228 = inputBuf[228]; + InputBuf_229 = inputBuf[229]; + InputBuf_230 = inputBuf[230]; + InputBuf_231 = inputBuf[231]; + InputBuf_232 = inputBuf[232]; + InputBuf_233 = inputBuf[233]; + InputBuf_234 = inputBuf[234]; + InputBuf_235 = inputBuf[235]; + InputBuf_236 = inputBuf[236]; + InputBuf_237 = inputBuf[237]; + InputBuf_238 = inputBuf[238]; + InputBuf_239 = inputBuf[239]; + InputBuf_240 = inputBuf[240]; + InputBuf_241 = inputBuf[241]; + InputBuf_242 = inputBuf[242]; + InputBuf_243 = inputBuf[243]; + InputBuf_244 = inputBuf[244]; + InputBuf_245 = inputBuf[245]; + InputBuf_246 = inputBuf[246]; + InputBuf_247 = inputBuf[247]; + InputBuf_248 = inputBuf[248]; + InputBuf_249 = inputBuf[249]; + InputBuf_250 = inputBuf[250]; + InputBuf_251 = inputBuf[251]; + InputBuf_252 = inputBuf[252]; + InputBuf_253 = inputBuf[253]; + InputBuf_254 = inputBuf[254]; + InputBuf_255 = inputBuf[255]; + } + Filters = filters; + CountGrep = countGrep; + } + + + /// + /// To be documented. + /// + public unsafe void Build() + { + fixed (ImGuiTextFilter* @this = &this) + { + ImGui.BuildNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + fixed (ImGuiTextFilter* @this = &this) + { + ImGui.ClearNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTextFilter* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(byte* label, float width) + { + fixed (ImGuiTextFilter* @this = &this) + { + byte ret = ImGui.DrawNative(@this, label, width); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(byte* label) + { + fixed (ImGuiTextFilter* @this = &this) + { + byte ret = ImGui.DrawNative(@this, label, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw() + { + fixed (ImGuiTextFilter* @this = &this) + { + bool ret = ImGui.Draw(@this, (string)"Filter(inc,-exc)", (float)(0.0f)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(float width) + { + fixed (ImGuiTextFilter* @this = &this) + { + bool ret = ImGui.Draw(@this, (string)"Filter(inc,-exc)", width); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ref byte label, float width) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* plabel = &label) + { + byte ret = ImGui.DrawNative(@this, (byte*)plabel, width); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ref byte label) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* plabel = &label) + { + byte ret = ImGui.DrawNative(@this, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ReadOnlySpan label, float width) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* plabel = label) + { + byte ret = ImGui.DrawNative(@this, (byte*)plabel, width); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ReadOnlySpan label) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* plabel = label) + { + byte ret = ImGui.DrawNative(@this, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(string label, float width) + { + fixed (ImGuiTextFilter* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ImGui.DrawNative(@this, pStr0, width); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(string label) + { + fixed (ImGuiTextFilter* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ImGui.DrawNative(@this, pStr0, (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsActive() + { + fixed (ImGuiTextFilter* @this = &this) + { + byte ret = ImGui.IsActiveNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, byte* textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + byte ret = ImGui.PassFilterNative(@this, text, textEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text) + { + fixed (ImGuiTextFilter* @this = &this) + { + byte ret = ImGui.PassFilterNative(@this, text, (byte*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, byte* textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = &text) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, textEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = &text) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, byte* textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = text) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, textEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = text) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, byte* textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + 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; + } + byte ret = ImGui.PassFilterNative(@this, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text) + { + fixed (ImGuiTextFilter* @this = &this) + { + 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; + } + byte ret = ImGui.PassFilterNative(@this, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, ref byte textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(@this, text, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(@this, text, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, string textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + 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; + } + byte ret = ImGui.PassFilterNative(@this, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, ref byte textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, string textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + 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; + } + 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; + } + byte ret = ImGui.PassFilterNative(@this, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, string textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = &text) + { + 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; + } + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, ref byte textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, string textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + fixed (byte* ptext = text) + { + 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; + } + byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, ref byte textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(@this, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, ReadOnlySpan textEnd) + { + fixed (ImGuiTextFilter* @this = &this) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(@this, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTextFilterPtr : IEquatable + { + public ImGuiTextFilterPtr(ImGuiTextFilter* handle) { Handle = handle; } + + public ImGuiTextFilter* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTextFilterPtr Null => new ImGuiTextFilterPtr(null); + + public ImGuiTextFilter this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTextFilterPtr(ImGuiTextFilter* handle) => new ImGuiTextFilterPtr(handle); + + public static implicit operator ImGuiTextFilter*(ImGuiTextFilterPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTextFilterPtr left, ImGuiTextFilterPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTextFilterPtr left, ImGuiTextFilterPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTextFilterPtr left, ImGuiTextFilter* right) => left.Handle == right; + + public static bool operator !=(ImGuiTextFilterPtr left, ImGuiTextFilter* right) => left.Handle != right; + + public bool Equals(ImGuiTextFilterPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTextFilterPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTextFilterPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public unsafe Span InputBuf + + { + get + { + return new Span(&Handle->InputBuf_0, 256); + } + } + /// + /// To be documented. + /// + public ref ImVector Filters => ref Unsafe.AsRef>(&Handle->Filters); + /// + /// To be documented. + /// + public ref int CountGrep => ref Unsafe.AsRef(&Handle->CountGrep); + /// + /// To be documented. + /// + public unsafe void Build() + { + ImGui.BuildNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Clear() + { + ImGui.ClearNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool Draw(byte* label, float width) + { + byte ret = ImGui.DrawNative(Handle, label, width); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool Draw(byte* label) + { + byte ret = ImGui.DrawNative(Handle, label, (float)(0.0f)); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool Draw() + { + bool ret = ImGui.Draw(Handle, (string)"Filter(inc,-exc)", (float)(0.0f)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool Draw(float width) + { + bool ret = ImGui.Draw(Handle, (string)"Filter(inc,-exc)", width); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ref byte label, float width) + { + fixed (byte* plabel = &label) + { + byte ret = ImGui.DrawNative(Handle, (byte*)plabel, width); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = ImGui.DrawNative(Handle, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ReadOnlySpan label, float width) + { + fixed (byte* plabel = label) + { + byte ret = ImGui.DrawNative(Handle, (byte*)plabel, width); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = ImGui.DrawNative(Handle, (byte*)plabel, (float)(0.0f)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Draw(string label, float width) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ImGui.DrawNative(Handle, pStr0, width); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool Draw(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ImGui.DrawNative(Handle, pStr0, (float)(0.0f)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsActive() + { + byte ret = ImGui.IsActiveNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, byte* textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, text, textEnd); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text) + { + byte ret = ImGui.PassFilterNative(Handle, text, (byte*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, byte* textEnd) + { + fixed (byte* ptext = &text) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, textEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text) + { + fixed (byte* ptext = &text) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, byte* textEnd) + { + fixed (byte* ptext = text) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, textEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text) + { + fixed (byte* ptext = text) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, byte* textEnd) + { + 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; + } + byte ret = ImGui.PassFilterNative(Handle, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(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; + } + byte ret = ImGui.PassFilterNative(Handle, pStr0, (byte*)(default)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, text, (byte*)ptextEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, text, (byte*)ptextEnd); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(byte* text, string textEnd) + { + 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; + } + byte ret = ImGui.PassFilterNative(Handle, text, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, ref byte textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, string textEnd) + { + 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; + } + 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; + } + byte ret = ImGui.PassFilterNative(Handle, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, ReadOnlySpan textEnd) + { + fixed (byte* ptext = &text) + { + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ref byte text, string textEnd) + { + fixed (byte* ptext = &text) + { + 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; + } + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, ref byte textEnd) + { + fixed (byte* ptext = text) + { + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(ReadOnlySpan text, string textEnd) + { + fixed (byte* ptext = text) + { + 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; + } + byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, ref byte textEnd) + { + 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; + } + fixed (byte* ptextEnd = &textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool PassFilter(string text, ReadOnlySpan textEnd) + { + 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; + } + fixed (byte* ptextEnd = textEnd) + { + byte ret = ImGui.PassFilterNative(Handle, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextRange.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextRange.cs new file mode 100644 index 000000000..9d6b1392d --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiTextRange.cs @@ -0,0 +1,183 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// [Internal]
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTextRange + { + /// + /// To be documented. + /// + public unsafe byte* B; + + /// + /// To be documented. + /// + public unsafe byte* E; + + + /// + /// To be documented. + /// + public unsafe ImGuiTextRange(byte* b = default, byte* e = default) + { + B = b; + E = e; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiTextRange* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool empty() + { + fixed (ImGuiTextRange* @this = &this) + { + byte ret = ImGui.emptyNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void split(byte separator, ImVector* output) + { + fixed (ImGuiTextRange* @this = &this) + { + ImGui.splitNative(@this, separator, output); + } + } + + /// + /// To be documented. + /// + public unsafe void split(byte separator, ref ImVector output) + { + fixed (ImGuiTextRange* @this = &this) + { + fixed (ImVector* poutput = &output) + { + ImGui.splitNative(@this, separator, (ImVector*)poutput); + } + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiTextRangePtr : IEquatable + { + public ImGuiTextRangePtr(ImGuiTextRange* handle) { Handle = handle; } + + public ImGuiTextRange* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiTextRangePtr Null => new ImGuiTextRangePtr(null); + + public ImGuiTextRange this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiTextRangePtr(ImGuiTextRange* handle) => new ImGuiTextRangePtr(handle); + + public static implicit operator ImGuiTextRange*(ImGuiTextRangePtr handle) => handle.Handle; + + public static bool operator ==(ImGuiTextRangePtr left, ImGuiTextRangePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiTextRangePtr left, ImGuiTextRangePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiTextRangePtr left, ImGuiTextRange* right) => left.Handle == right; + + public static bool operator !=(ImGuiTextRangePtr left, ImGuiTextRange* right) => left.Handle != right; + + public bool Equals(ImGuiTextRangePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiTextRangePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiTextRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public byte* B { get => Handle->B; set => Handle->B = value; } + /// + /// To be documented. + /// + public byte* E { get => Handle->E; set => Handle->E = value; } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool empty() + { + byte ret = ImGui.emptyNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void split(byte separator, ImVector* output) + { + ImGui.splitNative(Handle, separator, output); + } + + /// + /// To be documented. + /// + public unsafe void split(byte separator, ref ImVector output) + { + fixed (ImVector* poutput = &output) + { + ImGui.splitNative(Handle, separator, (ImVector*)poutput); + } + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiViewport.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiViewport.cs new file mode 100644 index 000000000..bc73a5ba9 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiViewport.cs @@ -0,0 +1,307 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
+ /// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
+ /// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
+ /// - About Main Area vs Work Area:
+ /// - Main Area = entire viewport.
+ /// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
+ /// - Windows are generally trying to stay within the Work Area of their host viewport.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiViewport + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiViewportFlags Flags; + + /// + /// To be documented. + /// + public Vector2 Pos; + + /// + /// To be documented. + /// + public Vector2 Size; + + /// + /// To be documented. + /// + public Vector2 WorkPos; + + /// + /// To be documented. + /// + public Vector2 WorkSize; + + /// + /// To be documented. + /// + public float DpiScale; + + /// + /// To be documented. + /// + public uint ParentViewportId; + + /// + /// To be documented. + /// + public unsafe ImDrawData* DrawData; + + /// + /// To be documented. + /// + public unsafe void* RendererUserData; + + /// + /// To be documented. + /// + public unsafe void* PlatformUserData; + + /// + /// To be documented. + /// + public unsafe void* PlatformHandle; + + /// + /// To be documented. + /// + public unsafe void* PlatformHandleRaw; + + /// + /// To be documented. + /// + public byte PlatformRequestMove; + + /// + /// To be documented. + /// + public byte PlatformRequestResize; + + /// + /// To be documented. + /// + public byte PlatformRequestClose; + + + /// + /// To be documented. + /// + public unsafe ImGuiViewport(uint id = default, ImGuiViewportFlags flags = default, Vector2 pos = default, Vector2 size = default, Vector2 workPos = default, Vector2 workSize = default, float dpiScale = default, uint parentViewportId = default, ImDrawDataPtr drawData = default, void* rendererUserData = default, void* platformUserData = default, void* platformHandle = default, void* platformHandleRaw = default, bool platformRequestMove = default, bool platformRequestResize = default, bool platformRequestClose = default) + { + ID = id; + Flags = flags; + Pos = pos; + Size = size; + WorkPos = workPos; + WorkSize = workSize; + DpiScale = dpiScale; + ParentViewportId = parentViewportId; + DrawData = drawData; + RendererUserData = rendererUserData; + PlatformUserData = platformUserData; + PlatformHandle = platformHandle; + PlatformHandleRaw = platformHandleRaw; + PlatformRequestMove = platformRequestMove ? (byte)1 : (byte)0; + PlatformRequestResize = platformRequestResize ? (byte)1 : (byte)0; + PlatformRequestClose = platformRequestClose ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiViewport* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiViewportPtr : IEquatable + { + public ImGuiViewportPtr(ImGuiViewport* handle) { Handle = handle; } + + public ImGuiViewport* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiViewportPtr Null => new ImGuiViewportPtr(null); + + public ImGuiViewport this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiViewportPtr(ImGuiViewport* handle) => new ImGuiViewportPtr(handle); + + public static implicit operator ImGuiViewport*(ImGuiViewportPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiViewportPtr left, ImGuiViewportPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiViewportPtr left, ImGuiViewportPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiViewportPtr left, ImGuiViewport* right) => left.Handle == right; + + public static bool operator !=(ImGuiViewportPtr left, ImGuiViewport* right) => left.Handle != right; + + public bool Equals(ImGuiViewportPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiViewportPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiViewportPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiViewportFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + /// + /// To be documented. + /// + public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); + /// + /// To be documented. + /// + public ref Vector2 WorkPos => ref Unsafe.AsRef(&Handle->WorkPos); + /// + /// To be documented. + /// + public ref Vector2 WorkSize => ref Unsafe.AsRef(&Handle->WorkSize); + /// + /// To be documented. + /// + public ref float DpiScale => ref Unsafe.AsRef(&Handle->DpiScale); + /// + /// To be documented. + /// + public ref uint ParentViewportId => ref Unsafe.AsRef(&Handle->ParentViewportId); + /// + /// To be documented. + /// + public ref ImDrawDataPtr DrawData => ref Unsafe.AsRef(&Handle->DrawData); + /// + /// To be documented. + /// + public void* RendererUserData { get => Handle->RendererUserData; set => Handle->RendererUserData = value; } + /// + /// To be documented. + /// + public void* PlatformUserData { get => Handle->PlatformUserData; set => Handle->PlatformUserData = value; } + /// + /// To be documented. + /// + public void* PlatformHandle { get => Handle->PlatformHandle; set => Handle->PlatformHandle = value; } + /// + /// To be documented. + /// + public void* PlatformHandleRaw { get => Handle->PlatformHandleRaw; set => Handle->PlatformHandleRaw = value; } + /// + /// To be documented. + /// + public ref bool PlatformRequestMove => ref Unsafe.AsRef(&Handle->PlatformRequestMove); + /// + /// To be documented. + /// + public ref bool PlatformRequestResize => ref Unsafe.AsRef(&Handle->PlatformRequestResize); + /// + /// To be documented. + /// + public ref bool PlatformRequestClose => ref Unsafe.AsRef(&Handle->PlatformRequestClose); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiViewportPtrPtr : IEquatable + { + public ImGuiViewportPtrPtr(ImGuiViewport** handle) { Handle = handle; } + + public ImGuiViewport** Handle; + + public bool IsNull => Handle == null; + + public static ImGuiViewportPtrPtr Null => new ImGuiViewportPtrPtr(null); + + public ImGuiViewport* this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiViewportPtrPtr(ImGuiViewport** handle) => new ImGuiViewportPtrPtr(handle); + + public static implicit operator ImGuiViewport**(ImGuiViewportPtrPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiViewportPtrPtr left, ImGuiViewportPtrPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiViewportPtrPtr left, ImGuiViewportPtrPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiViewportPtrPtr left, ImGuiViewport** right) => left.Handle == right; + + public static bool operator !=(ImGuiViewportPtrPtr left, ImGuiViewport** right) => left.Handle != right; + + public bool Equals(ImGuiViewportPtrPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiViewportPtrPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiViewportPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiViewportP.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiViewportP.cs new file mode 100644 index 000000000..03306d160 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiViewportP.cs @@ -0,0 +1,410 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// ImGuiViewport PrivateInternals fields (cardinal sin: we are using inheritance!)
+ /// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiViewportP + { + /// + /// To be documented. + /// + public ImGuiViewport ImGuiViewport; + + /// + /// To be documented. + /// + public int Idx; + + /// + /// To be documented. + /// + public int LastFrameActive; + + /// + /// To be documented. + /// + public int LastFrontMostStampCount; + + /// + /// To be documented. + /// + public uint LastNameHash; + + /// + /// To be documented. + /// + public Vector2 LastPos; + + /// + /// To be documented. + /// + public float Alpha; + + /// + /// To be documented. + /// + public float LastAlpha; + + /// + /// To be documented. + /// + public short PlatformMonitor; + + /// + /// To be documented. + /// + public byte PlatformWindowCreated; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* Window; + + /// + /// To be documented. + /// + public int DrawListsLastFrame_0; + public int DrawListsLastFrame_1; + + /// + /// To be documented. + /// + public unsafe ImDrawList* DrawLists_0; + public unsafe ImDrawList* DrawLists_1; + + /// + /// To be documented. + /// + public ImDrawData DrawDataP; + + /// + /// To be documented. + /// + public ImDrawDataBuilder DrawDataBuilder; + + /// + /// To be documented. + /// + public Vector2 LastPlatformPos; + + /// + /// To be documented. + /// + public Vector2 LastPlatformSize; + + /// + /// To be documented. + /// + public Vector2 LastRendererSize; + + /// + /// To be documented. + /// + public Vector2 WorkOffsetMin; + + /// + /// To be documented. + /// + public Vector2 WorkOffsetMax; + + /// + /// To be documented. + /// + public Vector2 BuildWorkOffsetMin; + + /// + /// To be documented. + /// + public Vector2 BuildWorkOffsetMax; + + + /// + /// To be documented. + /// + public unsafe ImGuiViewportP(ImGuiViewport imGuiViewport = default, int idx = default, int lastFrameActive = default, int lastFrontMostStampCount = default, uint lastNameHash = default, Vector2 lastPos = default, float alpha = default, float lastAlpha = default, short platformMonitor = default, bool platformWindowCreated = default, ImGuiWindowPtr window = default, int* drawListsLastFrame = default, ImDrawListPtrPtr drawLists = default, ImDrawData drawDataP = default, ImDrawDataBuilder drawDataBuilder = default, Vector2 lastPlatformPos = default, Vector2 lastPlatformSize = default, Vector2 lastRendererSize = default, Vector2 workOffsetMin = default, Vector2 workOffsetMax = default, Vector2 buildWorkOffsetMin = default, Vector2 buildWorkOffsetMax = default) + { + ImGuiViewport = imGuiViewport; + Idx = idx; + LastFrameActive = lastFrameActive; + LastFrontMostStampCount = lastFrontMostStampCount; + LastNameHash = lastNameHash; + LastPos = lastPos; + Alpha = alpha; + LastAlpha = lastAlpha; + PlatformMonitor = platformMonitor; + PlatformWindowCreated = platformWindowCreated ? (byte)1 : (byte)0; + Window = window; + if (drawListsLastFrame != default(int*)) + { + DrawListsLastFrame_0 = drawListsLastFrame[0]; + DrawListsLastFrame_1 = drawListsLastFrame[1]; + } + if (drawLists != default(ImDrawListPtrPtr)) + { + DrawLists_0 = drawLists[0]; + DrawLists_1 = drawLists[1]; + } + DrawDataP = drawDataP; + DrawDataBuilder = drawDataBuilder; + LastPlatformPos = lastPlatformPos; + LastPlatformSize = lastPlatformSize; + LastRendererSize = lastRendererSize; + WorkOffsetMin = workOffsetMin; + WorkOffsetMax = workOffsetMax; + BuildWorkOffsetMin = buildWorkOffsetMin; + BuildWorkOffsetMax = buildWorkOffsetMax; + } + + /// + /// To be documented. + /// + public unsafe ImGuiViewportP(ImGuiViewport imGuiViewport = default, int idx = default, int lastFrameActive = default, int lastFrontMostStampCount = default, uint lastNameHash = default, Vector2 lastPos = default, float alpha = default, float lastAlpha = default, short platformMonitor = default, bool platformWindowCreated = default, ImGuiWindowPtr window = default, Span drawListsLastFrame = default, Span> drawLists = default, ImDrawData drawDataP = default, ImDrawDataBuilder drawDataBuilder = default, Vector2 lastPlatformPos = default, Vector2 lastPlatformSize = default, Vector2 lastRendererSize = default, Vector2 workOffsetMin = default, Vector2 workOffsetMax = default, Vector2 buildWorkOffsetMin = default, Vector2 buildWorkOffsetMax = default) + { + ImGuiViewport = imGuiViewport; + Idx = idx; + LastFrameActive = lastFrameActive; + LastFrontMostStampCount = lastFrontMostStampCount; + LastNameHash = lastNameHash; + LastPos = lastPos; + Alpha = alpha; + LastAlpha = lastAlpha; + PlatformMonitor = platformMonitor; + PlatformWindowCreated = platformWindowCreated ? (byte)1 : (byte)0; + Window = window; + if (drawListsLastFrame != default(Span)) + { + DrawListsLastFrame_0 = drawListsLastFrame[0]; + DrawListsLastFrame_1 = drawListsLastFrame[1]; + } + if (drawLists != default(Span>)) + { + DrawLists_0 = drawLists[0]; + DrawLists_1 = drawLists[1]; + } + DrawDataP = drawDataP; + DrawDataBuilder = drawDataBuilder; + LastPlatformPos = lastPlatformPos; + LastPlatformSize = lastPlatformSize; + LastRendererSize = lastRendererSize; + WorkOffsetMin = workOffsetMin; + WorkOffsetMax = workOffsetMax; + BuildWorkOffsetMin = buildWorkOffsetMin; + BuildWorkOffsetMax = buildWorkOffsetMax; + } + + + /// + /// To be documented. + /// + public unsafe Span> DrawLists + + { + get + { + fixed (ImDrawList** p = &this.DrawLists_0) + { + return new Span>(p, 2); + } + } + } + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiViewportPPtr : IEquatable + { + public ImGuiViewportPPtr(ImGuiViewportP* handle) { Handle = handle; } + + public ImGuiViewportP* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiViewportPPtr Null => new ImGuiViewportPPtr(null); + + public ImGuiViewportP this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiViewportPPtr(ImGuiViewportP* handle) => new ImGuiViewportPPtr(handle); + + public static implicit operator ImGuiViewportP*(ImGuiViewportPPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiViewportPPtr left, ImGuiViewportPPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiViewportPPtr left, ImGuiViewportPPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiViewportPPtr left, ImGuiViewportP* right) => left.Handle == right; + + public static bool operator !=(ImGuiViewportPPtr left, ImGuiViewportP* right) => left.Handle != right; + + public bool Equals(ImGuiViewportPPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiViewportPPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiViewportPPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiViewport ImGuiViewport => ref Unsafe.AsRef(&Handle->ImGuiViewport); + /// + /// To be documented. + /// + public ref int Idx => ref Unsafe.AsRef(&Handle->Idx); + /// + /// To be documented. + /// + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + /// + /// To be documented. + /// + public ref int LastFrontMostStampCount => ref Unsafe.AsRef(&Handle->LastFrontMostStampCount); + /// + /// To be documented. + /// + public ref uint LastNameHash => ref Unsafe.AsRef(&Handle->LastNameHash); + /// + /// To be documented. + /// + public ref Vector2 LastPos => ref Unsafe.AsRef(&Handle->LastPos); + /// + /// To be documented. + /// + public ref float Alpha => ref Unsafe.AsRef(&Handle->Alpha); + /// + /// To be documented. + /// + public ref float LastAlpha => ref Unsafe.AsRef(&Handle->LastAlpha); + /// + /// To be documented. + /// + public ref short PlatformMonitor => ref Unsafe.AsRef(&Handle->PlatformMonitor); + /// + /// To be documented. + /// + public ref bool PlatformWindowCreated => ref Unsafe.AsRef(&Handle->PlatformWindowCreated); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + /// + /// To be documented. + /// + public unsafe Span DrawListsLastFrame + + { + get + { + return new Span(&Handle->DrawListsLastFrame_0, 2); + } + } + /// + /// To be documented. + /// + /// + /// To be documented. + /// + public ref ImDrawData DrawDataP => ref Unsafe.AsRef(&Handle->DrawDataP); + /// + /// To be documented. + /// + public ref ImDrawDataBuilder DrawDataBuilder => ref Unsafe.AsRef(&Handle->DrawDataBuilder); + /// + /// To be documented. + /// + public ref Vector2 LastPlatformPos => ref Unsafe.AsRef(&Handle->LastPlatformPos); + /// + /// To be documented. + /// + public ref Vector2 LastPlatformSize => ref Unsafe.AsRef(&Handle->LastPlatformSize); + /// + /// To be documented. + /// + public ref Vector2 LastRendererSize => ref Unsafe.AsRef(&Handle->LastRendererSize); + /// + /// To be documented. + /// + public ref Vector2 WorkOffsetMin => ref Unsafe.AsRef(&Handle->WorkOffsetMin); + /// + /// To be documented. + /// + public ref Vector2 WorkOffsetMax => ref Unsafe.AsRef(&Handle->WorkOffsetMax); + /// + /// To be documented. + /// + public ref Vector2 BuildWorkOffsetMin => ref Unsafe.AsRef(&Handle->BuildWorkOffsetMin); + /// + /// To be documented. + /// + public ref Vector2 BuildWorkOffsetMax => ref Unsafe.AsRef(&Handle->BuildWorkOffsetMax); + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiViewportPPtrPtr : IEquatable + { + public ImGuiViewportPPtrPtr(ImGuiViewportP** handle) { Handle = handle; } + + public ImGuiViewportP** Handle; + + public bool IsNull => Handle == null; + + public static ImGuiViewportPPtrPtr Null => new ImGuiViewportPPtrPtr(null); + + public ImGuiViewportP* this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiViewportPPtrPtr(ImGuiViewportP** handle) => new ImGuiViewportPPtrPtr(handle); + + public static implicit operator ImGuiViewportP**(ImGuiViewportPPtrPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiViewportPPtrPtr left, ImGuiViewportPPtrPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiViewportPPtrPtr left, ImGuiViewportPPtrPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiViewportPPtrPtr left, ImGuiViewportP** right) => left.Handle == right; + + public static bool operator !=(ImGuiViewportPPtrPtr left, ImGuiViewportP** right) => left.Handle != right; + + public bool Equals(ImGuiViewportPPtrPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiViewportPPtrPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiViewportPPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindow.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindow.cs new file mode 100644 index 000000000..013075975 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindow.cs @@ -0,0 +1,1374 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Storage for one window
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindow + { + /// + /// To be documented. + /// + public unsafe byte* Name; + + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImGuiWindowFlags Flags; + + /// + /// To be documented. + /// + public ImGuiWindowFlags FlagsPreviousFrame; + + /// + /// To be documented. + /// + public ImGuiWindowClass WindowClass; + + /// + /// To be documented. + /// + public unsafe ImGuiViewportP* Viewport; + + /// + /// To be documented. + /// + public uint ViewportId; + + /// + /// To be documented. + /// + public Vector2 ViewportPos; + + /// + /// To be documented. + /// + public int ViewportAllowPlatformMonitorExtend; + + /// + /// To be documented. + /// + public Vector2 Pos; + + /// + /// To be documented. + /// + public Vector2 Size; + + /// + /// To be documented. + /// + public Vector2 SizeFull; + + /// + /// To be documented. + /// + public Vector2 ContentSize; + + /// + /// To be documented. + /// + public Vector2 ContentSizeIdeal; + + /// + /// To be documented. + /// + public Vector2 ContentSizeExplicit; + + /// + /// To be documented. + /// + public Vector2 WindowPadding; + + /// + /// To be documented. + /// + public float WindowRounding; + + /// + /// To be documented. + /// + public float WindowBorderSize; + + /// + /// To be documented. + /// + public int NameBufLen; + + /// + /// To be documented. + /// + public uint MoveId; + + /// + /// To be documented. + /// + public uint TabId; + + /// + /// To be documented. + /// + public uint ChildId; + + /// + /// To be documented. + /// + public Vector2 Scroll; + + /// + /// To be documented. + /// + public Vector2 ScrollMax; + + /// + /// To be documented. + /// + public Vector2 ScrollTarget; + + /// + /// To be documented. + /// + public Vector2 ScrollTargetCenterRatio; + + /// + /// To be documented. + /// + public Vector2 ScrollTargetEdgeSnapDist; + + /// + /// To be documented. + /// + public Vector2 ScrollbarSizes; + + /// + /// To be documented. + /// + public byte ScrollbarX; + + /// + /// To be documented. + /// + public byte ScrollbarY; + + /// + /// To be documented. + /// + public byte ViewportOwned; + + /// + /// To be documented. + /// + public byte Active; + + /// + /// To be documented. + /// + public byte WasActive; + + /// + /// To be documented. + /// + public byte WriteAccessed; + + /// + /// To be documented. + /// + public byte Collapsed; + + /// + /// To be documented. + /// + public byte WantCollapseToggle; + + /// + /// To be documented. + /// + public byte SkipItems; + + /// + /// To be documented. + /// + public byte Appearing; + + /// + /// To be documented. + /// + public byte Hidden; + + /// + /// To be documented. + /// + public byte IsFallbackWindow; + + /// + /// To be documented. + /// + public byte IsExplicitChild; + + /// + /// To be documented. + /// + public byte HasCloseButton; + + /// + /// To be documented. + /// + public byte ResizeBorderHeld; + + /// + /// To be documented. + /// + public short BeginCount; + + /// + /// To be documented. + /// + public short BeginOrderWithinParent; + + /// + /// To be documented. + /// + public short BeginOrderWithinContext; + + /// + /// To be documented. + /// + public short FocusOrder; + + /// + /// To be documented. + /// + public uint PopupId; + + /// + /// To be documented. + /// + public byte AutoFitFramesX; + + /// + /// To be documented. + /// + public byte AutoFitFramesY; + + /// + /// To be documented. + /// + public byte AutoFitChildAxises; + + /// + /// To be documented. + /// + public byte AutoFitOnlyGrows; + + /// + /// To be documented. + /// + public ImGuiDir AutoPosLastDirection; + + /// + /// To be documented. + /// + public byte HiddenFramesCanSkipItems; + + /// + /// To be documented. + /// + public byte HiddenFramesCannotSkipItems; + + /// + /// To be documented. + /// + public byte HiddenFramesForRenderOnly; + + /// + /// To be documented. + /// + public byte DisableInputsFrames; + + /// + /// To be documented. + /// + public ImGuiCond SetWindowPosAllowFlags; + + /// + /// To be documented. + /// + public ImGuiCond SetWindowSizeAllowFlags; + + /// + /// To be documented. + /// + public ImGuiCond SetWindowCollapsedAllowFlags; + + /// + /// To be documented. + /// + public ImGuiCond SetWindowDockAllowFlags; + + /// + /// To be documented. + /// + public Vector2 SetWindowPosVal; + + /// + /// To be documented. + /// + public Vector2 SetWindowPosPivot; + + /// + /// To be documented. + /// + public ImVector IDStack; + + /// + /// To be documented. + /// + public ImGuiWindowTempData DC; + + /// + /// To be documented. + /// + public ImRect OuterRectClipped; + + /// + /// To be documented. + /// + public ImRect InnerRect; + + /// + /// To be documented. + /// + public ImRect InnerClipRect; + + /// + /// To be documented. + /// + public ImRect WorkRect; + + /// + /// To be documented. + /// + public ImRect ParentWorkRect; + + /// + /// To be documented. + /// + public ImRect ClipRect; + + /// + /// To be documented. + /// + public ImRect ContentRegionRect; + + /// + /// To be documented. + /// + public ImVec2Ih HitTestHoleSize; + + /// + /// To be documented. + /// + public ImVec2Ih HitTestHoleOffset; + + /// + /// To be documented. + /// + public int LastFrameActive; + + /// + /// To be documented. + /// + public int LastFrameJustFocused; + + /// + /// To be documented. + /// + public float LastTimeActive; + + /// + /// To be documented. + /// + public float ItemWidthDefault; + + /// + /// To be documented. + /// + public ImGuiStorage StateStorage; + + /// + /// To be documented. + /// + public ImVector ColumnsStorage; + + /// + /// To be documented. + /// + public float FontWindowScale; + + /// + /// To be documented. + /// + public float FontDpiScale; + + /// + /// To be documented. + /// + public int SettingsOffset; + + /// + /// To be documented. + /// + public unsafe ImDrawList* DrawList; + + /// + /// To be documented. + /// + public ImDrawList DrawListInst; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* ParentWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* ParentWindowInBeginStack; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* RootWindow; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* RootWindowPopupTree; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* RootWindowDockTree; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* RootWindowForTitleBarHighlight; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* RootWindowForNav; + + /// + /// To be documented. + /// + public unsafe ImGuiWindow* NavLastChildNavWindow; + + /// + /// To be documented. + /// + public uint NavLastIds_0; + public uint NavLastIds_1; + + /// + /// To be documented. + /// + public ImRect NavRectRel_0; + public ImRect NavRectRel_1; + + /// + /// To be documented. + /// + public int MemoryDrawListIdxCapacity; + + /// + /// To be documented. + /// + public int MemoryDrawListVtxCapacity; + + /// + /// To be documented. + /// + public byte MemoryCompacted; + + /// + /// To be documented. + /// + public byte DockIsActive; + + /// + /// To be documented. + /// + public byte DockNodeIsVisible; + + /// + /// To be documented. + /// + public byte DockTabIsVisible; + + /// + /// To be documented. + /// + public byte DockTabWantClose; + + /// + /// To be documented. + /// + public short DockOrder; + + /// + /// To be documented. + /// + public ImGuiWindowDockStyle DockStyle; + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode* DockNode; + + /// + /// To be documented. + /// + public unsafe ImGuiDockNode* DockNodeAsHost; + + /// + /// To be documented. + /// + public uint DockId; + + /// + /// To be documented. + /// + public ImGuiItemStatusFlags DockTabItemStatusFlags; + + /// + /// To be documented. + /// + public ImRect DockTabItemRect; + + + /// + /// To be documented. + /// + public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, byte autoFitFramesX = default, byte autoFitFramesY = default, byte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, byte hiddenFramesCanSkipItems = default, byte hiddenFramesCannotSkipItems = default, byte hiddenFramesForRenderOnly = default, byte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, uint* navLastIds = default, ImRect* navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default) + { + Name = name; + ID = id; + Flags = flags; + FlagsPreviousFrame = flagsPreviousFrame; + WindowClass = windowClass; + Viewport = viewport; + ViewportId = viewportId; + ViewportPos = viewportPos; + ViewportAllowPlatformMonitorExtend = viewportAllowPlatformMonitorExtend; + Pos = pos; + Size = size; + SizeFull = sizeFull; + ContentSize = contentSize; + ContentSizeIdeal = contentSizeIdeal; + ContentSizeExplicit = contentSizeExplicit; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + NameBufLen = nameBufLen; + MoveId = moveId; + TabId = tabId; + ChildId = childId; + Scroll = scroll; + ScrollMax = scrollMax; + ScrollTarget = scrollTarget; + ScrollTargetCenterRatio = scrollTargetCenterRatio; + ScrollTargetEdgeSnapDist = scrollTargetEdgeSnapDist; + ScrollbarSizes = scrollbarSizes; + ScrollbarX = scrollbarX ? (byte)1 : (byte)0; + ScrollbarY = scrollbarY ? (byte)1 : (byte)0; + ViewportOwned = viewportOwned ? (byte)1 : (byte)0; + Active = active ? (byte)1 : (byte)0; + WasActive = wasActive ? (byte)1 : (byte)0; + WriteAccessed = writeAccessed ? (byte)1 : (byte)0; + Collapsed = collapsed ? (byte)1 : (byte)0; + WantCollapseToggle = wantCollapseToggle ? (byte)1 : (byte)0; + SkipItems = skipItems ? (byte)1 : (byte)0; + Appearing = appearing ? (byte)1 : (byte)0; + Hidden = hidden ? (byte)1 : (byte)0; + IsFallbackWindow = isFallbackWindow ? (byte)1 : (byte)0; + IsExplicitChild = isExplicitChild ? (byte)1 : (byte)0; + HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; + ResizeBorderHeld = resizeBorderHeld; + BeginCount = beginCount; + BeginOrderWithinParent = beginOrderWithinParent; + BeginOrderWithinContext = beginOrderWithinContext; + FocusOrder = focusOrder; + PopupId = popupId; + AutoFitFramesX = autoFitFramesX; + AutoFitFramesY = autoFitFramesY; + AutoFitChildAxises = autoFitChildAxises; + AutoFitOnlyGrows = autoFitOnlyGrows ? (byte)1 : (byte)0; + AutoPosLastDirection = autoPosLastDirection; + HiddenFramesCanSkipItems = hiddenFramesCanSkipItems; + HiddenFramesCannotSkipItems = hiddenFramesCannotSkipItems; + HiddenFramesForRenderOnly = hiddenFramesForRenderOnly; + DisableInputsFrames = disableInputsFrames; + SetWindowPosAllowFlags = setWindowPosAllowFlags; + SetWindowSizeAllowFlags = setWindowSizeAllowFlags; + SetWindowCollapsedAllowFlags = setWindowCollapsedAllowFlags; + SetWindowDockAllowFlags = setWindowDockAllowFlags; + SetWindowPosVal = setWindowPosVal; + SetWindowPosPivot = setWindowPosPivot; + IDStack = idStack; + DC = dc; + OuterRectClipped = outerRectClipped; + InnerRect = innerRect; + InnerClipRect = innerClipRect; + WorkRect = workRect; + ParentWorkRect = parentWorkRect; + ClipRect = clipRect; + ContentRegionRect = contentRegionRect; + HitTestHoleSize = hitTestHoleSize; + HitTestHoleOffset = hitTestHoleOffset; + LastFrameActive = lastFrameActive; + LastFrameJustFocused = lastFrameJustFocused; + LastTimeActive = lastTimeActive; + ItemWidthDefault = itemWidthDefault; + StateStorage = stateStorage; + ColumnsStorage = columnsStorage; + FontWindowScale = fontWindowScale; + FontDpiScale = fontDpiScale; + SettingsOffset = settingsOffset; + DrawList = drawList; + DrawListInst = drawListInst; + ParentWindow = parentWindow; + ParentWindowInBeginStack = parentWindowInBeginStack; + RootWindow = rootWindow; + RootWindowPopupTree = rootWindowPopupTree; + RootWindowDockTree = rootWindowDockTree; + RootWindowForTitleBarHighlight = rootWindowForTitleBarHighlight; + RootWindowForNav = rootWindowForNav; + NavLastChildNavWindow = navLastChildNavWindow; + if (navLastIds != default(uint*)) + { + NavLastIds_0 = navLastIds[0]; + NavLastIds_1 = navLastIds[1]; + } + if (navRectRel != default(ImRect*)) + { + NavRectRel_0 = navRectRel[0]; + NavRectRel_1 = navRectRel[1]; + } + MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity; + MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + DockIsActive = dockIsActive ? (byte)1 : (byte)0; + DockNodeIsVisible = dockNodeIsVisible ? (byte)1 : (byte)0; + DockTabIsVisible = dockTabIsVisible ? (byte)1 : (byte)0; + DockTabWantClose = dockTabWantClose ? (byte)1 : (byte)0; + DockOrder = dockOrder; + DockStyle = dockStyle; + DockNode = dockNode; + DockNodeAsHost = dockNodeAsHost; + DockId = dockId; + DockTabItemStatusFlags = dockTabItemStatusFlags; + DockTabItemRect = dockTabItemRect; + } + + /// + /// To be documented. + /// + public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, byte autoFitFramesX = default, byte autoFitFramesY = default, byte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, byte hiddenFramesCanSkipItems = default, byte hiddenFramesCannotSkipItems = default, byte hiddenFramesForRenderOnly = default, byte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, Span navLastIds = default, Span navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default) + { + Name = name; + ID = id; + Flags = flags; + FlagsPreviousFrame = flagsPreviousFrame; + WindowClass = windowClass; + Viewport = viewport; + ViewportId = viewportId; + ViewportPos = viewportPos; + ViewportAllowPlatformMonitorExtend = viewportAllowPlatformMonitorExtend; + Pos = pos; + Size = size; + SizeFull = sizeFull; + ContentSize = contentSize; + ContentSizeIdeal = contentSizeIdeal; + ContentSizeExplicit = contentSizeExplicit; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + NameBufLen = nameBufLen; + MoveId = moveId; + TabId = tabId; + ChildId = childId; + Scroll = scroll; + ScrollMax = scrollMax; + ScrollTarget = scrollTarget; + ScrollTargetCenterRatio = scrollTargetCenterRatio; + ScrollTargetEdgeSnapDist = scrollTargetEdgeSnapDist; + ScrollbarSizes = scrollbarSizes; + ScrollbarX = scrollbarX ? (byte)1 : (byte)0; + ScrollbarY = scrollbarY ? (byte)1 : (byte)0; + ViewportOwned = viewportOwned ? (byte)1 : (byte)0; + Active = active ? (byte)1 : (byte)0; + WasActive = wasActive ? (byte)1 : (byte)0; + WriteAccessed = writeAccessed ? (byte)1 : (byte)0; + Collapsed = collapsed ? (byte)1 : (byte)0; + WantCollapseToggle = wantCollapseToggle ? (byte)1 : (byte)0; + SkipItems = skipItems ? (byte)1 : (byte)0; + Appearing = appearing ? (byte)1 : (byte)0; + Hidden = hidden ? (byte)1 : (byte)0; + IsFallbackWindow = isFallbackWindow ? (byte)1 : (byte)0; + IsExplicitChild = isExplicitChild ? (byte)1 : (byte)0; + HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; + ResizeBorderHeld = resizeBorderHeld; + BeginCount = beginCount; + BeginOrderWithinParent = beginOrderWithinParent; + BeginOrderWithinContext = beginOrderWithinContext; + FocusOrder = focusOrder; + PopupId = popupId; + AutoFitFramesX = autoFitFramesX; + AutoFitFramesY = autoFitFramesY; + AutoFitChildAxises = autoFitChildAxises; + AutoFitOnlyGrows = autoFitOnlyGrows ? (byte)1 : (byte)0; + AutoPosLastDirection = autoPosLastDirection; + HiddenFramesCanSkipItems = hiddenFramesCanSkipItems; + HiddenFramesCannotSkipItems = hiddenFramesCannotSkipItems; + HiddenFramesForRenderOnly = hiddenFramesForRenderOnly; + DisableInputsFrames = disableInputsFrames; + SetWindowPosAllowFlags = setWindowPosAllowFlags; + SetWindowSizeAllowFlags = setWindowSizeAllowFlags; + SetWindowCollapsedAllowFlags = setWindowCollapsedAllowFlags; + SetWindowDockAllowFlags = setWindowDockAllowFlags; + SetWindowPosVal = setWindowPosVal; + SetWindowPosPivot = setWindowPosPivot; + IDStack = idStack; + DC = dc; + OuterRectClipped = outerRectClipped; + InnerRect = innerRect; + InnerClipRect = innerClipRect; + WorkRect = workRect; + ParentWorkRect = parentWorkRect; + ClipRect = clipRect; + ContentRegionRect = contentRegionRect; + HitTestHoleSize = hitTestHoleSize; + HitTestHoleOffset = hitTestHoleOffset; + LastFrameActive = lastFrameActive; + LastFrameJustFocused = lastFrameJustFocused; + LastTimeActive = lastTimeActive; + ItemWidthDefault = itemWidthDefault; + StateStorage = stateStorage; + ColumnsStorage = columnsStorage; + FontWindowScale = fontWindowScale; + FontDpiScale = fontDpiScale; + SettingsOffset = settingsOffset; + DrawList = drawList; + DrawListInst = drawListInst; + ParentWindow = parentWindow; + ParentWindowInBeginStack = parentWindowInBeginStack; + RootWindow = rootWindow; + RootWindowPopupTree = rootWindowPopupTree; + RootWindowDockTree = rootWindowDockTree; + RootWindowForTitleBarHighlight = rootWindowForTitleBarHighlight; + RootWindowForNav = rootWindowForNav; + NavLastChildNavWindow = navLastChildNavWindow; + if (navLastIds != default(Span)) + { + NavLastIds_0 = navLastIds[0]; + NavLastIds_1 = navLastIds[1]; + } + if (navRectRel != default(Span)) + { + NavRectRel_0 = navRectRel[0]; + NavRectRel_1 = navRectRel[1]; + } + MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity; + MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + DockIsActive = dockIsActive ? (byte)1 : (byte)0; + DockNodeIsVisible = dockNodeIsVisible ? (byte)1 : (byte)0; + DockTabIsVisible = dockTabIsVisible ? (byte)1 : (byte)0; + DockTabWantClose = dockTabWantClose ? (byte)1 : (byte)0; + DockOrder = dockOrder; + DockStyle = dockStyle; + DockNode = dockNode; + DockNodeAsHost = dockNodeAsHost; + DockId = dockId; + DockTabItemStatusFlags = dockTabItemStatusFlags; + DockTabItemRect = dockTabItemRect; + } + + + /// + /// To be documented. + /// + public unsafe Span NavRectRel + + { + get + { + fixed (ImRect* p = &this.NavRectRel_0) + { + return new Span(p, 2); + } + } + } + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiWindowPtr : IEquatable + { + public ImGuiWindowPtr(ImGuiWindow* handle) { Handle = handle; } + + public ImGuiWindow* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiWindowPtr Null => new ImGuiWindowPtr(null); + + public ImGuiWindow this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiWindowPtr(ImGuiWindow* handle) => new ImGuiWindowPtr(handle); + + public static implicit operator ImGuiWindow*(ImGuiWindowPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiWindowPtr left, ImGuiWindowPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiWindowPtr left, ImGuiWindowPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiWindowPtr left, ImGuiWindow* right) => left.Handle == right; + + public static bool operator !=(ImGuiWindowPtr left, ImGuiWindow* right) => left.Handle != right; + + public bool Equals(ImGuiWindowPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiWindowPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiWindowPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public byte* Name { get => Handle->Name; set => Handle->Name = value; } + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImGuiWindowFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImGuiWindowFlags FlagsPreviousFrame => ref Unsafe.AsRef(&Handle->FlagsPreviousFrame); + /// + /// To be documented. + /// + public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); + /// + /// To be documented. + /// + public ref ImGuiViewportPPtr Viewport => ref Unsafe.AsRef(&Handle->Viewport); + /// + /// To be documented. + /// + public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); + /// + /// To be documented. + /// + public ref Vector2 ViewportPos => ref Unsafe.AsRef(&Handle->ViewportPos); + /// + /// To be documented. + /// + public ref int ViewportAllowPlatformMonitorExtend => ref Unsafe.AsRef(&Handle->ViewportAllowPlatformMonitorExtend); + /// + /// To be documented. + /// + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + /// + /// To be documented. + /// + public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); + /// + /// To be documented. + /// + public ref Vector2 SizeFull => ref Unsafe.AsRef(&Handle->SizeFull); + /// + /// To be documented. + /// + public ref Vector2 ContentSize => ref Unsafe.AsRef(&Handle->ContentSize); + /// + /// To be documented. + /// + public ref Vector2 ContentSizeIdeal => ref Unsafe.AsRef(&Handle->ContentSizeIdeal); + /// + /// To be documented. + /// + public ref Vector2 ContentSizeExplicit => ref Unsafe.AsRef(&Handle->ContentSizeExplicit); + /// + /// To be documented. + /// + public ref Vector2 WindowPadding => ref Unsafe.AsRef(&Handle->WindowPadding); + /// + /// To be documented. + /// + public ref float WindowRounding => ref Unsafe.AsRef(&Handle->WindowRounding); + /// + /// To be documented. + /// + public ref float WindowBorderSize => ref Unsafe.AsRef(&Handle->WindowBorderSize); + /// + /// To be documented. + /// + public ref int NameBufLen => ref Unsafe.AsRef(&Handle->NameBufLen); + /// + /// To be documented. + /// + public ref uint MoveId => ref Unsafe.AsRef(&Handle->MoveId); + /// + /// To be documented. + /// + public ref uint TabId => ref Unsafe.AsRef(&Handle->TabId); + /// + /// To be documented. + /// + public ref uint ChildId => ref Unsafe.AsRef(&Handle->ChildId); + /// + /// To be documented. + /// + public ref Vector2 Scroll => ref Unsafe.AsRef(&Handle->Scroll); + /// + /// To be documented. + /// + public ref Vector2 ScrollMax => ref Unsafe.AsRef(&Handle->ScrollMax); + /// + /// To be documented. + /// + public ref Vector2 ScrollTarget => ref Unsafe.AsRef(&Handle->ScrollTarget); + /// + /// To be documented. + /// + public ref Vector2 ScrollTargetCenterRatio => ref Unsafe.AsRef(&Handle->ScrollTargetCenterRatio); + /// + /// To be documented. + /// + public ref Vector2 ScrollTargetEdgeSnapDist => ref Unsafe.AsRef(&Handle->ScrollTargetEdgeSnapDist); + /// + /// To be documented. + /// + public ref Vector2 ScrollbarSizes => ref Unsafe.AsRef(&Handle->ScrollbarSizes); + /// + /// To be documented. + /// + public ref bool ScrollbarX => ref Unsafe.AsRef(&Handle->ScrollbarX); + /// + /// To be documented. + /// + public ref bool ScrollbarY => ref Unsafe.AsRef(&Handle->ScrollbarY); + /// + /// To be documented. + /// + public ref bool ViewportOwned => ref Unsafe.AsRef(&Handle->ViewportOwned); + /// + /// To be documented. + /// + public ref bool Active => ref Unsafe.AsRef(&Handle->Active); + /// + /// To be documented. + /// + public ref bool WasActive => ref Unsafe.AsRef(&Handle->WasActive); + /// + /// To be documented. + /// + public ref bool WriteAccessed => ref Unsafe.AsRef(&Handle->WriteAccessed); + /// + /// To be documented. + /// + public ref bool Collapsed => ref Unsafe.AsRef(&Handle->Collapsed); + /// + /// To be documented. + /// + public ref bool WantCollapseToggle => ref Unsafe.AsRef(&Handle->WantCollapseToggle); + /// + /// To be documented. + /// + public ref bool SkipItems => ref Unsafe.AsRef(&Handle->SkipItems); + /// + /// To be documented. + /// + public ref bool Appearing => ref Unsafe.AsRef(&Handle->Appearing); + /// + /// To be documented. + /// + public ref bool Hidden => ref Unsafe.AsRef(&Handle->Hidden); + /// + /// To be documented. + /// + public ref bool IsFallbackWindow => ref Unsafe.AsRef(&Handle->IsFallbackWindow); + /// + /// To be documented. + /// + public ref bool IsExplicitChild => ref Unsafe.AsRef(&Handle->IsExplicitChild); + /// + /// To be documented. + /// + public ref bool HasCloseButton => ref Unsafe.AsRef(&Handle->HasCloseButton); + /// + /// To be documented. + /// + public ref byte ResizeBorderHeld => ref Unsafe.AsRef(&Handle->ResizeBorderHeld); + /// + /// To be documented. + /// + public ref short BeginCount => ref Unsafe.AsRef(&Handle->BeginCount); + /// + /// To be documented. + /// + public ref short BeginOrderWithinParent => ref Unsafe.AsRef(&Handle->BeginOrderWithinParent); + /// + /// To be documented. + /// + public ref short BeginOrderWithinContext => ref Unsafe.AsRef(&Handle->BeginOrderWithinContext); + /// + /// To be documented. + /// + public ref short FocusOrder => ref Unsafe.AsRef(&Handle->FocusOrder); + /// + /// To be documented. + /// + public ref uint PopupId => ref Unsafe.AsRef(&Handle->PopupId); + /// + /// To be documented. + /// + public ref byte AutoFitFramesX => ref Unsafe.AsRef(&Handle->AutoFitFramesX); + /// + /// To be documented. + /// + public ref byte AutoFitFramesY => ref Unsafe.AsRef(&Handle->AutoFitFramesY); + /// + /// To be documented. + /// + public ref byte AutoFitChildAxises => ref Unsafe.AsRef(&Handle->AutoFitChildAxises); + /// + /// To be documented. + /// + public ref bool AutoFitOnlyGrows => ref Unsafe.AsRef(&Handle->AutoFitOnlyGrows); + /// + /// To be documented. + /// + public ref ImGuiDir AutoPosLastDirection => ref Unsafe.AsRef(&Handle->AutoPosLastDirection); + /// + /// To be documented. + /// + public ref byte HiddenFramesCanSkipItems => ref Unsafe.AsRef(&Handle->HiddenFramesCanSkipItems); + /// + /// To be documented. + /// + public ref byte HiddenFramesCannotSkipItems => ref Unsafe.AsRef(&Handle->HiddenFramesCannotSkipItems); + /// + /// To be documented. + /// + public ref byte HiddenFramesForRenderOnly => ref Unsafe.AsRef(&Handle->HiddenFramesForRenderOnly); + /// + /// To be documented. + /// + public ref byte DisableInputsFrames => ref Unsafe.AsRef(&Handle->DisableInputsFrames); + /// + /// To be documented. + /// + public ref ImGuiCond SetWindowPosAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowPosAllowFlags); + /// + /// To be documented. + /// + public ref ImGuiCond SetWindowSizeAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowSizeAllowFlags); + /// + /// To be documented. + /// + public ref ImGuiCond SetWindowCollapsedAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowCollapsedAllowFlags); + /// + /// To be documented. + /// + public ref ImGuiCond SetWindowDockAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowDockAllowFlags); + /// + /// To be documented. + /// + public ref Vector2 SetWindowPosVal => ref Unsafe.AsRef(&Handle->SetWindowPosVal); + /// + /// To be documented. + /// + public ref Vector2 SetWindowPosPivot => ref Unsafe.AsRef(&Handle->SetWindowPosPivot); + /// + /// To be documented. + /// + public ref ImVector IDStack => ref Unsafe.AsRef>(&Handle->IDStack); + /// + /// To be documented. + /// + public ref ImGuiWindowTempData DC => ref Unsafe.AsRef(&Handle->DC); + /// + /// To be documented. + /// + public ref ImRect OuterRectClipped => ref Unsafe.AsRef(&Handle->OuterRectClipped); + /// + /// To be documented. + /// + public ref ImRect InnerRect => ref Unsafe.AsRef(&Handle->InnerRect); + /// + /// To be documented. + /// + public ref ImRect InnerClipRect => ref Unsafe.AsRef(&Handle->InnerClipRect); + /// + /// To be documented. + /// + public ref ImRect WorkRect => ref Unsafe.AsRef(&Handle->WorkRect); + /// + /// To be documented. + /// + public ref ImRect ParentWorkRect => ref Unsafe.AsRef(&Handle->ParentWorkRect); + /// + /// To be documented. + /// + public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + /// + /// To be documented. + /// + public ref ImRect ContentRegionRect => ref Unsafe.AsRef(&Handle->ContentRegionRect); + /// + /// To be documented. + /// + public ref ImVec2Ih HitTestHoleSize => ref Unsafe.AsRef(&Handle->HitTestHoleSize); + /// + /// To be documented. + /// + public ref ImVec2Ih HitTestHoleOffset => ref Unsafe.AsRef(&Handle->HitTestHoleOffset); + /// + /// To be documented. + /// + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + /// + /// To be documented. + /// + public ref int LastFrameJustFocused => ref Unsafe.AsRef(&Handle->LastFrameJustFocused); + /// + /// To be documented. + /// + public ref float LastTimeActive => ref Unsafe.AsRef(&Handle->LastTimeActive); + /// + /// To be documented. + /// + public ref float ItemWidthDefault => ref Unsafe.AsRef(&Handle->ItemWidthDefault); + /// + /// To be documented. + /// + public ref ImGuiStorage StateStorage => ref Unsafe.AsRef(&Handle->StateStorage); + /// + /// To be documented. + /// + public ref ImVector ColumnsStorage => ref Unsafe.AsRef>(&Handle->ColumnsStorage); + /// + /// To be documented. + /// + public ref float FontWindowScale => ref Unsafe.AsRef(&Handle->FontWindowScale); + /// + /// To be documented. + /// + public ref float FontDpiScale => ref Unsafe.AsRef(&Handle->FontDpiScale); + /// + /// To be documented. + /// + public ref int SettingsOffset => ref Unsafe.AsRef(&Handle->SettingsOffset); + /// + /// To be documented. + /// + public ref ImDrawListPtr DrawList => ref Unsafe.AsRef(&Handle->DrawList); + /// + /// To be documented. + /// + public ref ImDrawList DrawListInst => ref Unsafe.AsRef(&Handle->DrawListInst); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr ParentWindow => ref Unsafe.AsRef(&Handle->ParentWindow); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr ParentWindowInBeginStack => ref Unsafe.AsRef(&Handle->ParentWindowInBeginStack); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr RootWindow => ref Unsafe.AsRef(&Handle->RootWindow); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr RootWindowPopupTree => ref Unsafe.AsRef(&Handle->RootWindowPopupTree); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr RootWindowDockTree => ref Unsafe.AsRef(&Handle->RootWindowDockTree); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr RootWindowForTitleBarHighlight => ref Unsafe.AsRef(&Handle->RootWindowForTitleBarHighlight); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr RootWindowForNav => ref Unsafe.AsRef(&Handle->RootWindowForNav); + /// + /// To be documented. + /// + public ref ImGuiWindowPtr NavLastChildNavWindow => ref Unsafe.AsRef(&Handle->NavLastChildNavWindow); + /// + /// To be documented. + /// + public unsafe Span NavLastIds + + { + get + { + return new Span(&Handle->NavLastIds_0, 2); + } + } + /// + /// To be documented. + /// + public unsafe Span NavRectRel + + { + get + { + return new Span(&Handle->NavRectRel_0, 2); + } + } + /// + /// To be documented. + /// + public ref int MemoryDrawListIdxCapacity => ref Unsafe.AsRef(&Handle->MemoryDrawListIdxCapacity); + /// + /// To be documented. + /// + public ref int MemoryDrawListVtxCapacity => ref Unsafe.AsRef(&Handle->MemoryDrawListVtxCapacity); + /// + /// To be documented. + /// + public ref bool MemoryCompacted => ref Unsafe.AsRef(&Handle->MemoryCompacted); + /// + /// To be documented. + /// + public ref bool DockIsActive => ref Unsafe.AsRef(&Handle->DockIsActive); + /// + /// To be documented. + /// + public ref bool DockNodeIsVisible => ref Unsafe.AsRef(&Handle->DockNodeIsVisible); + /// + /// To be documented. + /// + public ref bool DockTabIsVisible => ref Unsafe.AsRef(&Handle->DockTabIsVisible); + /// + /// To be documented. + /// + public ref bool DockTabWantClose => ref Unsafe.AsRef(&Handle->DockTabWantClose); + /// + /// To be documented. + /// + public ref short DockOrder => ref Unsafe.AsRef(&Handle->DockOrder); + /// + /// To be documented. + /// + public ref ImGuiWindowDockStyle DockStyle => ref Unsafe.AsRef(&Handle->DockStyle); + /// + /// To be documented. + /// + public ref ImGuiDockNodePtr DockNode => ref Unsafe.AsRef(&Handle->DockNode); + /// + /// To be documented. + /// + public ref ImGuiDockNodePtr DockNodeAsHost => ref Unsafe.AsRef(&Handle->DockNodeAsHost); + /// + /// To be documented. + /// + public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); + /// + /// To be documented. + /// + public ref ImGuiItemStatusFlags DockTabItemStatusFlags => ref Unsafe.AsRef(&Handle->DockTabItemStatusFlags); + /// + /// To be documented. + /// + public ref ImRect DockTabItemRect => ref Unsafe.AsRef(&Handle->DockTabItemRect); + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiWindowPtrPtr : IEquatable + { + public ImGuiWindowPtrPtr(ImGuiWindow** handle) { Handle = handle; } + + public ImGuiWindow** Handle; + + public bool IsNull => Handle == null; + + public static ImGuiWindowPtrPtr Null => new ImGuiWindowPtrPtr(null); + + public ImGuiWindow* this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiWindowPtrPtr(ImGuiWindow** handle) => new ImGuiWindowPtrPtr(handle); + + public static implicit operator ImGuiWindow**(ImGuiWindowPtrPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiWindowPtrPtr left, ImGuiWindowPtrPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiWindowPtrPtr left, ImGuiWindowPtrPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiWindowPtrPtr left, ImGuiWindow** right) => left.Handle == right; + + public static bool operator !=(ImGuiWindowPtrPtr left, ImGuiWindow** right) => left.Handle != right; + + public bool Equals(ImGuiWindowPtrPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiWindowPtrPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiWindowPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowClass.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowClass.cs new file mode 100644 index 000000000..5d59abe50 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowClass.cs @@ -0,0 +1,184 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// [ALPHA] Rarely used very advanced uses only. Use with SetNextWindowClass() and DockSpace() functions.
+ /// Important: the content of this class is still highly WIP and likely to change and be refactored
+ /// before we stabilize Docking features. Please be mindful if using this.
+ /// Provide hints:
+ /// - To the platform backend via altered viewport flags (enabledisable OS decoration, OS task bar icons, etc.)
+ /// - To the platform backend for OS level parentchild relationships of viewport.
+ /// - To the docking system for various options and filtering.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowClass + { + /// + /// To be documented. + /// + public uint ClassId; + + /// + /// To be documented. + /// + public uint ParentViewportId; + + /// + /// To be documented. + /// + public ImGuiViewportFlags ViewportFlagsOverrideSet; + + /// + /// To be documented. + /// + public ImGuiViewportFlags ViewportFlagsOverrideClear; + + /// + /// To be documented. + /// + public ImGuiTabItemFlags TabItemFlagsOverrideSet; + + /// + /// To be documented. + /// + public ImGuiDockNodeFlags DockNodeFlagsOverrideSet; + + /// + /// To be documented. + /// + public byte DockingAlwaysTabBar; + + /// + /// To be documented. + /// + public byte DockingAllowUnclassed; + + + /// + /// To be documented. + /// + public unsafe ImGuiWindowClass(uint classId = default, uint parentViewportId = default, ImGuiViewportFlags viewportFlagsOverrideSet = default, ImGuiViewportFlags viewportFlagsOverrideClear = default, ImGuiTabItemFlags tabItemFlagsOverrideSet = default, ImGuiDockNodeFlags dockNodeFlagsOverrideSet = default, bool dockingAlwaysTabBar = default, bool dockingAllowUnclassed = default) + { + ClassId = classId; + ParentViewportId = parentViewportId; + ViewportFlagsOverrideSet = viewportFlagsOverrideSet; + ViewportFlagsOverrideClear = viewportFlagsOverrideClear; + TabItemFlagsOverrideSet = tabItemFlagsOverrideSet; + DockNodeFlagsOverrideSet = dockNodeFlagsOverrideSet; + DockingAlwaysTabBar = dockingAlwaysTabBar ? (byte)1 : (byte)0; + DockingAllowUnclassed = dockingAllowUnclassed ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiWindowClass* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiWindowClassPtr : IEquatable + { + public ImGuiWindowClassPtr(ImGuiWindowClass* handle) { Handle = handle; } + + public ImGuiWindowClass* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiWindowClassPtr Null => new ImGuiWindowClassPtr(null); + + public ImGuiWindowClass this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiWindowClassPtr(ImGuiWindowClass* handle) => new ImGuiWindowClassPtr(handle); + + public static implicit operator ImGuiWindowClass*(ImGuiWindowClassPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiWindowClassPtr left, ImGuiWindowClassPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiWindowClassPtr left, ImGuiWindowClassPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiWindowClassPtr left, ImGuiWindowClass* right) => left.Handle == right; + + public static bool operator !=(ImGuiWindowClassPtr left, ImGuiWindowClass* right) => left.Handle != right; + + public bool Equals(ImGuiWindowClassPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiWindowClassPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiWindowClassPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ClassId => ref Unsafe.AsRef(&Handle->ClassId); + /// + /// To be documented. + /// + public ref uint ParentViewportId => ref Unsafe.AsRef(&Handle->ParentViewportId); + /// + /// To be documented. + /// + public ref ImGuiViewportFlags ViewportFlagsOverrideSet => ref Unsafe.AsRef(&Handle->ViewportFlagsOverrideSet); + /// + /// To be documented. + /// + public ref ImGuiViewportFlags ViewportFlagsOverrideClear => ref Unsafe.AsRef(&Handle->ViewportFlagsOverrideClear); + /// + /// To be documented. + /// + public ref ImGuiTabItemFlags TabItemFlagsOverrideSet => ref Unsafe.AsRef(&Handle->TabItemFlagsOverrideSet); + /// + /// To be documented. + /// + public ref ImGuiDockNodeFlags DockNodeFlagsOverrideSet => ref Unsafe.AsRef(&Handle->DockNodeFlagsOverrideSet); + /// + /// To be documented. + /// + public ref bool DockingAlwaysTabBar => ref Unsafe.AsRef(&Handle->DockingAlwaysTabBar); + /// + /// To be documented. + /// + public ref bool DockingAllowUnclassed => ref Unsafe.AsRef(&Handle->DockingAllowUnclassed); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowDockStyle.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowDockStyle.cs new file mode 100644 index 000000000..02231bf6e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowDockStyle.cs @@ -0,0 +1,71 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// We don't store style.Alpha: dock_node->LastBgColor embeds it and otherwise it would only affect the docking tab, which intuitively I would say we don't want to.
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowDockStyle + { + /// + /// To be documented. + /// + public uint Colors_0; + public uint Colors_1; + public uint Colors_2; + public uint Colors_3; + public uint Colors_4; + public uint Colors_5; + + + /// + /// To be documented. + /// + public unsafe ImGuiWindowDockStyle(uint* colors = default) + { + if (colors != default(uint*)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + } + } + + /// + /// To be documented. + /// + public unsafe ImGuiWindowDockStyle(Span colors = default) + { + if (colors != default(Span)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + } + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowSettings.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowSettings.cs new file mode 100644 index 000000000..62a5b9c07 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowSettings.cs @@ -0,0 +1,200 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Windows data saved in imgui.ini file
+ /// Because we never destroy or rename ImGuiWindowSettings, we can store the names in a separate buffer easily.
+ /// (this is designed to be stored in a ImChunkStream buffer, with the variable-length Name following our structure)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowSettings + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImVec2Ih Pos; + + /// + /// To be documented. + /// + public ImVec2Ih Size; + + /// + /// To be documented. + /// + public ImVec2Ih ViewportPos; + + /// + /// To be documented. + /// + public uint ViewportId; + + /// + /// To be documented. + /// + public uint DockId; + + /// + /// To be documented. + /// + public uint ClassId; + + /// + /// To be documented. + /// + public short DockOrder; + + /// + /// To be documented. + /// + public byte Collapsed; + + /// + /// To be documented. + /// + public byte WantApply; + + + /// + /// To be documented. + /// + public unsafe ImGuiWindowSettings(uint id = default, ImVec2Ih pos = default, ImVec2Ih size = default, ImVec2Ih viewportPos = default, uint viewportId = default, uint dockId = default, uint classId = default, short dockOrder = default, bool collapsed = default, bool wantApply = default) + { + ID = id; + Pos = pos; + Size = size; + ViewportPos = viewportPos; + ViewportId = viewportId; + DockId = dockId; + ClassId = classId; + DockOrder = dockOrder; + Collapsed = collapsed ? (byte)1 : (byte)0; + WantApply = wantApply ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImGuiWindowSettings* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiWindowSettingsPtr : IEquatable + { + public ImGuiWindowSettingsPtr(ImGuiWindowSettings* handle) { Handle = handle; } + + public ImGuiWindowSettings* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiWindowSettingsPtr Null => new ImGuiWindowSettingsPtr(null); + + public ImGuiWindowSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiWindowSettingsPtr(ImGuiWindowSettings* handle) => new ImGuiWindowSettingsPtr(handle); + + public static implicit operator ImGuiWindowSettings*(ImGuiWindowSettingsPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiWindowSettingsPtr left, ImGuiWindowSettingsPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiWindowSettingsPtr left, ImGuiWindowSettingsPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiWindowSettingsPtr left, ImGuiWindowSettings* right) => left.Handle == right; + + public static bool operator !=(ImGuiWindowSettingsPtr left, ImGuiWindowSettings* right) => left.Handle != right; + + public bool Equals(ImGuiWindowSettingsPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiWindowSettingsPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiWindowSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImVec2Ih Pos => ref Unsafe.AsRef(&Handle->Pos); + /// + /// To be documented. + /// + public ref ImVec2Ih Size => ref Unsafe.AsRef(&Handle->Size); + /// + /// To be documented. + /// + public ref ImVec2Ih ViewportPos => ref Unsafe.AsRef(&Handle->ViewportPos); + /// + /// To be documented. + /// + public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); + /// + /// To be documented. + /// + public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); + /// + /// To be documented. + /// + public ref uint ClassId => ref Unsafe.AsRef(&Handle->ClassId); + /// + /// To be documented. + /// + public ref short DockOrder => ref Unsafe.AsRef(&Handle->DockOrder); + /// + /// To be documented. + /// + public ref bool Collapsed => ref Unsafe.AsRef(&Handle->Collapsed); + /// + /// To be documented. + /// + public ref bool WantApply => ref Unsafe.AsRef(&Handle->WantApply); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowStackData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowStackData.cs new file mode 100644 index 000000000..c8e06e67e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowStackData.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Data saved for each window pushed into the stack
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowStackData + { + /// + /// To be documented. + /// + public unsafe ImGuiWindow* Window; + + /// + /// To be documented. + /// + public ImGuiLastItemData ParentLastItemDataBackup; + + /// + /// To be documented. + /// + public ImGuiStackSizes StackSizesOnBegin; + + + /// + /// To be documented. + /// + public unsafe ImGuiWindowStackData(ImGuiWindowPtr window = default, ImGuiLastItemData parentLastItemDataBackup = default, ImGuiStackSizes stackSizesOnBegin = default) + { + Window = window; + ParentLastItemDataBackup = parentLastItemDataBackup; + StackSizesOnBegin = stackSizesOnBegin; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImGuiWindowStackDataPtr : IEquatable + { + public ImGuiWindowStackDataPtr(ImGuiWindowStackData* handle) { Handle = handle; } + + public ImGuiWindowStackData* Handle; + + public bool IsNull => Handle == null; + + public static ImGuiWindowStackDataPtr Null => new ImGuiWindowStackDataPtr(null); + + public ImGuiWindowStackData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImGuiWindowStackDataPtr(ImGuiWindowStackData* handle) => new ImGuiWindowStackDataPtr(handle); + + public static implicit operator ImGuiWindowStackData*(ImGuiWindowStackDataPtr handle) => handle.Handle; + + public static bool operator ==(ImGuiWindowStackDataPtr left, ImGuiWindowStackDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImGuiWindowStackDataPtr left, ImGuiWindowStackDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImGuiWindowStackDataPtr left, ImGuiWindowStackData* right) => left.Handle == right; + + public static bool operator !=(ImGuiWindowStackDataPtr left, ImGuiWindowStackData* right) => left.Handle != right; + + public bool Equals(ImGuiWindowStackDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImGuiWindowStackDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImGuiWindowStackDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + /// + /// To be documented. + /// + public ref ImGuiLastItemData ParentLastItemDataBackup => ref Unsafe.AsRef(&Handle->ParentLastItemDataBackup); + /// + /// To be documented. + /// + public ref ImGuiStackSizes StackSizesOnBegin => ref Unsafe.AsRef(&Handle->StackSizesOnBegin); + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowTempData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowTempData.cs new file mode 100644 index 000000000..4942136fe --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImGuiWindowTempData.cs @@ -0,0 +1,248 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Transient per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, hence the DC variable name in ImGuiWindow.
+ /// (That's theory, in practice the delimitation between ImGuiWindow and ImGuiWindowTempData is quite tenuous and could be reconsidered..)
+ /// (This doesn't need a constructor because we zero-clear it as part of ImGuiWindow and all frame-temporary data are setup on Begin)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowTempData + { + /// + /// To be documented. + /// + public Vector2 CursorPos; + + /// + /// To be documented. + /// + public Vector2 CursorPosPrevLine; + + /// + /// To be documented. + /// + public Vector2 CursorStartPos; + + /// + /// To be documented. + /// + public Vector2 CursorMaxPos; + + /// + /// To be documented. + /// + public Vector2 IdealMaxPos; + + /// + /// To be documented. + /// + public Vector2 CurrLineSize; + + /// + /// To be documented. + /// + public Vector2 PrevLineSize; + + /// + /// To be documented. + /// + public float CurrLineTextBaseOffset; + + /// + /// To be documented. + /// + public float PrevLineTextBaseOffset; + + /// + /// To be documented. + /// + public byte IsSameLine; + + /// + /// To be documented. + /// + public ImVec1 Indent; + + /// + /// To be documented. + /// + public ImVec1 ColumnsOffset; + + /// + /// To be documented. + /// + public ImVec1 GroupOffset; + + /// + /// To be documented. + /// + public Vector2 CursorStartPosLossyness; + + /// + /// To be documented. + /// + public ImGuiNavLayer NavLayerCurrent; + + /// + /// To be documented. + /// + public short NavLayersActiveMask; + + /// + /// To be documented. + /// + public short NavLayersActiveMaskNext; + + /// + /// To be documented. + /// + public uint NavFocusScopeIdCurrent; + + /// + /// To be documented. + /// + public byte NavHideHighlightOneFrame; + + /// + /// To be documented. + /// + public byte NavHasScroll; + + /// + /// To be documented. + /// + public byte MenuBarAppending; + + /// + /// To be documented. + /// + public Vector2 MenuBarOffset; + + /// + /// To be documented. + /// + public ImGuiMenuColumns MenuColumns; + + /// + /// To be documented. + /// + public int TreeDepth; + + /// + /// To be documented. + /// + public uint TreeJumpToParentOnPopMask; + + /// + /// To be documented. + /// + public ImVector ChildWindows; + + /// + /// To be documented. + /// + public unsafe ImGuiStorage* StateStorage; + + /// + /// To be documented. + /// + public unsafe ImGuiOldColumns* CurrentColumns; + + /// + /// To be documented. + /// + public int CurrentTableIdx; + + /// + /// To be documented. + /// + public ImGuiLayoutType LayoutType; + + /// + /// To be documented. + /// + public ImGuiLayoutType ParentLayoutType; + + /// + /// To be documented. + /// + public float ItemWidth; + + /// + /// To be documented. + /// + public float TextWrapPos; + + /// + /// To be documented. + /// + public ImVector ItemWidthStack; + + /// + /// To be documented. + /// + public ImVector TextWrapPosStack; + + + /// + /// To be documented. + /// + public unsafe ImGuiWindowTempData(Vector2 cursorPos = default, Vector2 cursorPosPrevLine = default, Vector2 cursorStartPos = default, Vector2 cursorMaxPos = default, Vector2 idealMaxPos = default, Vector2 currLineSize = default, Vector2 prevLineSize = default, float currLineTextBaseOffset = default, float prevLineTextBaseOffset = default, bool isSameLine = default, ImVec1 indent = default, ImVec1 columnsOffset = default, ImVec1 groupOffset = default, Vector2 cursorStartPosLossyness = default, ImGuiNavLayer navLayerCurrent = default, short navLayersActiveMask = default, short navLayersActiveMaskNext = default, uint navFocusScopeIdCurrent = default, bool navHideHighlightOneFrame = default, bool navHasScroll = default, bool menuBarAppending = default, Vector2 menuBarOffset = default, ImGuiMenuColumns menuColumns = default, int treeDepth = default, uint treeJumpToParentOnPopMask = default, ImVector childWindows = default, ImGuiStorage* stateStorage = default, ImGuiOldColumns* currentColumns = default, int currentTableIdx = default, ImGuiLayoutType layoutType = default, ImGuiLayoutType parentLayoutType = default, float itemWidth = default, float textWrapPos = default, ImVector itemWidthStack = default, ImVector textWrapPosStack = default) + { + CursorPos = cursorPos; + CursorPosPrevLine = cursorPosPrevLine; + CursorStartPos = cursorStartPos; + CursorMaxPos = cursorMaxPos; + IdealMaxPos = idealMaxPos; + CurrLineSize = currLineSize; + PrevLineSize = prevLineSize; + CurrLineTextBaseOffset = currLineTextBaseOffset; + PrevLineTextBaseOffset = prevLineTextBaseOffset; + IsSameLine = isSameLine ? (byte)1 : (byte)0; + Indent = indent; + ColumnsOffset = columnsOffset; + GroupOffset = groupOffset; + CursorStartPosLossyness = cursorStartPosLossyness; + NavLayerCurrent = navLayerCurrent; + NavLayersActiveMask = navLayersActiveMask; + NavLayersActiveMaskNext = navLayersActiveMaskNext; + NavFocusScopeIdCurrent = navFocusScopeIdCurrent; + NavHideHighlightOneFrame = navHideHighlightOneFrame ? (byte)1 : (byte)0; + NavHasScroll = navHasScroll ? (byte)1 : (byte)0; + MenuBarAppending = menuBarAppending ? (byte)1 : (byte)0; + MenuBarOffset = menuBarOffset; + MenuColumns = menuColumns; + TreeDepth = treeDepth; + TreeJumpToParentOnPopMask = treeJumpToParentOnPopMask; + ChildWindows = childWindows; + StateStorage = stateStorage; + CurrentColumns = currentColumns; + CurrentTableIdx = currentTableIdx; + LayoutType = layoutType; + ParentLayoutType = parentLayoutType; + ItemWidth = itemWidth; + TextWrapPos = textWrapPos; + ItemWidthStack = itemWidthStack; + TextWrapPosStack = textWrapPosStack; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImPoolImGuiTabBar.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImPoolImGuiTabBar.cs new file mode 100644 index 000000000..e16aed08c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImPoolImGuiTabBar.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImGuiTabBar + { + /// + /// To be documented. + /// + public ImVector Buf; + + /// + /// To be documented. + /// + public ImGuiStorage Map; + + /// + /// To be documented. + /// + public int FreeIdx; + + /// + /// To be documented. + /// + public int AliveCount; + + + /// + /// To be documented. + /// + public unsafe ImPoolImGuiTabBar(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImPoolImGuiTable.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImPoolImGuiTable.cs new file mode 100644 index 000000000..3c546e300 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImPoolImGuiTable.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImGuiTable + { + /// + /// To be documented. + /// + public ImVector Buf; + + /// + /// To be documented. + /// + public ImGuiStorage Map; + + /// + /// To be documented. + /// + public int FreeIdx; + + /// + /// To be documented. + /// + public int AliveCount; + + + /// + /// To be documented. + /// + public unsafe ImPoolImGuiTable(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImRect.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImRect.cs new file mode 100644 index 000000000..e808e70d4 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImRect.cs @@ -0,0 +1,119 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: ImRect (2D axis aligned bounding-box)
+ /// NB: we can't rely on ImVec2 math operators being available here!
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImRect + { + /// + /// To be documented. + /// + public Vector2 Min; + + /// + /// To be documented. + /// + public Vector2 Max; + + + /// + /// To be documented. + /// + public unsafe ImRect(Vector2 min = default, Vector2 max = default) + { + Min = min; + Max = max; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImRect* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImRectPtr : IEquatable + { + public ImRectPtr(ImRect* handle) { Handle = handle; } + + public ImRect* Handle; + + public bool IsNull => Handle == null; + + public static ImRectPtr Null => new ImRectPtr(null); + + public ImRect this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImRectPtr(ImRect* handle) => new ImRectPtr(handle); + + public static implicit operator ImRect*(ImRectPtr handle) => handle.Handle; + + public static bool operator ==(ImRectPtr left, ImRectPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImRectPtr left, ImRectPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImRectPtr left, ImRect* right) => left.Handle == right; + + public static bool operator !=(ImRectPtr left, ImRect* right) => left.Handle != right; + + public bool Equals(ImRectPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImRectPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref Vector2 Min => ref Unsafe.AsRef(&Handle->Min); + /// + /// To be documented. + /// + public ref Vector2 Max => ref Unsafe.AsRef(&Handle->Max); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableCellData.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableCellData.cs new file mode 100644 index 000000000..7b087362a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableCellData.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImSpanImGuiTableCellData + { + /// + /// To be documented. + /// + public unsafe ImGuiTableCellData* Data; + + /// + /// To be documented. + /// + public unsafe ImGuiTableCellData* DataEnd; + + + /// + /// To be documented. + /// + public unsafe ImSpanImGuiTableCellData(ImGuiTableCellData* data = default, ImGuiTableCellData* dataEnd = default) + { + Data = data; + DataEnd = dataEnd; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableColumn.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableColumn.cs new file mode 100644 index 000000000..37bbcc2c4 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableColumn.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImSpanImGuiTableColumn + { + /// + /// To be documented. + /// + public unsafe ImGuiTableColumn* Data; + + /// + /// To be documented. + /// + public unsafe ImGuiTableColumn* DataEnd; + + + /// + /// To be documented. + /// + public unsafe ImSpanImGuiTableColumn(ImGuiTableColumn* data = default, ImGuiTableColumn* dataEnd = default) + { + Data = data; + DataEnd = dataEnd; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableColumnIdx.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableColumnIdx.cs new file mode 100644 index 000000000..b28325a51 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImSpanImGuiTableColumnIdx.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImSpanImGuiTableColumnIdx + { + /// + /// To be documented. + /// + public unsafe sbyte* Data; + + /// + /// To be documented. + /// + public unsafe sbyte* DataEnd; + + + /// + /// To be documented. + /// + public unsafe ImSpanImGuiTableColumnIdx(sbyte* data = default, sbyte* dataEnd = default) + { + Data = data; + DataEnd = dataEnd; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImVec1.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImVec1.cs new file mode 100644 index 000000000..2dce2f41c --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImVec1.cs @@ -0,0 +1,108 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImVec1 + { + /// + /// To be documented. + /// + public float X; + + + /// + /// To be documented. + /// + public unsafe ImVec1(float x = default) + { + X = x; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImVec1* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImVec1Ptr : IEquatable + { + public ImVec1Ptr(ImVec1* handle) { Handle = handle; } + + public ImVec1* Handle; + + public bool IsNull => Handle == null; + + public static ImVec1Ptr Null => new ImVec1Ptr(null); + + public ImVec1 this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImVec1Ptr(ImVec1* handle) => new ImVec1Ptr(handle); + + public static implicit operator ImVec1*(ImVec1Ptr handle) => handle.Handle; + + public static bool operator ==(ImVec1Ptr left, ImVec1Ptr right) => left.Handle == right.Handle; + + public static bool operator !=(ImVec1Ptr left, ImVec1Ptr right) => left.Handle != right.Handle; + + public static bool operator ==(ImVec1Ptr left, ImVec1* right) => left.Handle == right; + + public static bool operator !=(ImVec1Ptr left, ImVec1* right) => left.Handle != right; + + public bool Equals(ImVec1Ptr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImVec1Ptr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImVec1Ptr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref float X => ref Unsafe.AsRef(&Handle->X); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/ImVec2Ih.cs b/imgui/Dalamud.ImGui/Generated/Structs/ImVec2Ih.cs new file mode 100644 index 000000000..04b4399c7 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/ImVec2Ih.cs @@ -0,0 +1,118 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage)
+ ///
+ [StructLayout(LayoutKind.Sequential)] + public partial struct ImVec2Ih + { + /// + /// To be documented. + /// + public short X; + + /// + /// To be documented. + /// + public short Y; + + + /// + /// To be documented. + /// + public unsafe ImVec2Ih(short x = default, short y = default) + { + X = x; + Y = y; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImVec2Ih* @this = &this) + { + ImGui.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImVec2IhPtr : IEquatable + { + public ImVec2IhPtr(ImVec2Ih* handle) { Handle = handle; } + + public ImVec2Ih* Handle; + + public bool IsNull => Handle == null; + + public static ImVec2IhPtr Null => new ImVec2IhPtr(null); + + public ImVec2Ih this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImVec2IhPtr(ImVec2Ih* handle) => new ImVec2IhPtr(handle); + + public static implicit operator ImVec2Ih*(ImVec2IhPtr handle) => handle.Handle; + + public static bool operator ==(ImVec2IhPtr left, ImVec2IhPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImVec2IhPtr left, ImVec2IhPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImVec2IhPtr left, ImVec2Ih* right) => left.Handle == right; + + public static bool operator !=(ImVec2IhPtr left, ImVec2Ih* right) => left.Handle != right; + + public bool Equals(ImVec2IhPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImVec2IhPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImVec2IhPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref short X => ref Unsafe.AsRef(&Handle->X); + /// + /// To be documented. + /// + public ref short Y => ref Unsafe.AsRef(&Handle->Y); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImGui.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/STBTexteditState.cs b/imgui/Dalamud.ImGui/Generated/Structs/STBTexteditState.cs new file mode 100644 index 000000000..49d3e236e --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/STBTexteditState.cs @@ -0,0 +1,120 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct STBTexteditState + { + /// + /// To be documented. + /// + public int Cursor; + + /// + /// To be documented. + /// + public int SelectStart; + + /// + /// To be documented. + /// + public int SelectEnd; + + /// + /// To be documented. + /// + public byte InsertMode; + + /// + /// To be documented. + /// + public int RowCountPerPage; + + /// + /// To be documented. + /// + public byte CursorAtEndOfLine; + + /// + /// To be documented. + /// + public byte Initialized; + + /// + /// To be documented. + /// + public byte HasPreferredX; + + /// + /// To be documented. + /// + public byte SingleLine; + + /// + /// To be documented. + /// + public byte Padding1; + + /// + /// To be documented. + /// + public byte Padding2; + + /// + /// To be documented. + /// + public byte Padding3; + + /// + /// To be documented. + /// + public float PreferredX; + + /// + /// To be documented. + /// + public StbUndoState Undostate; + + + /// + /// To be documented. + /// + public unsafe STBTexteditState(int cursor = default, int selectStart = default, int selectEnd = default, byte insertMode = default, int rowCountPerPage = default, byte cursorAtEndOfLine = default, byte initialized = default, byte hasPreferredX = default, byte singleLine = default, byte padding1 = default, byte padding2 = default, byte padding3 = default, float preferredX = default, StbUndoState undostate = default) + { + Cursor = cursor; + SelectStart = selectStart; + SelectEnd = selectEnd; + InsertMode = insertMode; + RowCountPerPage = rowCountPerPage; + CursorAtEndOfLine = cursorAtEndOfLine; + Initialized = initialized; + HasPreferredX = hasPreferredX; + SingleLine = singleLine; + Padding1 = padding1; + Padding2 = padding2; + Padding3 = padding3; + PreferredX = preferredX; + Undostate = undostate; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/StbTexteditRow.cs b/imgui/Dalamud.ImGui/Generated/Structs/StbTexteditRow.cs new file mode 100644 index 000000000..b1600a592 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/StbTexteditRow.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct StbTexteditRow + { + /// + /// To be documented. + /// + public float X0; + + /// + /// To be documented. + /// + public float X1; + + /// + /// To be documented. + /// + public float BaselineYDelta; + + /// + /// To be documented. + /// + public float Ymin; + + /// + /// To be documented. + /// + public float Ymax; + + /// + /// To be documented. + /// + public int NumChars; + + + /// + /// To be documented. + /// + public unsafe StbTexteditRow(float x0 = default, float x1 = default, float baselineYDelta = default, float ymin = default, float ymax = default, int numChars = default) + { + X0 = x0; + X1 = x1; + BaselineYDelta = baselineYDelta; + Ymin = ymin; + Ymax = ymax; + NumChars = numChars; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/StbUndoRecord.cs b/imgui/Dalamud.ImGui/Generated/Structs/StbUndoRecord.cs new file mode 100644 index 000000000..f86fb607a --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/StbUndoRecord.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct StbUndoRecord + { + /// + /// To be documented. + /// + public int Where; + + /// + /// To be documented. + /// + public int InsertLength; + + /// + /// To be documented. + /// + public int DeleteLength; + + /// + /// To be documented. + /// + public int CharStorage; + + + /// + /// To be documented. + /// + public unsafe StbUndoRecord(int where = default, int insertLength = default, int deleteLength = default, int charStorage = default) + { + Where = where; + InsertLength = insertLength; + DeleteLength = deleteLength; + CharStorage = charStorage; + } + + + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/StbUndoState.cs b/imgui/Dalamud.ImGui/Generated/Structs/StbUndoState.cs new file mode 100644 index 000000000..7825af3e5 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/StbUndoState.cs @@ -0,0 +1,3399 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct StbUndoState + { + /// + /// To be documented. + /// + public StbUndoRecord UndoRec_0; + public StbUndoRecord UndoRec_1; + public StbUndoRecord UndoRec_2; + public StbUndoRecord UndoRec_3; + public StbUndoRecord UndoRec_4; + public StbUndoRecord UndoRec_5; + public StbUndoRecord UndoRec_6; + public StbUndoRecord UndoRec_7; + public StbUndoRecord UndoRec_8; + public StbUndoRecord UndoRec_9; + public StbUndoRecord UndoRec_10; + public StbUndoRecord UndoRec_11; + public StbUndoRecord UndoRec_12; + public StbUndoRecord UndoRec_13; + public StbUndoRecord UndoRec_14; + public StbUndoRecord UndoRec_15; + public StbUndoRecord UndoRec_16; + public StbUndoRecord UndoRec_17; + public StbUndoRecord UndoRec_18; + public StbUndoRecord UndoRec_19; + public StbUndoRecord UndoRec_20; + public StbUndoRecord UndoRec_21; + public StbUndoRecord UndoRec_22; + public StbUndoRecord UndoRec_23; + public StbUndoRecord UndoRec_24; + public StbUndoRecord UndoRec_25; + public StbUndoRecord UndoRec_26; + public StbUndoRecord UndoRec_27; + public StbUndoRecord UndoRec_28; + public StbUndoRecord UndoRec_29; + public StbUndoRecord UndoRec_30; + public StbUndoRecord UndoRec_31; + public StbUndoRecord UndoRec_32; + public StbUndoRecord UndoRec_33; + public StbUndoRecord UndoRec_34; + public StbUndoRecord UndoRec_35; + public StbUndoRecord UndoRec_36; + public StbUndoRecord UndoRec_37; + public StbUndoRecord UndoRec_38; + public StbUndoRecord UndoRec_39; + public StbUndoRecord UndoRec_40; + public StbUndoRecord UndoRec_41; + public StbUndoRecord UndoRec_42; + public StbUndoRecord UndoRec_43; + public StbUndoRecord UndoRec_44; + public StbUndoRecord UndoRec_45; + public StbUndoRecord UndoRec_46; + public StbUndoRecord UndoRec_47; + public StbUndoRecord UndoRec_48; + public StbUndoRecord UndoRec_49; + public StbUndoRecord UndoRec_50; + public StbUndoRecord UndoRec_51; + public StbUndoRecord UndoRec_52; + public StbUndoRecord UndoRec_53; + public StbUndoRecord UndoRec_54; + public StbUndoRecord UndoRec_55; + public StbUndoRecord UndoRec_56; + public StbUndoRecord UndoRec_57; + public StbUndoRecord UndoRec_58; + public StbUndoRecord UndoRec_59; + public StbUndoRecord UndoRec_60; + public StbUndoRecord UndoRec_61; + public StbUndoRecord UndoRec_62; + public StbUndoRecord UndoRec_63; + public StbUndoRecord UndoRec_64; + public StbUndoRecord UndoRec_65; + public StbUndoRecord UndoRec_66; + public StbUndoRecord UndoRec_67; + public StbUndoRecord UndoRec_68; + public StbUndoRecord UndoRec_69; + public StbUndoRecord UndoRec_70; + public StbUndoRecord UndoRec_71; + public StbUndoRecord UndoRec_72; + public StbUndoRecord UndoRec_73; + public StbUndoRecord UndoRec_74; + public StbUndoRecord UndoRec_75; + public StbUndoRecord UndoRec_76; + public StbUndoRecord UndoRec_77; + public StbUndoRecord UndoRec_78; + public StbUndoRecord UndoRec_79; + public StbUndoRecord UndoRec_80; + public StbUndoRecord UndoRec_81; + public StbUndoRecord UndoRec_82; + public StbUndoRecord UndoRec_83; + public StbUndoRecord UndoRec_84; + public StbUndoRecord UndoRec_85; + public StbUndoRecord UndoRec_86; + public StbUndoRecord UndoRec_87; + public StbUndoRecord UndoRec_88; + public StbUndoRecord UndoRec_89; + public StbUndoRecord UndoRec_90; + public StbUndoRecord UndoRec_91; + public StbUndoRecord UndoRec_92; + public StbUndoRecord UndoRec_93; + public StbUndoRecord UndoRec_94; + public StbUndoRecord UndoRec_95; + public StbUndoRecord UndoRec_96; + public StbUndoRecord UndoRec_97; + public StbUndoRecord UndoRec_98; + + /// + /// To be documented. + /// + public ushort UndoChar_0; + public ushort UndoChar_1; + public ushort UndoChar_2; + public ushort UndoChar_3; + public ushort UndoChar_4; + public ushort UndoChar_5; + public ushort UndoChar_6; + public ushort UndoChar_7; + public ushort UndoChar_8; + public ushort UndoChar_9; + public ushort UndoChar_10; + public ushort UndoChar_11; + public ushort UndoChar_12; + public ushort UndoChar_13; + public ushort UndoChar_14; + public ushort UndoChar_15; + public ushort UndoChar_16; + public ushort UndoChar_17; + public ushort UndoChar_18; + public ushort UndoChar_19; + public ushort UndoChar_20; + public ushort UndoChar_21; + public ushort UndoChar_22; + public ushort UndoChar_23; + public ushort UndoChar_24; + public ushort UndoChar_25; + public ushort UndoChar_26; + public ushort UndoChar_27; + public ushort UndoChar_28; + public ushort UndoChar_29; + public ushort UndoChar_30; + public ushort UndoChar_31; + public ushort UndoChar_32; + public ushort UndoChar_33; + public ushort UndoChar_34; + public ushort UndoChar_35; + public ushort UndoChar_36; + public ushort UndoChar_37; + public ushort UndoChar_38; + public ushort UndoChar_39; + public ushort UndoChar_40; + public ushort UndoChar_41; + public ushort UndoChar_42; + public ushort UndoChar_43; + public ushort UndoChar_44; + public ushort UndoChar_45; + public ushort UndoChar_46; + public ushort UndoChar_47; + public ushort UndoChar_48; + public ushort UndoChar_49; + public ushort UndoChar_50; + public ushort UndoChar_51; + public ushort UndoChar_52; + public ushort UndoChar_53; + public ushort UndoChar_54; + public ushort UndoChar_55; + public ushort UndoChar_56; + public ushort UndoChar_57; + public ushort UndoChar_58; + public ushort UndoChar_59; + public ushort UndoChar_60; + public ushort UndoChar_61; + public ushort UndoChar_62; + public ushort UndoChar_63; + public ushort UndoChar_64; + public ushort UndoChar_65; + public ushort UndoChar_66; + public ushort UndoChar_67; + public ushort UndoChar_68; + public ushort UndoChar_69; + public ushort UndoChar_70; + public ushort UndoChar_71; + public ushort UndoChar_72; + public ushort UndoChar_73; + public ushort UndoChar_74; + public ushort UndoChar_75; + public ushort UndoChar_76; + public ushort UndoChar_77; + public ushort UndoChar_78; + public ushort UndoChar_79; + public ushort UndoChar_80; + public ushort UndoChar_81; + public ushort UndoChar_82; + public ushort UndoChar_83; + public ushort UndoChar_84; + public ushort UndoChar_85; + public ushort UndoChar_86; + public ushort UndoChar_87; + public ushort UndoChar_88; + public ushort UndoChar_89; + public ushort UndoChar_90; + public ushort UndoChar_91; + public ushort UndoChar_92; + public ushort UndoChar_93; + public ushort UndoChar_94; + public ushort UndoChar_95; + public ushort UndoChar_96; + public ushort UndoChar_97; + public ushort UndoChar_98; + public ushort UndoChar_99; + public ushort UndoChar_100; + public ushort UndoChar_101; + public ushort UndoChar_102; + public ushort UndoChar_103; + public ushort UndoChar_104; + public ushort UndoChar_105; + public ushort UndoChar_106; + public ushort UndoChar_107; + public ushort UndoChar_108; + public ushort UndoChar_109; + public ushort UndoChar_110; + public ushort UndoChar_111; + public ushort UndoChar_112; + public ushort UndoChar_113; + public ushort UndoChar_114; + public ushort UndoChar_115; + public ushort UndoChar_116; + public ushort UndoChar_117; + public ushort UndoChar_118; + public ushort UndoChar_119; + public ushort UndoChar_120; + public ushort UndoChar_121; + public ushort UndoChar_122; + public ushort UndoChar_123; + public ushort UndoChar_124; + public ushort UndoChar_125; + public ushort UndoChar_126; + public ushort UndoChar_127; + public ushort UndoChar_128; + public ushort UndoChar_129; + public ushort UndoChar_130; + public ushort UndoChar_131; + public ushort UndoChar_132; + public ushort UndoChar_133; + public ushort UndoChar_134; + public ushort UndoChar_135; + public ushort UndoChar_136; + public ushort UndoChar_137; + public ushort UndoChar_138; + public ushort UndoChar_139; + public ushort UndoChar_140; + public ushort UndoChar_141; + public ushort UndoChar_142; + public ushort UndoChar_143; + public ushort UndoChar_144; + public ushort UndoChar_145; + public ushort UndoChar_146; + public ushort UndoChar_147; + public ushort UndoChar_148; + public ushort UndoChar_149; + public ushort UndoChar_150; + public ushort UndoChar_151; + public ushort UndoChar_152; + public ushort UndoChar_153; + public ushort UndoChar_154; + public ushort UndoChar_155; + public ushort UndoChar_156; + public ushort UndoChar_157; + public ushort UndoChar_158; + public ushort UndoChar_159; + public ushort UndoChar_160; + public ushort UndoChar_161; + public ushort UndoChar_162; + public ushort UndoChar_163; + public ushort UndoChar_164; + public ushort UndoChar_165; + public ushort UndoChar_166; + public ushort UndoChar_167; + public ushort UndoChar_168; + public ushort UndoChar_169; + public ushort UndoChar_170; + public ushort UndoChar_171; + public ushort UndoChar_172; + public ushort UndoChar_173; + public ushort UndoChar_174; + public ushort UndoChar_175; + public ushort UndoChar_176; + public ushort UndoChar_177; + public ushort UndoChar_178; + public ushort UndoChar_179; + public ushort UndoChar_180; + public ushort UndoChar_181; + public ushort UndoChar_182; + public ushort UndoChar_183; + public ushort UndoChar_184; + public ushort UndoChar_185; + public ushort UndoChar_186; + public ushort UndoChar_187; + public ushort UndoChar_188; + public ushort UndoChar_189; + public ushort UndoChar_190; + public ushort UndoChar_191; + public ushort UndoChar_192; + public ushort UndoChar_193; + public ushort UndoChar_194; + public ushort UndoChar_195; + public ushort UndoChar_196; + public ushort UndoChar_197; + public ushort UndoChar_198; + public ushort UndoChar_199; + public ushort UndoChar_200; + public ushort UndoChar_201; + public ushort UndoChar_202; + public ushort UndoChar_203; + public ushort UndoChar_204; + public ushort UndoChar_205; + public ushort UndoChar_206; + public ushort UndoChar_207; + public ushort UndoChar_208; + public ushort UndoChar_209; + public ushort UndoChar_210; + public ushort UndoChar_211; + public ushort UndoChar_212; + public ushort UndoChar_213; + public ushort UndoChar_214; + public ushort UndoChar_215; + public ushort UndoChar_216; + public ushort UndoChar_217; + public ushort UndoChar_218; + public ushort UndoChar_219; + public ushort UndoChar_220; + public ushort UndoChar_221; + public ushort UndoChar_222; + public ushort UndoChar_223; + public ushort UndoChar_224; + public ushort UndoChar_225; + public ushort UndoChar_226; + public ushort UndoChar_227; + public ushort UndoChar_228; + public ushort UndoChar_229; + public ushort UndoChar_230; + public ushort UndoChar_231; + public ushort UndoChar_232; + public ushort UndoChar_233; + public ushort UndoChar_234; + public ushort UndoChar_235; + public ushort UndoChar_236; + public ushort UndoChar_237; + public ushort UndoChar_238; + public ushort UndoChar_239; + public ushort UndoChar_240; + public ushort UndoChar_241; + public ushort UndoChar_242; + public ushort UndoChar_243; + public ushort UndoChar_244; + public ushort UndoChar_245; + public ushort UndoChar_246; + public ushort UndoChar_247; + public ushort UndoChar_248; + public ushort UndoChar_249; + public ushort UndoChar_250; + public ushort UndoChar_251; + public ushort UndoChar_252; + public ushort UndoChar_253; + public ushort UndoChar_254; + public ushort UndoChar_255; + public ushort UndoChar_256; + public ushort UndoChar_257; + public ushort UndoChar_258; + public ushort UndoChar_259; + public ushort UndoChar_260; + public ushort UndoChar_261; + public ushort UndoChar_262; + public ushort UndoChar_263; + public ushort UndoChar_264; + public ushort UndoChar_265; + public ushort UndoChar_266; + public ushort UndoChar_267; + public ushort UndoChar_268; + public ushort UndoChar_269; + public ushort UndoChar_270; + public ushort UndoChar_271; + public ushort UndoChar_272; + public ushort UndoChar_273; + public ushort UndoChar_274; + public ushort UndoChar_275; + public ushort UndoChar_276; + public ushort UndoChar_277; + public ushort UndoChar_278; + public ushort UndoChar_279; + public ushort UndoChar_280; + public ushort UndoChar_281; + public ushort UndoChar_282; + public ushort UndoChar_283; + public ushort UndoChar_284; + public ushort UndoChar_285; + public ushort UndoChar_286; + public ushort UndoChar_287; + public ushort UndoChar_288; + public ushort UndoChar_289; + public ushort UndoChar_290; + public ushort UndoChar_291; + public ushort UndoChar_292; + public ushort UndoChar_293; + public ushort UndoChar_294; + public ushort UndoChar_295; + public ushort UndoChar_296; + public ushort UndoChar_297; + public ushort UndoChar_298; + public ushort UndoChar_299; + public ushort UndoChar_300; + public ushort UndoChar_301; + public ushort UndoChar_302; + public ushort UndoChar_303; + public ushort UndoChar_304; + public ushort UndoChar_305; + public ushort UndoChar_306; + public ushort UndoChar_307; + public ushort UndoChar_308; + public ushort UndoChar_309; + public ushort UndoChar_310; + public ushort UndoChar_311; + public ushort UndoChar_312; + public ushort UndoChar_313; + public ushort UndoChar_314; + public ushort UndoChar_315; + public ushort UndoChar_316; + public ushort UndoChar_317; + public ushort UndoChar_318; + public ushort UndoChar_319; + public ushort UndoChar_320; + public ushort UndoChar_321; + public ushort UndoChar_322; + public ushort UndoChar_323; + public ushort UndoChar_324; + public ushort UndoChar_325; + public ushort UndoChar_326; + public ushort UndoChar_327; + public ushort UndoChar_328; + public ushort UndoChar_329; + public ushort UndoChar_330; + public ushort UndoChar_331; + public ushort UndoChar_332; + public ushort UndoChar_333; + public ushort UndoChar_334; + public ushort UndoChar_335; + public ushort UndoChar_336; + public ushort UndoChar_337; + public ushort UndoChar_338; + public ushort UndoChar_339; + public ushort UndoChar_340; + public ushort UndoChar_341; + public ushort UndoChar_342; + public ushort UndoChar_343; + public ushort UndoChar_344; + public ushort UndoChar_345; + public ushort UndoChar_346; + public ushort UndoChar_347; + public ushort UndoChar_348; + public ushort UndoChar_349; + public ushort UndoChar_350; + public ushort UndoChar_351; + public ushort UndoChar_352; + public ushort UndoChar_353; + public ushort UndoChar_354; + public ushort UndoChar_355; + public ushort UndoChar_356; + public ushort UndoChar_357; + public ushort UndoChar_358; + public ushort UndoChar_359; + public ushort UndoChar_360; + public ushort UndoChar_361; + public ushort UndoChar_362; + public ushort UndoChar_363; + public ushort UndoChar_364; + public ushort UndoChar_365; + public ushort UndoChar_366; + public ushort UndoChar_367; + public ushort UndoChar_368; + public ushort UndoChar_369; + public ushort UndoChar_370; + public ushort UndoChar_371; + public ushort UndoChar_372; + public ushort UndoChar_373; + public ushort UndoChar_374; + public ushort UndoChar_375; + public ushort UndoChar_376; + public ushort UndoChar_377; + public ushort UndoChar_378; + public ushort UndoChar_379; + public ushort UndoChar_380; + public ushort UndoChar_381; + public ushort UndoChar_382; + public ushort UndoChar_383; + public ushort UndoChar_384; + public ushort UndoChar_385; + public ushort UndoChar_386; + public ushort UndoChar_387; + public ushort UndoChar_388; + public ushort UndoChar_389; + public ushort UndoChar_390; + public ushort UndoChar_391; + public ushort UndoChar_392; + public ushort UndoChar_393; + public ushort UndoChar_394; + public ushort UndoChar_395; + public ushort UndoChar_396; + public ushort UndoChar_397; + public ushort UndoChar_398; + public ushort UndoChar_399; + public ushort UndoChar_400; + public ushort UndoChar_401; + public ushort UndoChar_402; + public ushort UndoChar_403; + public ushort UndoChar_404; + public ushort UndoChar_405; + public ushort UndoChar_406; + public ushort UndoChar_407; + public ushort UndoChar_408; + public ushort UndoChar_409; + public ushort UndoChar_410; + public ushort UndoChar_411; + public ushort UndoChar_412; + public ushort UndoChar_413; + public ushort UndoChar_414; + public ushort UndoChar_415; + public ushort UndoChar_416; + public ushort UndoChar_417; + public ushort UndoChar_418; + public ushort UndoChar_419; + public ushort UndoChar_420; + public ushort UndoChar_421; + public ushort UndoChar_422; + public ushort UndoChar_423; + public ushort UndoChar_424; + public ushort UndoChar_425; + public ushort UndoChar_426; + public ushort UndoChar_427; + public ushort UndoChar_428; + public ushort UndoChar_429; + public ushort UndoChar_430; + public ushort UndoChar_431; + public ushort UndoChar_432; + public ushort UndoChar_433; + public ushort UndoChar_434; + public ushort UndoChar_435; + public ushort UndoChar_436; + public ushort UndoChar_437; + public ushort UndoChar_438; + public ushort UndoChar_439; + public ushort UndoChar_440; + public ushort UndoChar_441; + public ushort UndoChar_442; + public ushort UndoChar_443; + public ushort UndoChar_444; + public ushort UndoChar_445; + public ushort UndoChar_446; + public ushort UndoChar_447; + public ushort UndoChar_448; + public ushort UndoChar_449; + public ushort UndoChar_450; + public ushort UndoChar_451; + public ushort UndoChar_452; + public ushort UndoChar_453; + public ushort UndoChar_454; + public ushort UndoChar_455; + public ushort UndoChar_456; + public ushort UndoChar_457; + public ushort UndoChar_458; + public ushort UndoChar_459; + public ushort UndoChar_460; + public ushort UndoChar_461; + public ushort UndoChar_462; + public ushort UndoChar_463; + public ushort UndoChar_464; + public ushort UndoChar_465; + public ushort UndoChar_466; + public ushort UndoChar_467; + public ushort UndoChar_468; + public ushort UndoChar_469; + public ushort UndoChar_470; + public ushort UndoChar_471; + public ushort UndoChar_472; + public ushort UndoChar_473; + public ushort UndoChar_474; + public ushort UndoChar_475; + public ushort UndoChar_476; + public ushort UndoChar_477; + public ushort UndoChar_478; + public ushort UndoChar_479; + public ushort UndoChar_480; + public ushort UndoChar_481; + public ushort UndoChar_482; + public ushort UndoChar_483; + public ushort UndoChar_484; + public ushort UndoChar_485; + public ushort UndoChar_486; + public ushort UndoChar_487; + public ushort UndoChar_488; + public ushort UndoChar_489; + public ushort UndoChar_490; + public ushort UndoChar_491; + public ushort UndoChar_492; + public ushort UndoChar_493; + public ushort UndoChar_494; + public ushort UndoChar_495; + public ushort UndoChar_496; + public ushort UndoChar_497; + public ushort UndoChar_498; + public ushort UndoChar_499; + public ushort UndoChar_500; + public ushort UndoChar_501; + public ushort UndoChar_502; + public ushort UndoChar_503; + public ushort UndoChar_504; + public ushort UndoChar_505; + public ushort UndoChar_506; + public ushort UndoChar_507; + public ushort UndoChar_508; + public ushort UndoChar_509; + public ushort UndoChar_510; + public ushort UndoChar_511; + public ushort UndoChar_512; + public ushort UndoChar_513; + public ushort UndoChar_514; + public ushort UndoChar_515; + public ushort UndoChar_516; + public ushort UndoChar_517; + public ushort UndoChar_518; + public ushort UndoChar_519; + public ushort UndoChar_520; + public ushort UndoChar_521; + public ushort UndoChar_522; + public ushort UndoChar_523; + public ushort UndoChar_524; + public ushort UndoChar_525; + public ushort UndoChar_526; + public ushort UndoChar_527; + public ushort UndoChar_528; + public ushort UndoChar_529; + public ushort UndoChar_530; + public ushort UndoChar_531; + public ushort UndoChar_532; + public ushort UndoChar_533; + public ushort UndoChar_534; + public ushort UndoChar_535; + public ushort UndoChar_536; + public ushort UndoChar_537; + public ushort UndoChar_538; + public ushort UndoChar_539; + public ushort UndoChar_540; + public ushort UndoChar_541; + public ushort UndoChar_542; + public ushort UndoChar_543; + public ushort UndoChar_544; + public ushort UndoChar_545; + public ushort UndoChar_546; + public ushort UndoChar_547; + public ushort UndoChar_548; + public ushort UndoChar_549; + public ushort UndoChar_550; + public ushort UndoChar_551; + public ushort UndoChar_552; + public ushort UndoChar_553; + public ushort UndoChar_554; + public ushort UndoChar_555; + public ushort UndoChar_556; + public ushort UndoChar_557; + public ushort UndoChar_558; + public ushort UndoChar_559; + public ushort UndoChar_560; + public ushort UndoChar_561; + public ushort UndoChar_562; + public ushort UndoChar_563; + public ushort UndoChar_564; + public ushort UndoChar_565; + public ushort UndoChar_566; + public ushort UndoChar_567; + public ushort UndoChar_568; + public ushort UndoChar_569; + public ushort UndoChar_570; + public ushort UndoChar_571; + public ushort UndoChar_572; + public ushort UndoChar_573; + public ushort UndoChar_574; + public ushort UndoChar_575; + public ushort UndoChar_576; + public ushort UndoChar_577; + public ushort UndoChar_578; + public ushort UndoChar_579; + public ushort UndoChar_580; + public ushort UndoChar_581; + public ushort UndoChar_582; + public ushort UndoChar_583; + public ushort UndoChar_584; + public ushort UndoChar_585; + public ushort UndoChar_586; + public ushort UndoChar_587; + public ushort UndoChar_588; + public ushort UndoChar_589; + public ushort UndoChar_590; + public ushort UndoChar_591; + public ushort UndoChar_592; + public ushort UndoChar_593; + public ushort UndoChar_594; + public ushort UndoChar_595; + public ushort UndoChar_596; + public ushort UndoChar_597; + public ushort UndoChar_598; + public ushort UndoChar_599; + public ushort UndoChar_600; + public ushort UndoChar_601; + public ushort UndoChar_602; + public ushort UndoChar_603; + public ushort UndoChar_604; + public ushort UndoChar_605; + public ushort UndoChar_606; + public ushort UndoChar_607; + public ushort UndoChar_608; + public ushort UndoChar_609; + public ushort UndoChar_610; + public ushort UndoChar_611; + public ushort UndoChar_612; + public ushort UndoChar_613; + public ushort UndoChar_614; + public ushort UndoChar_615; + public ushort UndoChar_616; + public ushort UndoChar_617; + public ushort UndoChar_618; + public ushort UndoChar_619; + public ushort UndoChar_620; + public ushort UndoChar_621; + public ushort UndoChar_622; + public ushort UndoChar_623; + public ushort UndoChar_624; + public ushort UndoChar_625; + public ushort UndoChar_626; + public ushort UndoChar_627; + public ushort UndoChar_628; + public ushort UndoChar_629; + public ushort UndoChar_630; + public ushort UndoChar_631; + public ushort UndoChar_632; + public ushort UndoChar_633; + public ushort UndoChar_634; + public ushort UndoChar_635; + public ushort UndoChar_636; + public ushort UndoChar_637; + public ushort UndoChar_638; + public ushort UndoChar_639; + public ushort UndoChar_640; + public ushort UndoChar_641; + public ushort UndoChar_642; + public ushort UndoChar_643; + public ushort UndoChar_644; + public ushort UndoChar_645; + public ushort UndoChar_646; + public ushort UndoChar_647; + public ushort UndoChar_648; + public ushort UndoChar_649; + public ushort UndoChar_650; + public ushort UndoChar_651; + public ushort UndoChar_652; + public ushort UndoChar_653; + public ushort UndoChar_654; + public ushort UndoChar_655; + public ushort UndoChar_656; + public ushort UndoChar_657; + public ushort UndoChar_658; + public ushort UndoChar_659; + public ushort UndoChar_660; + public ushort UndoChar_661; + public ushort UndoChar_662; + public ushort UndoChar_663; + public ushort UndoChar_664; + public ushort UndoChar_665; + public ushort UndoChar_666; + public ushort UndoChar_667; + public ushort UndoChar_668; + public ushort UndoChar_669; + public ushort UndoChar_670; + public ushort UndoChar_671; + public ushort UndoChar_672; + public ushort UndoChar_673; + public ushort UndoChar_674; + public ushort UndoChar_675; + public ushort UndoChar_676; + public ushort UndoChar_677; + public ushort UndoChar_678; + public ushort UndoChar_679; + public ushort UndoChar_680; + public ushort UndoChar_681; + public ushort UndoChar_682; + public ushort UndoChar_683; + public ushort UndoChar_684; + public ushort UndoChar_685; + public ushort UndoChar_686; + public ushort UndoChar_687; + public ushort UndoChar_688; + public ushort UndoChar_689; + public ushort UndoChar_690; + public ushort UndoChar_691; + public ushort UndoChar_692; + public ushort UndoChar_693; + public ushort UndoChar_694; + public ushort UndoChar_695; + public ushort UndoChar_696; + public ushort UndoChar_697; + public ushort UndoChar_698; + public ushort UndoChar_699; + public ushort UndoChar_700; + public ushort UndoChar_701; + public ushort UndoChar_702; + public ushort UndoChar_703; + public ushort UndoChar_704; + public ushort UndoChar_705; + public ushort UndoChar_706; + public ushort UndoChar_707; + public ushort UndoChar_708; + public ushort UndoChar_709; + public ushort UndoChar_710; + public ushort UndoChar_711; + public ushort UndoChar_712; + public ushort UndoChar_713; + public ushort UndoChar_714; + public ushort UndoChar_715; + public ushort UndoChar_716; + public ushort UndoChar_717; + public ushort UndoChar_718; + public ushort UndoChar_719; + public ushort UndoChar_720; + public ushort UndoChar_721; + public ushort UndoChar_722; + public ushort UndoChar_723; + public ushort UndoChar_724; + public ushort UndoChar_725; + public ushort UndoChar_726; + public ushort UndoChar_727; + public ushort UndoChar_728; + public ushort UndoChar_729; + public ushort UndoChar_730; + public ushort UndoChar_731; + public ushort UndoChar_732; + public ushort UndoChar_733; + public ushort UndoChar_734; + public ushort UndoChar_735; + public ushort UndoChar_736; + public ushort UndoChar_737; + public ushort UndoChar_738; + public ushort UndoChar_739; + public ushort UndoChar_740; + public ushort UndoChar_741; + public ushort UndoChar_742; + public ushort UndoChar_743; + public ushort UndoChar_744; + public ushort UndoChar_745; + public ushort UndoChar_746; + public ushort UndoChar_747; + public ushort UndoChar_748; + public ushort UndoChar_749; + public ushort UndoChar_750; + public ushort UndoChar_751; + public ushort UndoChar_752; + public ushort UndoChar_753; + public ushort UndoChar_754; + public ushort UndoChar_755; + public ushort UndoChar_756; + public ushort UndoChar_757; + public ushort UndoChar_758; + public ushort UndoChar_759; + public ushort UndoChar_760; + public ushort UndoChar_761; + public ushort UndoChar_762; + public ushort UndoChar_763; + public ushort UndoChar_764; + public ushort UndoChar_765; + public ushort UndoChar_766; + public ushort UndoChar_767; + public ushort UndoChar_768; + public ushort UndoChar_769; + public ushort UndoChar_770; + public ushort UndoChar_771; + public ushort UndoChar_772; + public ushort UndoChar_773; + public ushort UndoChar_774; + public ushort UndoChar_775; + public ushort UndoChar_776; + public ushort UndoChar_777; + public ushort UndoChar_778; + public ushort UndoChar_779; + public ushort UndoChar_780; + public ushort UndoChar_781; + public ushort UndoChar_782; + public ushort UndoChar_783; + public ushort UndoChar_784; + public ushort UndoChar_785; + public ushort UndoChar_786; + public ushort UndoChar_787; + public ushort UndoChar_788; + public ushort UndoChar_789; + public ushort UndoChar_790; + public ushort UndoChar_791; + public ushort UndoChar_792; + public ushort UndoChar_793; + public ushort UndoChar_794; + public ushort UndoChar_795; + public ushort UndoChar_796; + public ushort UndoChar_797; + public ushort UndoChar_798; + public ushort UndoChar_799; + public ushort UndoChar_800; + public ushort UndoChar_801; + public ushort UndoChar_802; + public ushort UndoChar_803; + public ushort UndoChar_804; + public ushort UndoChar_805; + public ushort UndoChar_806; + public ushort UndoChar_807; + public ushort UndoChar_808; + public ushort UndoChar_809; + public ushort UndoChar_810; + public ushort UndoChar_811; + public ushort UndoChar_812; + public ushort UndoChar_813; + public ushort UndoChar_814; + public ushort UndoChar_815; + public ushort UndoChar_816; + public ushort UndoChar_817; + public ushort UndoChar_818; + public ushort UndoChar_819; + public ushort UndoChar_820; + public ushort UndoChar_821; + public ushort UndoChar_822; + public ushort UndoChar_823; + public ushort UndoChar_824; + public ushort UndoChar_825; + public ushort UndoChar_826; + public ushort UndoChar_827; + public ushort UndoChar_828; + public ushort UndoChar_829; + public ushort UndoChar_830; + public ushort UndoChar_831; + public ushort UndoChar_832; + public ushort UndoChar_833; + public ushort UndoChar_834; + public ushort UndoChar_835; + public ushort UndoChar_836; + public ushort UndoChar_837; + public ushort UndoChar_838; + public ushort UndoChar_839; + public ushort UndoChar_840; + public ushort UndoChar_841; + public ushort UndoChar_842; + public ushort UndoChar_843; + public ushort UndoChar_844; + public ushort UndoChar_845; + public ushort UndoChar_846; + public ushort UndoChar_847; + public ushort UndoChar_848; + public ushort UndoChar_849; + public ushort UndoChar_850; + public ushort UndoChar_851; + public ushort UndoChar_852; + public ushort UndoChar_853; + public ushort UndoChar_854; + public ushort UndoChar_855; + public ushort UndoChar_856; + public ushort UndoChar_857; + public ushort UndoChar_858; + public ushort UndoChar_859; + public ushort UndoChar_860; + public ushort UndoChar_861; + public ushort UndoChar_862; + public ushort UndoChar_863; + public ushort UndoChar_864; + public ushort UndoChar_865; + public ushort UndoChar_866; + public ushort UndoChar_867; + public ushort UndoChar_868; + public ushort UndoChar_869; + public ushort UndoChar_870; + public ushort UndoChar_871; + public ushort UndoChar_872; + public ushort UndoChar_873; + public ushort UndoChar_874; + public ushort UndoChar_875; + public ushort UndoChar_876; + public ushort UndoChar_877; + public ushort UndoChar_878; + public ushort UndoChar_879; + public ushort UndoChar_880; + public ushort UndoChar_881; + public ushort UndoChar_882; + public ushort UndoChar_883; + public ushort UndoChar_884; + public ushort UndoChar_885; + public ushort UndoChar_886; + public ushort UndoChar_887; + public ushort UndoChar_888; + public ushort UndoChar_889; + public ushort UndoChar_890; + public ushort UndoChar_891; + public ushort UndoChar_892; + public ushort UndoChar_893; + public ushort UndoChar_894; + public ushort UndoChar_895; + public ushort UndoChar_896; + public ushort UndoChar_897; + public ushort UndoChar_898; + public ushort UndoChar_899; + public ushort UndoChar_900; + public ushort UndoChar_901; + public ushort UndoChar_902; + public ushort UndoChar_903; + public ushort UndoChar_904; + public ushort UndoChar_905; + public ushort UndoChar_906; + public ushort UndoChar_907; + public ushort UndoChar_908; + public ushort UndoChar_909; + public ushort UndoChar_910; + public ushort UndoChar_911; + public ushort UndoChar_912; + public ushort UndoChar_913; + public ushort UndoChar_914; + public ushort UndoChar_915; + public ushort UndoChar_916; + public ushort UndoChar_917; + public ushort UndoChar_918; + public ushort UndoChar_919; + public ushort UndoChar_920; + public ushort UndoChar_921; + public ushort UndoChar_922; + public ushort UndoChar_923; + public ushort UndoChar_924; + public ushort UndoChar_925; + public ushort UndoChar_926; + public ushort UndoChar_927; + public ushort UndoChar_928; + public ushort UndoChar_929; + public ushort UndoChar_930; + public ushort UndoChar_931; + public ushort UndoChar_932; + public ushort UndoChar_933; + public ushort UndoChar_934; + public ushort UndoChar_935; + public ushort UndoChar_936; + public ushort UndoChar_937; + public ushort UndoChar_938; + public ushort UndoChar_939; + public ushort UndoChar_940; + public ushort UndoChar_941; + public ushort UndoChar_942; + public ushort UndoChar_943; + public ushort UndoChar_944; + public ushort UndoChar_945; + public ushort UndoChar_946; + public ushort UndoChar_947; + public ushort UndoChar_948; + public ushort UndoChar_949; + public ushort UndoChar_950; + public ushort UndoChar_951; + public ushort UndoChar_952; + public ushort UndoChar_953; + public ushort UndoChar_954; + public ushort UndoChar_955; + public ushort UndoChar_956; + public ushort UndoChar_957; + public ushort UndoChar_958; + public ushort UndoChar_959; + public ushort UndoChar_960; + public ushort UndoChar_961; + public ushort UndoChar_962; + public ushort UndoChar_963; + public ushort UndoChar_964; + public ushort UndoChar_965; + public ushort UndoChar_966; + public ushort UndoChar_967; + public ushort UndoChar_968; + public ushort UndoChar_969; + public ushort UndoChar_970; + public ushort UndoChar_971; + public ushort UndoChar_972; + public ushort UndoChar_973; + public ushort UndoChar_974; + public ushort UndoChar_975; + public ushort UndoChar_976; + public ushort UndoChar_977; + public ushort UndoChar_978; + public ushort UndoChar_979; + public ushort UndoChar_980; + public ushort UndoChar_981; + public ushort UndoChar_982; + public ushort UndoChar_983; + public ushort UndoChar_984; + public ushort UndoChar_985; + public ushort UndoChar_986; + public ushort UndoChar_987; + public ushort UndoChar_988; + public ushort UndoChar_989; + public ushort UndoChar_990; + public ushort UndoChar_991; + public ushort UndoChar_992; + public ushort UndoChar_993; + public ushort UndoChar_994; + public ushort UndoChar_995; + public ushort UndoChar_996; + public ushort UndoChar_997; + public ushort UndoChar_998; + + /// + /// To be documented. + /// + public short UndoPoint; + + /// + /// To be documented. + /// + public short RedoPoint; + + /// + /// To be documented. + /// + public int UndoCharPoint; + + /// + /// To be documented. + /// + public int RedoCharPoint; + + + /// + /// To be documented. + /// + public unsafe StbUndoState(StbUndoRecord* undoRec = default, ushort* undoChar = default, short undoPoint = default, short redoPoint = default, int undoCharPoint = default, int redoCharPoint = default) + { + if (undoRec != default(StbUndoRecord*)) + { + UndoRec_0 = undoRec[0]; + UndoRec_1 = undoRec[1]; + UndoRec_2 = undoRec[2]; + UndoRec_3 = undoRec[3]; + UndoRec_4 = undoRec[4]; + UndoRec_5 = undoRec[5]; + UndoRec_6 = undoRec[6]; + UndoRec_7 = undoRec[7]; + UndoRec_8 = undoRec[8]; + UndoRec_9 = undoRec[9]; + UndoRec_10 = undoRec[10]; + UndoRec_11 = undoRec[11]; + UndoRec_12 = undoRec[12]; + UndoRec_13 = undoRec[13]; + UndoRec_14 = undoRec[14]; + UndoRec_15 = undoRec[15]; + UndoRec_16 = undoRec[16]; + UndoRec_17 = undoRec[17]; + UndoRec_18 = undoRec[18]; + UndoRec_19 = undoRec[19]; + UndoRec_20 = undoRec[20]; + UndoRec_21 = undoRec[21]; + UndoRec_22 = undoRec[22]; + UndoRec_23 = undoRec[23]; + UndoRec_24 = undoRec[24]; + UndoRec_25 = undoRec[25]; + UndoRec_26 = undoRec[26]; + UndoRec_27 = undoRec[27]; + UndoRec_28 = undoRec[28]; + UndoRec_29 = undoRec[29]; + UndoRec_30 = undoRec[30]; + UndoRec_31 = undoRec[31]; + UndoRec_32 = undoRec[32]; + UndoRec_33 = undoRec[33]; + UndoRec_34 = undoRec[34]; + UndoRec_35 = undoRec[35]; + UndoRec_36 = undoRec[36]; + UndoRec_37 = undoRec[37]; + UndoRec_38 = undoRec[38]; + UndoRec_39 = undoRec[39]; + UndoRec_40 = undoRec[40]; + UndoRec_41 = undoRec[41]; + UndoRec_42 = undoRec[42]; + UndoRec_43 = undoRec[43]; + UndoRec_44 = undoRec[44]; + UndoRec_45 = undoRec[45]; + UndoRec_46 = undoRec[46]; + UndoRec_47 = undoRec[47]; + UndoRec_48 = undoRec[48]; + UndoRec_49 = undoRec[49]; + UndoRec_50 = undoRec[50]; + UndoRec_51 = undoRec[51]; + UndoRec_52 = undoRec[52]; + UndoRec_53 = undoRec[53]; + UndoRec_54 = undoRec[54]; + UndoRec_55 = undoRec[55]; + UndoRec_56 = undoRec[56]; + UndoRec_57 = undoRec[57]; + UndoRec_58 = undoRec[58]; + UndoRec_59 = undoRec[59]; + UndoRec_60 = undoRec[60]; + UndoRec_61 = undoRec[61]; + UndoRec_62 = undoRec[62]; + UndoRec_63 = undoRec[63]; + UndoRec_64 = undoRec[64]; + UndoRec_65 = undoRec[65]; + UndoRec_66 = undoRec[66]; + UndoRec_67 = undoRec[67]; + UndoRec_68 = undoRec[68]; + UndoRec_69 = undoRec[69]; + UndoRec_70 = undoRec[70]; + UndoRec_71 = undoRec[71]; + UndoRec_72 = undoRec[72]; + UndoRec_73 = undoRec[73]; + UndoRec_74 = undoRec[74]; + UndoRec_75 = undoRec[75]; + UndoRec_76 = undoRec[76]; + UndoRec_77 = undoRec[77]; + UndoRec_78 = undoRec[78]; + UndoRec_79 = undoRec[79]; + UndoRec_80 = undoRec[80]; + UndoRec_81 = undoRec[81]; + UndoRec_82 = undoRec[82]; + UndoRec_83 = undoRec[83]; + UndoRec_84 = undoRec[84]; + UndoRec_85 = undoRec[85]; + UndoRec_86 = undoRec[86]; + UndoRec_87 = undoRec[87]; + UndoRec_88 = undoRec[88]; + UndoRec_89 = undoRec[89]; + UndoRec_90 = undoRec[90]; + UndoRec_91 = undoRec[91]; + UndoRec_92 = undoRec[92]; + UndoRec_93 = undoRec[93]; + UndoRec_94 = undoRec[94]; + UndoRec_95 = undoRec[95]; + UndoRec_96 = undoRec[96]; + UndoRec_97 = undoRec[97]; + UndoRec_98 = undoRec[98]; + } + if (undoChar != default(ushort*)) + { + UndoChar_0 = undoChar[0]; + UndoChar_1 = undoChar[1]; + UndoChar_2 = undoChar[2]; + UndoChar_3 = undoChar[3]; + UndoChar_4 = undoChar[4]; + UndoChar_5 = undoChar[5]; + UndoChar_6 = undoChar[6]; + UndoChar_7 = undoChar[7]; + UndoChar_8 = undoChar[8]; + UndoChar_9 = undoChar[9]; + UndoChar_10 = undoChar[10]; + UndoChar_11 = undoChar[11]; + UndoChar_12 = undoChar[12]; + UndoChar_13 = undoChar[13]; + UndoChar_14 = undoChar[14]; + UndoChar_15 = undoChar[15]; + UndoChar_16 = undoChar[16]; + UndoChar_17 = undoChar[17]; + UndoChar_18 = undoChar[18]; + UndoChar_19 = undoChar[19]; + UndoChar_20 = undoChar[20]; + UndoChar_21 = undoChar[21]; + UndoChar_22 = undoChar[22]; + UndoChar_23 = undoChar[23]; + UndoChar_24 = undoChar[24]; + UndoChar_25 = undoChar[25]; + UndoChar_26 = undoChar[26]; + UndoChar_27 = undoChar[27]; + UndoChar_28 = undoChar[28]; + UndoChar_29 = undoChar[29]; + UndoChar_30 = undoChar[30]; + UndoChar_31 = undoChar[31]; + UndoChar_32 = undoChar[32]; + UndoChar_33 = undoChar[33]; + UndoChar_34 = undoChar[34]; + UndoChar_35 = undoChar[35]; + UndoChar_36 = undoChar[36]; + UndoChar_37 = undoChar[37]; + UndoChar_38 = undoChar[38]; + UndoChar_39 = undoChar[39]; + UndoChar_40 = undoChar[40]; + UndoChar_41 = undoChar[41]; + UndoChar_42 = undoChar[42]; + UndoChar_43 = undoChar[43]; + UndoChar_44 = undoChar[44]; + UndoChar_45 = undoChar[45]; + UndoChar_46 = undoChar[46]; + UndoChar_47 = undoChar[47]; + UndoChar_48 = undoChar[48]; + UndoChar_49 = undoChar[49]; + UndoChar_50 = undoChar[50]; + UndoChar_51 = undoChar[51]; + UndoChar_52 = undoChar[52]; + UndoChar_53 = undoChar[53]; + UndoChar_54 = undoChar[54]; + UndoChar_55 = undoChar[55]; + UndoChar_56 = undoChar[56]; + UndoChar_57 = undoChar[57]; + UndoChar_58 = undoChar[58]; + UndoChar_59 = undoChar[59]; + UndoChar_60 = undoChar[60]; + UndoChar_61 = undoChar[61]; + UndoChar_62 = undoChar[62]; + UndoChar_63 = undoChar[63]; + UndoChar_64 = undoChar[64]; + UndoChar_65 = undoChar[65]; + UndoChar_66 = undoChar[66]; + UndoChar_67 = undoChar[67]; + UndoChar_68 = undoChar[68]; + UndoChar_69 = undoChar[69]; + UndoChar_70 = undoChar[70]; + UndoChar_71 = undoChar[71]; + UndoChar_72 = undoChar[72]; + UndoChar_73 = undoChar[73]; + UndoChar_74 = undoChar[74]; + UndoChar_75 = undoChar[75]; + UndoChar_76 = undoChar[76]; + UndoChar_77 = undoChar[77]; + UndoChar_78 = undoChar[78]; + UndoChar_79 = undoChar[79]; + UndoChar_80 = undoChar[80]; + UndoChar_81 = undoChar[81]; + UndoChar_82 = undoChar[82]; + UndoChar_83 = undoChar[83]; + UndoChar_84 = undoChar[84]; + UndoChar_85 = undoChar[85]; + UndoChar_86 = undoChar[86]; + UndoChar_87 = undoChar[87]; + UndoChar_88 = undoChar[88]; + UndoChar_89 = undoChar[89]; + UndoChar_90 = undoChar[90]; + UndoChar_91 = undoChar[91]; + UndoChar_92 = undoChar[92]; + UndoChar_93 = undoChar[93]; + UndoChar_94 = undoChar[94]; + UndoChar_95 = undoChar[95]; + UndoChar_96 = undoChar[96]; + UndoChar_97 = undoChar[97]; + UndoChar_98 = undoChar[98]; + UndoChar_99 = undoChar[99]; + UndoChar_100 = undoChar[100]; + UndoChar_101 = undoChar[101]; + UndoChar_102 = undoChar[102]; + UndoChar_103 = undoChar[103]; + UndoChar_104 = undoChar[104]; + UndoChar_105 = undoChar[105]; + UndoChar_106 = undoChar[106]; + UndoChar_107 = undoChar[107]; + UndoChar_108 = undoChar[108]; + UndoChar_109 = undoChar[109]; + UndoChar_110 = undoChar[110]; + UndoChar_111 = undoChar[111]; + UndoChar_112 = undoChar[112]; + UndoChar_113 = undoChar[113]; + UndoChar_114 = undoChar[114]; + UndoChar_115 = undoChar[115]; + UndoChar_116 = undoChar[116]; + UndoChar_117 = undoChar[117]; + UndoChar_118 = undoChar[118]; + UndoChar_119 = undoChar[119]; + UndoChar_120 = undoChar[120]; + UndoChar_121 = undoChar[121]; + UndoChar_122 = undoChar[122]; + UndoChar_123 = undoChar[123]; + UndoChar_124 = undoChar[124]; + UndoChar_125 = undoChar[125]; + UndoChar_126 = undoChar[126]; + UndoChar_127 = undoChar[127]; + UndoChar_128 = undoChar[128]; + UndoChar_129 = undoChar[129]; + UndoChar_130 = undoChar[130]; + UndoChar_131 = undoChar[131]; + UndoChar_132 = undoChar[132]; + UndoChar_133 = undoChar[133]; + UndoChar_134 = undoChar[134]; + UndoChar_135 = undoChar[135]; + UndoChar_136 = undoChar[136]; + UndoChar_137 = undoChar[137]; + UndoChar_138 = undoChar[138]; + UndoChar_139 = undoChar[139]; + UndoChar_140 = undoChar[140]; + UndoChar_141 = undoChar[141]; + UndoChar_142 = undoChar[142]; + UndoChar_143 = undoChar[143]; + UndoChar_144 = undoChar[144]; + UndoChar_145 = undoChar[145]; + UndoChar_146 = undoChar[146]; + UndoChar_147 = undoChar[147]; + UndoChar_148 = undoChar[148]; + UndoChar_149 = undoChar[149]; + UndoChar_150 = undoChar[150]; + UndoChar_151 = undoChar[151]; + UndoChar_152 = undoChar[152]; + UndoChar_153 = undoChar[153]; + UndoChar_154 = undoChar[154]; + UndoChar_155 = undoChar[155]; + UndoChar_156 = undoChar[156]; + UndoChar_157 = undoChar[157]; + UndoChar_158 = undoChar[158]; + UndoChar_159 = undoChar[159]; + UndoChar_160 = undoChar[160]; + UndoChar_161 = undoChar[161]; + UndoChar_162 = undoChar[162]; + UndoChar_163 = undoChar[163]; + UndoChar_164 = undoChar[164]; + UndoChar_165 = undoChar[165]; + UndoChar_166 = undoChar[166]; + UndoChar_167 = undoChar[167]; + UndoChar_168 = undoChar[168]; + UndoChar_169 = undoChar[169]; + UndoChar_170 = undoChar[170]; + UndoChar_171 = undoChar[171]; + UndoChar_172 = undoChar[172]; + UndoChar_173 = undoChar[173]; + UndoChar_174 = undoChar[174]; + UndoChar_175 = undoChar[175]; + UndoChar_176 = undoChar[176]; + UndoChar_177 = undoChar[177]; + UndoChar_178 = undoChar[178]; + UndoChar_179 = undoChar[179]; + UndoChar_180 = undoChar[180]; + UndoChar_181 = undoChar[181]; + UndoChar_182 = undoChar[182]; + UndoChar_183 = undoChar[183]; + UndoChar_184 = undoChar[184]; + UndoChar_185 = undoChar[185]; + UndoChar_186 = undoChar[186]; + UndoChar_187 = undoChar[187]; + UndoChar_188 = undoChar[188]; + UndoChar_189 = undoChar[189]; + UndoChar_190 = undoChar[190]; + UndoChar_191 = undoChar[191]; + UndoChar_192 = undoChar[192]; + UndoChar_193 = undoChar[193]; + UndoChar_194 = undoChar[194]; + UndoChar_195 = undoChar[195]; + UndoChar_196 = undoChar[196]; + UndoChar_197 = undoChar[197]; + UndoChar_198 = undoChar[198]; + UndoChar_199 = undoChar[199]; + UndoChar_200 = undoChar[200]; + UndoChar_201 = undoChar[201]; + UndoChar_202 = undoChar[202]; + UndoChar_203 = undoChar[203]; + UndoChar_204 = undoChar[204]; + UndoChar_205 = undoChar[205]; + UndoChar_206 = undoChar[206]; + UndoChar_207 = undoChar[207]; + UndoChar_208 = undoChar[208]; + UndoChar_209 = undoChar[209]; + UndoChar_210 = undoChar[210]; + UndoChar_211 = undoChar[211]; + UndoChar_212 = undoChar[212]; + UndoChar_213 = undoChar[213]; + UndoChar_214 = undoChar[214]; + UndoChar_215 = undoChar[215]; + UndoChar_216 = undoChar[216]; + UndoChar_217 = undoChar[217]; + UndoChar_218 = undoChar[218]; + UndoChar_219 = undoChar[219]; + UndoChar_220 = undoChar[220]; + UndoChar_221 = undoChar[221]; + UndoChar_222 = undoChar[222]; + UndoChar_223 = undoChar[223]; + UndoChar_224 = undoChar[224]; + UndoChar_225 = undoChar[225]; + UndoChar_226 = undoChar[226]; + UndoChar_227 = undoChar[227]; + UndoChar_228 = undoChar[228]; + UndoChar_229 = undoChar[229]; + UndoChar_230 = undoChar[230]; + UndoChar_231 = undoChar[231]; + UndoChar_232 = undoChar[232]; + UndoChar_233 = undoChar[233]; + UndoChar_234 = undoChar[234]; + UndoChar_235 = undoChar[235]; + UndoChar_236 = undoChar[236]; + UndoChar_237 = undoChar[237]; + UndoChar_238 = undoChar[238]; + UndoChar_239 = undoChar[239]; + UndoChar_240 = undoChar[240]; + UndoChar_241 = undoChar[241]; + UndoChar_242 = undoChar[242]; + UndoChar_243 = undoChar[243]; + UndoChar_244 = undoChar[244]; + UndoChar_245 = undoChar[245]; + UndoChar_246 = undoChar[246]; + UndoChar_247 = undoChar[247]; + UndoChar_248 = undoChar[248]; + UndoChar_249 = undoChar[249]; + UndoChar_250 = undoChar[250]; + UndoChar_251 = undoChar[251]; + UndoChar_252 = undoChar[252]; + UndoChar_253 = undoChar[253]; + UndoChar_254 = undoChar[254]; + UndoChar_255 = undoChar[255]; + UndoChar_256 = undoChar[256]; + UndoChar_257 = undoChar[257]; + UndoChar_258 = undoChar[258]; + UndoChar_259 = undoChar[259]; + UndoChar_260 = undoChar[260]; + UndoChar_261 = undoChar[261]; + UndoChar_262 = undoChar[262]; + UndoChar_263 = undoChar[263]; + UndoChar_264 = undoChar[264]; + UndoChar_265 = undoChar[265]; + UndoChar_266 = undoChar[266]; + UndoChar_267 = undoChar[267]; + UndoChar_268 = undoChar[268]; + UndoChar_269 = undoChar[269]; + UndoChar_270 = undoChar[270]; + UndoChar_271 = undoChar[271]; + UndoChar_272 = undoChar[272]; + UndoChar_273 = undoChar[273]; + UndoChar_274 = undoChar[274]; + UndoChar_275 = undoChar[275]; + UndoChar_276 = undoChar[276]; + UndoChar_277 = undoChar[277]; + UndoChar_278 = undoChar[278]; + UndoChar_279 = undoChar[279]; + UndoChar_280 = undoChar[280]; + UndoChar_281 = undoChar[281]; + UndoChar_282 = undoChar[282]; + UndoChar_283 = undoChar[283]; + UndoChar_284 = undoChar[284]; + UndoChar_285 = undoChar[285]; + UndoChar_286 = undoChar[286]; + UndoChar_287 = undoChar[287]; + UndoChar_288 = undoChar[288]; + UndoChar_289 = undoChar[289]; + UndoChar_290 = undoChar[290]; + UndoChar_291 = undoChar[291]; + UndoChar_292 = undoChar[292]; + UndoChar_293 = undoChar[293]; + UndoChar_294 = undoChar[294]; + UndoChar_295 = undoChar[295]; + UndoChar_296 = undoChar[296]; + UndoChar_297 = undoChar[297]; + UndoChar_298 = undoChar[298]; + UndoChar_299 = undoChar[299]; + UndoChar_300 = undoChar[300]; + UndoChar_301 = undoChar[301]; + UndoChar_302 = undoChar[302]; + UndoChar_303 = undoChar[303]; + UndoChar_304 = undoChar[304]; + UndoChar_305 = undoChar[305]; + UndoChar_306 = undoChar[306]; + UndoChar_307 = undoChar[307]; + UndoChar_308 = undoChar[308]; + UndoChar_309 = undoChar[309]; + UndoChar_310 = undoChar[310]; + UndoChar_311 = undoChar[311]; + UndoChar_312 = undoChar[312]; + UndoChar_313 = undoChar[313]; + UndoChar_314 = undoChar[314]; + UndoChar_315 = undoChar[315]; + UndoChar_316 = undoChar[316]; + UndoChar_317 = undoChar[317]; + UndoChar_318 = undoChar[318]; + UndoChar_319 = undoChar[319]; + UndoChar_320 = undoChar[320]; + UndoChar_321 = undoChar[321]; + UndoChar_322 = undoChar[322]; + UndoChar_323 = undoChar[323]; + UndoChar_324 = undoChar[324]; + UndoChar_325 = undoChar[325]; + UndoChar_326 = undoChar[326]; + UndoChar_327 = undoChar[327]; + UndoChar_328 = undoChar[328]; + UndoChar_329 = undoChar[329]; + UndoChar_330 = undoChar[330]; + UndoChar_331 = undoChar[331]; + UndoChar_332 = undoChar[332]; + UndoChar_333 = undoChar[333]; + UndoChar_334 = undoChar[334]; + UndoChar_335 = undoChar[335]; + UndoChar_336 = undoChar[336]; + UndoChar_337 = undoChar[337]; + UndoChar_338 = undoChar[338]; + UndoChar_339 = undoChar[339]; + UndoChar_340 = undoChar[340]; + UndoChar_341 = undoChar[341]; + UndoChar_342 = undoChar[342]; + UndoChar_343 = undoChar[343]; + UndoChar_344 = undoChar[344]; + UndoChar_345 = undoChar[345]; + UndoChar_346 = undoChar[346]; + UndoChar_347 = undoChar[347]; + UndoChar_348 = undoChar[348]; + UndoChar_349 = undoChar[349]; + UndoChar_350 = undoChar[350]; + UndoChar_351 = undoChar[351]; + UndoChar_352 = undoChar[352]; + UndoChar_353 = undoChar[353]; + UndoChar_354 = undoChar[354]; + UndoChar_355 = undoChar[355]; + UndoChar_356 = undoChar[356]; + UndoChar_357 = undoChar[357]; + UndoChar_358 = undoChar[358]; + UndoChar_359 = undoChar[359]; + UndoChar_360 = undoChar[360]; + UndoChar_361 = undoChar[361]; + UndoChar_362 = undoChar[362]; + UndoChar_363 = undoChar[363]; + UndoChar_364 = undoChar[364]; + UndoChar_365 = undoChar[365]; + UndoChar_366 = undoChar[366]; + UndoChar_367 = undoChar[367]; + UndoChar_368 = undoChar[368]; + UndoChar_369 = undoChar[369]; + UndoChar_370 = undoChar[370]; + UndoChar_371 = undoChar[371]; + UndoChar_372 = undoChar[372]; + UndoChar_373 = undoChar[373]; + UndoChar_374 = undoChar[374]; + UndoChar_375 = undoChar[375]; + UndoChar_376 = undoChar[376]; + UndoChar_377 = undoChar[377]; + UndoChar_378 = undoChar[378]; + UndoChar_379 = undoChar[379]; + UndoChar_380 = undoChar[380]; + UndoChar_381 = undoChar[381]; + UndoChar_382 = undoChar[382]; + UndoChar_383 = undoChar[383]; + UndoChar_384 = undoChar[384]; + UndoChar_385 = undoChar[385]; + UndoChar_386 = undoChar[386]; + UndoChar_387 = undoChar[387]; + UndoChar_388 = undoChar[388]; + UndoChar_389 = undoChar[389]; + UndoChar_390 = undoChar[390]; + UndoChar_391 = undoChar[391]; + UndoChar_392 = undoChar[392]; + UndoChar_393 = undoChar[393]; + UndoChar_394 = undoChar[394]; + UndoChar_395 = undoChar[395]; + UndoChar_396 = undoChar[396]; + UndoChar_397 = undoChar[397]; + UndoChar_398 = undoChar[398]; + UndoChar_399 = undoChar[399]; + UndoChar_400 = undoChar[400]; + UndoChar_401 = undoChar[401]; + UndoChar_402 = undoChar[402]; + UndoChar_403 = undoChar[403]; + UndoChar_404 = undoChar[404]; + UndoChar_405 = undoChar[405]; + UndoChar_406 = undoChar[406]; + UndoChar_407 = undoChar[407]; + UndoChar_408 = undoChar[408]; + UndoChar_409 = undoChar[409]; + UndoChar_410 = undoChar[410]; + UndoChar_411 = undoChar[411]; + UndoChar_412 = undoChar[412]; + UndoChar_413 = undoChar[413]; + UndoChar_414 = undoChar[414]; + UndoChar_415 = undoChar[415]; + UndoChar_416 = undoChar[416]; + UndoChar_417 = undoChar[417]; + UndoChar_418 = undoChar[418]; + UndoChar_419 = undoChar[419]; + UndoChar_420 = undoChar[420]; + UndoChar_421 = undoChar[421]; + UndoChar_422 = undoChar[422]; + UndoChar_423 = undoChar[423]; + UndoChar_424 = undoChar[424]; + UndoChar_425 = undoChar[425]; + UndoChar_426 = undoChar[426]; + UndoChar_427 = undoChar[427]; + UndoChar_428 = undoChar[428]; + UndoChar_429 = undoChar[429]; + UndoChar_430 = undoChar[430]; + UndoChar_431 = undoChar[431]; + UndoChar_432 = undoChar[432]; + UndoChar_433 = undoChar[433]; + UndoChar_434 = undoChar[434]; + UndoChar_435 = undoChar[435]; + UndoChar_436 = undoChar[436]; + UndoChar_437 = undoChar[437]; + UndoChar_438 = undoChar[438]; + UndoChar_439 = undoChar[439]; + UndoChar_440 = undoChar[440]; + UndoChar_441 = undoChar[441]; + UndoChar_442 = undoChar[442]; + UndoChar_443 = undoChar[443]; + UndoChar_444 = undoChar[444]; + UndoChar_445 = undoChar[445]; + UndoChar_446 = undoChar[446]; + UndoChar_447 = undoChar[447]; + UndoChar_448 = undoChar[448]; + UndoChar_449 = undoChar[449]; + UndoChar_450 = undoChar[450]; + UndoChar_451 = undoChar[451]; + UndoChar_452 = undoChar[452]; + UndoChar_453 = undoChar[453]; + UndoChar_454 = undoChar[454]; + UndoChar_455 = undoChar[455]; + UndoChar_456 = undoChar[456]; + UndoChar_457 = undoChar[457]; + UndoChar_458 = undoChar[458]; + UndoChar_459 = undoChar[459]; + UndoChar_460 = undoChar[460]; + UndoChar_461 = undoChar[461]; + UndoChar_462 = undoChar[462]; + UndoChar_463 = undoChar[463]; + UndoChar_464 = undoChar[464]; + UndoChar_465 = undoChar[465]; + UndoChar_466 = undoChar[466]; + UndoChar_467 = undoChar[467]; + UndoChar_468 = undoChar[468]; + UndoChar_469 = undoChar[469]; + UndoChar_470 = undoChar[470]; + UndoChar_471 = undoChar[471]; + UndoChar_472 = undoChar[472]; + UndoChar_473 = undoChar[473]; + UndoChar_474 = undoChar[474]; + UndoChar_475 = undoChar[475]; + UndoChar_476 = undoChar[476]; + UndoChar_477 = undoChar[477]; + UndoChar_478 = undoChar[478]; + UndoChar_479 = undoChar[479]; + UndoChar_480 = undoChar[480]; + UndoChar_481 = undoChar[481]; + UndoChar_482 = undoChar[482]; + UndoChar_483 = undoChar[483]; + UndoChar_484 = undoChar[484]; + UndoChar_485 = undoChar[485]; + UndoChar_486 = undoChar[486]; + UndoChar_487 = undoChar[487]; + UndoChar_488 = undoChar[488]; + UndoChar_489 = undoChar[489]; + UndoChar_490 = undoChar[490]; + UndoChar_491 = undoChar[491]; + UndoChar_492 = undoChar[492]; + UndoChar_493 = undoChar[493]; + UndoChar_494 = undoChar[494]; + UndoChar_495 = undoChar[495]; + UndoChar_496 = undoChar[496]; + UndoChar_497 = undoChar[497]; + UndoChar_498 = undoChar[498]; + UndoChar_499 = undoChar[499]; + UndoChar_500 = undoChar[500]; + UndoChar_501 = undoChar[501]; + UndoChar_502 = undoChar[502]; + UndoChar_503 = undoChar[503]; + UndoChar_504 = undoChar[504]; + UndoChar_505 = undoChar[505]; + UndoChar_506 = undoChar[506]; + UndoChar_507 = undoChar[507]; + UndoChar_508 = undoChar[508]; + UndoChar_509 = undoChar[509]; + UndoChar_510 = undoChar[510]; + UndoChar_511 = undoChar[511]; + UndoChar_512 = undoChar[512]; + UndoChar_513 = undoChar[513]; + UndoChar_514 = undoChar[514]; + UndoChar_515 = undoChar[515]; + UndoChar_516 = undoChar[516]; + UndoChar_517 = undoChar[517]; + UndoChar_518 = undoChar[518]; + UndoChar_519 = undoChar[519]; + UndoChar_520 = undoChar[520]; + UndoChar_521 = undoChar[521]; + UndoChar_522 = undoChar[522]; + UndoChar_523 = undoChar[523]; + UndoChar_524 = undoChar[524]; + UndoChar_525 = undoChar[525]; + UndoChar_526 = undoChar[526]; + UndoChar_527 = undoChar[527]; + UndoChar_528 = undoChar[528]; + UndoChar_529 = undoChar[529]; + UndoChar_530 = undoChar[530]; + UndoChar_531 = undoChar[531]; + UndoChar_532 = undoChar[532]; + UndoChar_533 = undoChar[533]; + UndoChar_534 = undoChar[534]; + UndoChar_535 = undoChar[535]; + UndoChar_536 = undoChar[536]; + UndoChar_537 = undoChar[537]; + UndoChar_538 = undoChar[538]; + UndoChar_539 = undoChar[539]; + UndoChar_540 = undoChar[540]; + UndoChar_541 = undoChar[541]; + UndoChar_542 = undoChar[542]; + UndoChar_543 = undoChar[543]; + UndoChar_544 = undoChar[544]; + UndoChar_545 = undoChar[545]; + UndoChar_546 = undoChar[546]; + UndoChar_547 = undoChar[547]; + UndoChar_548 = undoChar[548]; + UndoChar_549 = undoChar[549]; + UndoChar_550 = undoChar[550]; + UndoChar_551 = undoChar[551]; + UndoChar_552 = undoChar[552]; + UndoChar_553 = undoChar[553]; + UndoChar_554 = undoChar[554]; + UndoChar_555 = undoChar[555]; + UndoChar_556 = undoChar[556]; + UndoChar_557 = undoChar[557]; + UndoChar_558 = undoChar[558]; + UndoChar_559 = undoChar[559]; + UndoChar_560 = undoChar[560]; + UndoChar_561 = undoChar[561]; + UndoChar_562 = undoChar[562]; + UndoChar_563 = undoChar[563]; + UndoChar_564 = undoChar[564]; + UndoChar_565 = undoChar[565]; + UndoChar_566 = undoChar[566]; + UndoChar_567 = undoChar[567]; + UndoChar_568 = undoChar[568]; + UndoChar_569 = undoChar[569]; + UndoChar_570 = undoChar[570]; + UndoChar_571 = undoChar[571]; + UndoChar_572 = undoChar[572]; + UndoChar_573 = undoChar[573]; + UndoChar_574 = undoChar[574]; + UndoChar_575 = undoChar[575]; + UndoChar_576 = undoChar[576]; + UndoChar_577 = undoChar[577]; + UndoChar_578 = undoChar[578]; + UndoChar_579 = undoChar[579]; + UndoChar_580 = undoChar[580]; + UndoChar_581 = undoChar[581]; + UndoChar_582 = undoChar[582]; + UndoChar_583 = undoChar[583]; + UndoChar_584 = undoChar[584]; + UndoChar_585 = undoChar[585]; + UndoChar_586 = undoChar[586]; + UndoChar_587 = undoChar[587]; + UndoChar_588 = undoChar[588]; + UndoChar_589 = undoChar[589]; + UndoChar_590 = undoChar[590]; + UndoChar_591 = undoChar[591]; + UndoChar_592 = undoChar[592]; + UndoChar_593 = undoChar[593]; + UndoChar_594 = undoChar[594]; + UndoChar_595 = undoChar[595]; + UndoChar_596 = undoChar[596]; + UndoChar_597 = undoChar[597]; + UndoChar_598 = undoChar[598]; + UndoChar_599 = undoChar[599]; + UndoChar_600 = undoChar[600]; + UndoChar_601 = undoChar[601]; + UndoChar_602 = undoChar[602]; + UndoChar_603 = undoChar[603]; + UndoChar_604 = undoChar[604]; + UndoChar_605 = undoChar[605]; + UndoChar_606 = undoChar[606]; + UndoChar_607 = undoChar[607]; + UndoChar_608 = undoChar[608]; + UndoChar_609 = undoChar[609]; + UndoChar_610 = undoChar[610]; + UndoChar_611 = undoChar[611]; + UndoChar_612 = undoChar[612]; + UndoChar_613 = undoChar[613]; + UndoChar_614 = undoChar[614]; + UndoChar_615 = undoChar[615]; + UndoChar_616 = undoChar[616]; + UndoChar_617 = undoChar[617]; + UndoChar_618 = undoChar[618]; + UndoChar_619 = undoChar[619]; + UndoChar_620 = undoChar[620]; + UndoChar_621 = undoChar[621]; + UndoChar_622 = undoChar[622]; + UndoChar_623 = undoChar[623]; + UndoChar_624 = undoChar[624]; + UndoChar_625 = undoChar[625]; + UndoChar_626 = undoChar[626]; + UndoChar_627 = undoChar[627]; + UndoChar_628 = undoChar[628]; + UndoChar_629 = undoChar[629]; + UndoChar_630 = undoChar[630]; + UndoChar_631 = undoChar[631]; + UndoChar_632 = undoChar[632]; + UndoChar_633 = undoChar[633]; + UndoChar_634 = undoChar[634]; + UndoChar_635 = undoChar[635]; + UndoChar_636 = undoChar[636]; + UndoChar_637 = undoChar[637]; + UndoChar_638 = undoChar[638]; + UndoChar_639 = undoChar[639]; + UndoChar_640 = undoChar[640]; + UndoChar_641 = undoChar[641]; + UndoChar_642 = undoChar[642]; + UndoChar_643 = undoChar[643]; + UndoChar_644 = undoChar[644]; + UndoChar_645 = undoChar[645]; + UndoChar_646 = undoChar[646]; + UndoChar_647 = undoChar[647]; + UndoChar_648 = undoChar[648]; + UndoChar_649 = undoChar[649]; + UndoChar_650 = undoChar[650]; + UndoChar_651 = undoChar[651]; + UndoChar_652 = undoChar[652]; + UndoChar_653 = undoChar[653]; + UndoChar_654 = undoChar[654]; + UndoChar_655 = undoChar[655]; + UndoChar_656 = undoChar[656]; + UndoChar_657 = undoChar[657]; + UndoChar_658 = undoChar[658]; + UndoChar_659 = undoChar[659]; + UndoChar_660 = undoChar[660]; + UndoChar_661 = undoChar[661]; + UndoChar_662 = undoChar[662]; + UndoChar_663 = undoChar[663]; + UndoChar_664 = undoChar[664]; + UndoChar_665 = undoChar[665]; + UndoChar_666 = undoChar[666]; + UndoChar_667 = undoChar[667]; + UndoChar_668 = undoChar[668]; + UndoChar_669 = undoChar[669]; + UndoChar_670 = undoChar[670]; + UndoChar_671 = undoChar[671]; + UndoChar_672 = undoChar[672]; + UndoChar_673 = undoChar[673]; + UndoChar_674 = undoChar[674]; + UndoChar_675 = undoChar[675]; + UndoChar_676 = undoChar[676]; + UndoChar_677 = undoChar[677]; + UndoChar_678 = undoChar[678]; + UndoChar_679 = undoChar[679]; + UndoChar_680 = undoChar[680]; + UndoChar_681 = undoChar[681]; + UndoChar_682 = undoChar[682]; + UndoChar_683 = undoChar[683]; + UndoChar_684 = undoChar[684]; + UndoChar_685 = undoChar[685]; + UndoChar_686 = undoChar[686]; + UndoChar_687 = undoChar[687]; + UndoChar_688 = undoChar[688]; + UndoChar_689 = undoChar[689]; + UndoChar_690 = undoChar[690]; + UndoChar_691 = undoChar[691]; + UndoChar_692 = undoChar[692]; + UndoChar_693 = undoChar[693]; + UndoChar_694 = undoChar[694]; + UndoChar_695 = undoChar[695]; + UndoChar_696 = undoChar[696]; + UndoChar_697 = undoChar[697]; + UndoChar_698 = undoChar[698]; + UndoChar_699 = undoChar[699]; + UndoChar_700 = undoChar[700]; + UndoChar_701 = undoChar[701]; + UndoChar_702 = undoChar[702]; + UndoChar_703 = undoChar[703]; + UndoChar_704 = undoChar[704]; + UndoChar_705 = undoChar[705]; + UndoChar_706 = undoChar[706]; + UndoChar_707 = undoChar[707]; + UndoChar_708 = undoChar[708]; + UndoChar_709 = undoChar[709]; + UndoChar_710 = undoChar[710]; + UndoChar_711 = undoChar[711]; + UndoChar_712 = undoChar[712]; + UndoChar_713 = undoChar[713]; + UndoChar_714 = undoChar[714]; + UndoChar_715 = undoChar[715]; + UndoChar_716 = undoChar[716]; + UndoChar_717 = undoChar[717]; + UndoChar_718 = undoChar[718]; + UndoChar_719 = undoChar[719]; + UndoChar_720 = undoChar[720]; + UndoChar_721 = undoChar[721]; + UndoChar_722 = undoChar[722]; + UndoChar_723 = undoChar[723]; + UndoChar_724 = undoChar[724]; + UndoChar_725 = undoChar[725]; + UndoChar_726 = undoChar[726]; + UndoChar_727 = undoChar[727]; + UndoChar_728 = undoChar[728]; + UndoChar_729 = undoChar[729]; + UndoChar_730 = undoChar[730]; + UndoChar_731 = undoChar[731]; + UndoChar_732 = undoChar[732]; + UndoChar_733 = undoChar[733]; + UndoChar_734 = undoChar[734]; + UndoChar_735 = undoChar[735]; + UndoChar_736 = undoChar[736]; + UndoChar_737 = undoChar[737]; + UndoChar_738 = undoChar[738]; + UndoChar_739 = undoChar[739]; + UndoChar_740 = undoChar[740]; + UndoChar_741 = undoChar[741]; + UndoChar_742 = undoChar[742]; + UndoChar_743 = undoChar[743]; + UndoChar_744 = undoChar[744]; + UndoChar_745 = undoChar[745]; + UndoChar_746 = undoChar[746]; + UndoChar_747 = undoChar[747]; + UndoChar_748 = undoChar[748]; + UndoChar_749 = undoChar[749]; + UndoChar_750 = undoChar[750]; + UndoChar_751 = undoChar[751]; + UndoChar_752 = undoChar[752]; + UndoChar_753 = undoChar[753]; + UndoChar_754 = undoChar[754]; + UndoChar_755 = undoChar[755]; + UndoChar_756 = undoChar[756]; + UndoChar_757 = undoChar[757]; + UndoChar_758 = undoChar[758]; + UndoChar_759 = undoChar[759]; + UndoChar_760 = undoChar[760]; + UndoChar_761 = undoChar[761]; + UndoChar_762 = undoChar[762]; + UndoChar_763 = undoChar[763]; + UndoChar_764 = undoChar[764]; + UndoChar_765 = undoChar[765]; + UndoChar_766 = undoChar[766]; + UndoChar_767 = undoChar[767]; + UndoChar_768 = undoChar[768]; + UndoChar_769 = undoChar[769]; + UndoChar_770 = undoChar[770]; + UndoChar_771 = undoChar[771]; + UndoChar_772 = undoChar[772]; + UndoChar_773 = undoChar[773]; + UndoChar_774 = undoChar[774]; + UndoChar_775 = undoChar[775]; + UndoChar_776 = undoChar[776]; + UndoChar_777 = undoChar[777]; + UndoChar_778 = undoChar[778]; + UndoChar_779 = undoChar[779]; + UndoChar_780 = undoChar[780]; + UndoChar_781 = undoChar[781]; + UndoChar_782 = undoChar[782]; + UndoChar_783 = undoChar[783]; + UndoChar_784 = undoChar[784]; + UndoChar_785 = undoChar[785]; + UndoChar_786 = undoChar[786]; + UndoChar_787 = undoChar[787]; + UndoChar_788 = undoChar[788]; + UndoChar_789 = undoChar[789]; + UndoChar_790 = undoChar[790]; + UndoChar_791 = undoChar[791]; + UndoChar_792 = undoChar[792]; + UndoChar_793 = undoChar[793]; + UndoChar_794 = undoChar[794]; + UndoChar_795 = undoChar[795]; + UndoChar_796 = undoChar[796]; + UndoChar_797 = undoChar[797]; + UndoChar_798 = undoChar[798]; + UndoChar_799 = undoChar[799]; + UndoChar_800 = undoChar[800]; + UndoChar_801 = undoChar[801]; + UndoChar_802 = undoChar[802]; + UndoChar_803 = undoChar[803]; + UndoChar_804 = undoChar[804]; + UndoChar_805 = undoChar[805]; + UndoChar_806 = undoChar[806]; + UndoChar_807 = undoChar[807]; + UndoChar_808 = undoChar[808]; + UndoChar_809 = undoChar[809]; + UndoChar_810 = undoChar[810]; + UndoChar_811 = undoChar[811]; + UndoChar_812 = undoChar[812]; + UndoChar_813 = undoChar[813]; + UndoChar_814 = undoChar[814]; + UndoChar_815 = undoChar[815]; + UndoChar_816 = undoChar[816]; + UndoChar_817 = undoChar[817]; + UndoChar_818 = undoChar[818]; + UndoChar_819 = undoChar[819]; + UndoChar_820 = undoChar[820]; + UndoChar_821 = undoChar[821]; + UndoChar_822 = undoChar[822]; + UndoChar_823 = undoChar[823]; + UndoChar_824 = undoChar[824]; + UndoChar_825 = undoChar[825]; + UndoChar_826 = undoChar[826]; + UndoChar_827 = undoChar[827]; + UndoChar_828 = undoChar[828]; + UndoChar_829 = undoChar[829]; + UndoChar_830 = undoChar[830]; + UndoChar_831 = undoChar[831]; + UndoChar_832 = undoChar[832]; + UndoChar_833 = undoChar[833]; + UndoChar_834 = undoChar[834]; + UndoChar_835 = undoChar[835]; + UndoChar_836 = undoChar[836]; + UndoChar_837 = undoChar[837]; + UndoChar_838 = undoChar[838]; + UndoChar_839 = undoChar[839]; + UndoChar_840 = undoChar[840]; + UndoChar_841 = undoChar[841]; + UndoChar_842 = undoChar[842]; + UndoChar_843 = undoChar[843]; + UndoChar_844 = undoChar[844]; + UndoChar_845 = undoChar[845]; + UndoChar_846 = undoChar[846]; + UndoChar_847 = undoChar[847]; + UndoChar_848 = undoChar[848]; + UndoChar_849 = undoChar[849]; + UndoChar_850 = undoChar[850]; + UndoChar_851 = undoChar[851]; + UndoChar_852 = undoChar[852]; + UndoChar_853 = undoChar[853]; + UndoChar_854 = undoChar[854]; + UndoChar_855 = undoChar[855]; + UndoChar_856 = undoChar[856]; + UndoChar_857 = undoChar[857]; + UndoChar_858 = undoChar[858]; + UndoChar_859 = undoChar[859]; + UndoChar_860 = undoChar[860]; + UndoChar_861 = undoChar[861]; + UndoChar_862 = undoChar[862]; + UndoChar_863 = undoChar[863]; + UndoChar_864 = undoChar[864]; + UndoChar_865 = undoChar[865]; + UndoChar_866 = undoChar[866]; + UndoChar_867 = undoChar[867]; + UndoChar_868 = undoChar[868]; + UndoChar_869 = undoChar[869]; + UndoChar_870 = undoChar[870]; + UndoChar_871 = undoChar[871]; + UndoChar_872 = undoChar[872]; + UndoChar_873 = undoChar[873]; + UndoChar_874 = undoChar[874]; + UndoChar_875 = undoChar[875]; + UndoChar_876 = undoChar[876]; + UndoChar_877 = undoChar[877]; + UndoChar_878 = undoChar[878]; + UndoChar_879 = undoChar[879]; + UndoChar_880 = undoChar[880]; + UndoChar_881 = undoChar[881]; + UndoChar_882 = undoChar[882]; + UndoChar_883 = undoChar[883]; + UndoChar_884 = undoChar[884]; + UndoChar_885 = undoChar[885]; + UndoChar_886 = undoChar[886]; + UndoChar_887 = undoChar[887]; + UndoChar_888 = undoChar[888]; + UndoChar_889 = undoChar[889]; + UndoChar_890 = undoChar[890]; + UndoChar_891 = undoChar[891]; + UndoChar_892 = undoChar[892]; + UndoChar_893 = undoChar[893]; + UndoChar_894 = undoChar[894]; + UndoChar_895 = undoChar[895]; + UndoChar_896 = undoChar[896]; + UndoChar_897 = undoChar[897]; + UndoChar_898 = undoChar[898]; + UndoChar_899 = undoChar[899]; + UndoChar_900 = undoChar[900]; + UndoChar_901 = undoChar[901]; + UndoChar_902 = undoChar[902]; + UndoChar_903 = undoChar[903]; + UndoChar_904 = undoChar[904]; + UndoChar_905 = undoChar[905]; + UndoChar_906 = undoChar[906]; + UndoChar_907 = undoChar[907]; + UndoChar_908 = undoChar[908]; + UndoChar_909 = undoChar[909]; + UndoChar_910 = undoChar[910]; + UndoChar_911 = undoChar[911]; + UndoChar_912 = undoChar[912]; + UndoChar_913 = undoChar[913]; + UndoChar_914 = undoChar[914]; + UndoChar_915 = undoChar[915]; + UndoChar_916 = undoChar[916]; + UndoChar_917 = undoChar[917]; + UndoChar_918 = undoChar[918]; + UndoChar_919 = undoChar[919]; + UndoChar_920 = undoChar[920]; + UndoChar_921 = undoChar[921]; + UndoChar_922 = undoChar[922]; + UndoChar_923 = undoChar[923]; + UndoChar_924 = undoChar[924]; + UndoChar_925 = undoChar[925]; + UndoChar_926 = undoChar[926]; + UndoChar_927 = undoChar[927]; + UndoChar_928 = undoChar[928]; + UndoChar_929 = undoChar[929]; + UndoChar_930 = undoChar[930]; + UndoChar_931 = undoChar[931]; + UndoChar_932 = undoChar[932]; + UndoChar_933 = undoChar[933]; + UndoChar_934 = undoChar[934]; + UndoChar_935 = undoChar[935]; + UndoChar_936 = undoChar[936]; + UndoChar_937 = undoChar[937]; + UndoChar_938 = undoChar[938]; + UndoChar_939 = undoChar[939]; + UndoChar_940 = undoChar[940]; + UndoChar_941 = undoChar[941]; + UndoChar_942 = undoChar[942]; + UndoChar_943 = undoChar[943]; + UndoChar_944 = undoChar[944]; + UndoChar_945 = undoChar[945]; + UndoChar_946 = undoChar[946]; + UndoChar_947 = undoChar[947]; + UndoChar_948 = undoChar[948]; + UndoChar_949 = undoChar[949]; + UndoChar_950 = undoChar[950]; + UndoChar_951 = undoChar[951]; + UndoChar_952 = undoChar[952]; + UndoChar_953 = undoChar[953]; + UndoChar_954 = undoChar[954]; + UndoChar_955 = undoChar[955]; + UndoChar_956 = undoChar[956]; + UndoChar_957 = undoChar[957]; + UndoChar_958 = undoChar[958]; + UndoChar_959 = undoChar[959]; + UndoChar_960 = undoChar[960]; + UndoChar_961 = undoChar[961]; + UndoChar_962 = undoChar[962]; + UndoChar_963 = undoChar[963]; + UndoChar_964 = undoChar[964]; + UndoChar_965 = undoChar[965]; + UndoChar_966 = undoChar[966]; + UndoChar_967 = undoChar[967]; + UndoChar_968 = undoChar[968]; + UndoChar_969 = undoChar[969]; + UndoChar_970 = undoChar[970]; + UndoChar_971 = undoChar[971]; + UndoChar_972 = undoChar[972]; + UndoChar_973 = undoChar[973]; + UndoChar_974 = undoChar[974]; + UndoChar_975 = undoChar[975]; + UndoChar_976 = undoChar[976]; + UndoChar_977 = undoChar[977]; + UndoChar_978 = undoChar[978]; + UndoChar_979 = undoChar[979]; + UndoChar_980 = undoChar[980]; + UndoChar_981 = undoChar[981]; + UndoChar_982 = undoChar[982]; + UndoChar_983 = undoChar[983]; + UndoChar_984 = undoChar[984]; + UndoChar_985 = undoChar[985]; + UndoChar_986 = undoChar[986]; + UndoChar_987 = undoChar[987]; + UndoChar_988 = undoChar[988]; + UndoChar_989 = undoChar[989]; + UndoChar_990 = undoChar[990]; + UndoChar_991 = undoChar[991]; + UndoChar_992 = undoChar[992]; + UndoChar_993 = undoChar[993]; + UndoChar_994 = undoChar[994]; + UndoChar_995 = undoChar[995]; + UndoChar_996 = undoChar[996]; + UndoChar_997 = undoChar[997]; + UndoChar_998 = undoChar[998]; + } + UndoPoint = undoPoint; + RedoPoint = redoPoint; + UndoCharPoint = undoCharPoint; + RedoCharPoint = redoCharPoint; + } + + /// + /// To be documented. + /// + public unsafe StbUndoState(Span undoRec = default, Span undoChar = default, short undoPoint = default, short redoPoint = default, int undoCharPoint = default, int redoCharPoint = default) + { + if (undoRec != default(Span)) + { + UndoRec_0 = undoRec[0]; + UndoRec_1 = undoRec[1]; + UndoRec_2 = undoRec[2]; + UndoRec_3 = undoRec[3]; + UndoRec_4 = undoRec[4]; + UndoRec_5 = undoRec[5]; + UndoRec_6 = undoRec[6]; + UndoRec_7 = undoRec[7]; + UndoRec_8 = undoRec[8]; + UndoRec_9 = undoRec[9]; + UndoRec_10 = undoRec[10]; + UndoRec_11 = undoRec[11]; + UndoRec_12 = undoRec[12]; + UndoRec_13 = undoRec[13]; + UndoRec_14 = undoRec[14]; + UndoRec_15 = undoRec[15]; + UndoRec_16 = undoRec[16]; + UndoRec_17 = undoRec[17]; + UndoRec_18 = undoRec[18]; + UndoRec_19 = undoRec[19]; + UndoRec_20 = undoRec[20]; + UndoRec_21 = undoRec[21]; + UndoRec_22 = undoRec[22]; + UndoRec_23 = undoRec[23]; + UndoRec_24 = undoRec[24]; + UndoRec_25 = undoRec[25]; + UndoRec_26 = undoRec[26]; + UndoRec_27 = undoRec[27]; + UndoRec_28 = undoRec[28]; + UndoRec_29 = undoRec[29]; + UndoRec_30 = undoRec[30]; + UndoRec_31 = undoRec[31]; + UndoRec_32 = undoRec[32]; + UndoRec_33 = undoRec[33]; + UndoRec_34 = undoRec[34]; + UndoRec_35 = undoRec[35]; + UndoRec_36 = undoRec[36]; + UndoRec_37 = undoRec[37]; + UndoRec_38 = undoRec[38]; + UndoRec_39 = undoRec[39]; + UndoRec_40 = undoRec[40]; + UndoRec_41 = undoRec[41]; + UndoRec_42 = undoRec[42]; + UndoRec_43 = undoRec[43]; + UndoRec_44 = undoRec[44]; + UndoRec_45 = undoRec[45]; + UndoRec_46 = undoRec[46]; + UndoRec_47 = undoRec[47]; + UndoRec_48 = undoRec[48]; + UndoRec_49 = undoRec[49]; + UndoRec_50 = undoRec[50]; + UndoRec_51 = undoRec[51]; + UndoRec_52 = undoRec[52]; + UndoRec_53 = undoRec[53]; + UndoRec_54 = undoRec[54]; + UndoRec_55 = undoRec[55]; + UndoRec_56 = undoRec[56]; + UndoRec_57 = undoRec[57]; + UndoRec_58 = undoRec[58]; + UndoRec_59 = undoRec[59]; + UndoRec_60 = undoRec[60]; + UndoRec_61 = undoRec[61]; + UndoRec_62 = undoRec[62]; + UndoRec_63 = undoRec[63]; + UndoRec_64 = undoRec[64]; + UndoRec_65 = undoRec[65]; + UndoRec_66 = undoRec[66]; + UndoRec_67 = undoRec[67]; + UndoRec_68 = undoRec[68]; + UndoRec_69 = undoRec[69]; + UndoRec_70 = undoRec[70]; + UndoRec_71 = undoRec[71]; + UndoRec_72 = undoRec[72]; + UndoRec_73 = undoRec[73]; + UndoRec_74 = undoRec[74]; + UndoRec_75 = undoRec[75]; + UndoRec_76 = undoRec[76]; + UndoRec_77 = undoRec[77]; + UndoRec_78 = undoRec[78]; + UndoRec_79 = undoRec[79]; + UndoRec_80 = undoRec[80]; + UndoRec_81 = undoRec[81]; + UndoRec_82 = undoRec[82]; + UndoRec_83 = undoRec[83]; + UndoRec_84 = undoRec[84]; + UndoRec_85 = undoRec[85]; + UndoRec_86 = undoRec[86]; + UndoRec_87 = undoRec[87]; + UndoRec_88 = undoRec[88]; + UndoRec_89 = undoRec[89]; + UndoRec_90 = undoRec[90]; + UndoRec_91 = undoRec[91]; + UndoRec_92 = undoRec[92]; + UndoRec_93 = undoRec[93]; + UndoRec_94 = undoRec[94]; + UndoRec_95 = undoRec[95]; + UndoRec_96 = undoRec[96]; + UndoRec_97 = undoRec[97]; + UndoRec_98 = undoRec[98]; + } + if (undoChar != default(Span)) + { + UndoChar_0 = undoChar[0]; + UndoChar_1 = undoChar[1]; + UndoChar_2 = undoChar[2]; + UndoChar_3 = undoChar[3]; + UndoChar_4 = undoChar[4]; + UndoChar_5 = undoChar[5]; + UndoChar_6 = undoChar[6]; + UndoChar_7 = undoChar[7]; + UndoChar_8 = undoChar[8]; + UndoChar_9 = undoChar[9]; + UndoChar_10 = undoChar[10]; + UndoChar_11 = undoChar[11]; + UndoChar_12 = undoChar[12]; + UndoChar_13 = undoChar[13]; + UndoChar_14 = undoChar[14]; + UndoChar_15 = undoChar[15]; + UndoChar_16 = undoChar[16]; + UndoChar_17 = undoChar[17]; + UndoChar_18 = undoChar[18]; + UndoChar_19 = undoChar[19]; + UndoChar_20 = undoChar[20]; + UndoChar_21 = undoChar[21]; + UndoChar_22 = undoChar[22]; + UndoChar_23 = undoChar[23]; + UndoChar_24 = undoChar[24]; + UndoChar_25 = undoChar[25]; + UndoChar_26 = undoChar[26]; + UndoChar_27 = undoChar[27]; + UndoChar_28 = undoChar[28]; + UndoChar_29 = undoChar[29]; + UndoChar_30 = undoChar[30]; + UndoChar_31 = undoChar[31]; + UndoChar_32 = undoChar[32]; + UndoChar_33 = undoChar[33]; + UndoChar_34 = undoChar[34]; + UndoChar_35 = undoChar[35]; + UndoChar_36 = undoChar[36]; + UndoChar_37 = undoChar[37]; + UndoChar_38 = undoChar[38]; + UndoChar_39 = undoChar[39]; + UndoChar_40 = undoChar[40]; + UndoChar_41 = undoChar[41]; + UndoChar_42 = undoChar[42]; + UndoChar_43 = undoChar[43]; + UndoChar_44 = undoChar[44]; + UndoChar_45 = undoChar[45]; + UndoChar_46 = undoChar[46]; + UndoChar_47 = undoChar[47]; + UndoChar_48 = undoChar[48]; + UndoChar_49 = undoChar[49]; + UndoChar_50 = undoChar[50]; + UndoChar_51 = undoChar[51]; + UndoChar_52 = undoChar[52]; + UndoChar_53 = undoChar[53]; + UndoChar_54 = undoChar[54]; + UndoChar_55 = undoChar[55]; + UndoChar_56 = undoChar[56]; + UndoChar_57 = undoChar[57]; + UndoChar_58 = undoChar[58]; + UndoChar_59 = undoChar[59]; + UndoChar_60 = undoChar[60]; + UndoChar_61 = undoChar[61]; + UndoChar_62 = undoChar[62]; + UndoChar_63 = undoChar[63]; + UndoChar_64 = undoChar[64]; + UndoChar_65 = undoChar[65]; + UndoChar_66 = undoChar[66]; + UndoChar_67 = undoChar[67]; + UndoChar_68 = undoChar[68]; + UndoChar_69 = undoChar[69]; + UndoChar_70 = undoChar[70]; + UndoChar_71 = undoChar[71]; + UndoChar_72 = undoChar[72]; + UndoChar_73 = undoChar[73]; + UndoChar_74 = undoChar[74]; + UndoChar_75 = undoChar[75]; + UndoChar_76 = undoChar[76]; + UndoChar_77 = undoChar[77]; + UndoChar_78 = undoChar[78]; + UndoChar_79 = undoChar[79]; + UndoChar_80 = undoChar[80]; + UndoChar_81 = undoChar[81]; + UndoChar_82 = undoChar[82]; + UndoChar_83 = undoChar[83]; + UndoChar_84 = undoChar[84]; + UndoChar_85 = undoChar[85]; + UndoChar_86 = undoChar[86]; + UndoChar_87 = undoChar[87]; + UndoChar_88 = undoChar[88]; + UndoChar_89 = undoChar[89]; + UndoChar_90 = undoChar[90]; + UndoChar_91 = undoChar[91]; + UndoChar_92 = undoChar[92]; + UndoChar_93 = undoChar[93]; + UndoChar_94 = undoChar[94]; + UndoChar_95 = undoChar[95]; + UndoChar_96 = undoChar[96]; + UndoChar_97 = undoChar[97]; + UndoChar_98 = undoChar[98]; + UndoChar_99 = undoChar[99]; + UndoChar_100 = undoChar[100]; + UndoChar_101 = undoChar[101]; + UndoChar_102 = undoChar[102]; + UndoChar_103 = undoChar[103]; + UndoChar_104 = undoChar[104]; + UndoChar_105 = undoChar[105]; + UndoChar_106 = undoChar[106]; + UndoChar_107 = undoChar[107]; + UndoChar_108 = undoChar[108]; + UndoChar_109 = undoChar[109]; + UndoChar_110 = undoChar[110]; + UndoChar_111 = undoChar[111]; + UndoChar_112 = undoChar[112]; + UndoChar_113 = undoChar[113]; + UndoChar_114 = undoChar[114]; + UndoChar_115 = undoChar[115]; + UndoChar_116 = undoChar[116]; + UndoChar_117 = undoChar[117]; + UndoChar_118 = undoChar[118]; + UndoChar_119 = undoChar[119]; + UndoChar_120 = undoChar[120]; + UndoChar_121 = undoChar[121]; + UndoChar_122 = undoChar[122]; + UndoChar_123 = undoChar[123]; + UndoChar_124 = undoChar[124]; + UndoChar_125 = undoChar[125]; + UndoChar_126 = undoChar[126]; + UndoChar_127 = undoChar[127]; + UndoChar_128 = undoChar[128]; + UndoChar_129 = undoChar[129]; + UndoChar_130 = undoChar[130]; + UndoChar_131 = undoChar[131]; + UndoChar_132 = undoChar[132]; + UndoChar_133 = undoChar[133]; + UndoChar_134 = undoChar[134]; + UndoChar_135 = undoChar[135]; + UndoChar_136 = undoChar[136]; + UndoChar_137 = undoChar[137]; + UndoChar_138 = undoChar[138]; + UndoChar_139 = undoChar[139]; + UndoChar_140 = undoChar[140]; + UndoChar_141 = undoChar[141]; + UndoChar_142 = undoChar[142]; + UndoChar_143 = undoChar[143]; + UndoChar_144 = undoChar[144]; + UndoChar_145 = undoChar[145]; + UndoChar_146 = undoChar[146]; + UndoChar_147 = undoChar[147]; + UndoChar_148 = undoChar[148]; + UndoChar_149 = undoChar[149]; + UndoChar_150 = undoChar[150]; + UndoChar_151 = undoChar[151]; + UndoChar_152 = undoChar[152]; + UndoChar_153 = undoChar[153]; + UndoChar_154 = undoChar[154]; + UndoChar_155 = undoChar[155]; + UndoChar_156 = undoChar[156]; + UndoChar_157 = undoChar[157]; + UndoChar_158 = undoChar[158]; + UndoChar_159 = undoChar[159]; + UndoChar_160 = undoChar[160]; + UndoChar_161 = undoChar[161]; + UndoChar_162 = undoChar[162]; + UndoChar_163 = undoChar[163]; + UndoChar_164 = undoChar[164]; + UndoChar_165 = undoChar[165]; + UndoChar_166 = undoChar[166]; + UndoChar_167 = undoChar[167]; + UndoChar_168 = undoChar[168]; + UndoChar_169 = undoChar[169]; + UndoChar_170 = undoChar[170]; + UndoChar_171 = undoChar[171]; + UndoChar_172 = undoChar[172]; + UndoChar_173 = undoChar[173]; + UndoChar_174 = undoChar[174]; + UndoChar_175 = undoChar[175]; + UndoChar_176 = undoChar[176]; + UndoChar_177 = undoChar[177]; + UndoChar_178 = undoChar[178]; + UndoChar_179 = undoChar[179]; + UndoChar_180 = undoChar[180]; + UndoChar_181 = undoChar[181]; + UndoChar_182 = undoChar[182]; + UndoChar_183 = undoChar[183]; + UndoChar_184 = undoChar[184]; + UndoChar_185 = undoChar[185]; + UndoChar_186 = undoChar[186]; + UndoChar_187 = undoChar[187]; + UndoChar_188 = undoChar[188]; + UndoChar_189 = undoChar[189]; + UndoChar_190 = undoChar[190]; + UndoChar_191 = undoChar[191]; + UndoChar_192 = undoChar[192]; + UndoChar_193 = undoChar[193]; + UndoChar_194 = undoChar[194]; + UndoChar_195 = undoChar[195]; + UndoChar_196 = undoChar[196]; + UndoChar_197 = undoChar[197]; + UndoChar_198 = undoChar[198]; + UndoChar_199 = undoChar[199]; + UndoChar_200 = undoChar[200]; + UndoChar_201 = undoChar[201]; + UndoChar_202 = undoChar[202]; + UndoChar_203 = undoChar[203]; + UndoChar_204 = undoChar[204]; + UndoChar_205 = undoChar[205]; + UndoChar_206 = undoChar[206]; + UndoChar_207 = undoChar[207]; + UndoChar_208 = undoChar[208]; + UndoChar_209 = undoChar[209]; + UndoChar_210 = undoChar[210]; + UndoChar_211 = undoChar[211]; + UndoChar_212 = undoChar[212]; + UndoChar_213 = undoChar[213]; + UndoChar_214 = undoChar[214]; + UndoChar_215 = undoChar[215]; + UndoChar_216 = undoChar[216]; + UndoChar_217 = undoChar[217]; + UndoChar_218 = undoChar[218]; + UndoChar_219 = undoChar[219]; + UndoChar_220 = undoChar[220]; + UndoChar_221 = undoChar[221]; + UndoChar_222 = undoChar[222]; + UndoChar_223 = undoChar[223]; + UndoChar_224 = undoChar[224]; + UndoChar_225 = undoChar[225]; + UndoChar_226 = undoChar[226]; + UndoChar_227 = undoChar[227]; + UndoChar_228 = undoChar[228]; + UndoChar_229 = undoChar[229]; + UndoChar_230 = undoChar[230]; + UndoChar_231 = undoChar[231]; + UndoChar_232 = undoChar[232]; + UndoChar_233 = undoChar[233]; + UndoChar_234 = undoChar[234]; + UndoChar_235 = undoChar[235]; + UndoChar_236 = undoChar[236]; + UndoChar_237 = undoChar[237]; + UndoChar_238 = undoChar[238]; + UndoChar_239 = undoChar[239]; + UndoChar_240 = undoChar[240]; + UndoChar_241 = undoChar[241]; + UndoChar_242 = undoChar[242]; + UndoChar_243 = undoChar[243]; + UndoChar_244 = undoChar[244]; + UndoChar_245 = undoChar[245]; + UndoChar_246 = undoChar[246]; + UndoChar_247 = undoChar[247]; + UndoChar_248 = undoChar[248]; + UndoChar_249 = undoChar[249]; + UndoChar_250 = undoChar[250]; + UndoChar_251 = undoChar[251]; + UndoChar_252 = undoChar[252]; + UndoChar_253 = undoChar[253]; + UndoChar_254 = undoChar[254]; + UndoChar_255 = undoChar[255]; + UndoChar_256 = undoChar[256]; + UndoChar_257 = undoChar[257]; + UndoChar_258 = undoChar[258]; + UndoChar_259 = undoChar[259]; + UndoChar_260 = undoChar[260]; + UndoChar_261 = undoChar[261]; + UndoChar_262 = undoChar[262]; + UndoChar_263 = undoChar[263]; + UndoChar_264 = undoChar[264]; + UndoChar_265 = undoChar[265]; + UndoChar_266 = undoChar[266]; + UndoChar_267 = undoChar[267]; + UndoChar_268 = undoChar[268]; + UndoChar_269 = undoChar[269]; + UndoChar_270 = undoChar[270]; + UndoChar_271 = undoChar[271]; + UndoChar_272 = undoChar[272]; + UndoChar_273 = undoChar[273]; + UndoChar_274 = undoChar[274]; + UndoChar_275 = undoChar[275]; + UndoChar_276 = undoChar[276]; + UndoChar_277 = undoChar[277]; + UndoChar_278 = undoChar[278]; + UndoChar_279 = undoChar[279]; + UndoChar_280 = undoChar[280]; + UndoChar_281 = undoChar[281]; + UndoChar_282 = undoChar[282]; + UndoChar_283 = undoChar[283]; + UndoChar_284 = undoChar[284]; + UndoChar_285 = undoChar[285]; + UndoChar_286 = undoChar[286]; + UndoChar_287 = undoChar[287]; + UndoChar_288 = undoChar[288]; + UndoChar_289 = undoChar[289]; + UndoChar_290 = undoChar[290]; + UndoChar_291 = undoChar[291]; + UndoChar_292 = undoChar[292]; + UndoChar_293 = undoChar[293]; + UndoChar_294 = undoChar[294]; + UndoChar_295 = undoChar[295]; + UndoChar_296 = undoChar[296]; + UndoChar_297 = undoChar[297]; + UndoChar_298 = undoChar[298]; + UndoChar_299 = undoChar[299]; + UndoChar_300 = undoChar[300]; + UndoChar_301 = undoChar[301]; + UndoChar_302 = undoChar[302]; + UndoChar_303 = undoChar[303]; + UndoChar_304 = undoChar[304]; + UndoChar_305 = undoChar[305]; + UndoChar_306 = undoChar[306]; + UndoChar_307 = undoChar[307]; + UndoChar_308 = undoChar[308]; + UndoChar_309 = undoChar[309]; + UndoChar_310 = undoChar[310]; + UndoChar_311 = undoChar[311]; + UndoChar_312 = undoChar[312]; + UndoChar_313 = undoChar[313]; + UndoChar_314 = undoChar[314]; + UndoChar_315 = undoChar[315]; + UndoChar_316 = undoChar[316]; + UndoChar_317 = undoChar[317]; + UndoChar_318 = undoChar[318]; + UndoChar_319 = undoChar[319]; + UndoChar_320 = undoChar[320]; + UndoChar_321 = undoChar[321]; + UndoChar_322 = undoChar[322]; + UndoChar_323 = undoChar[323]; + UndoChar_324 = undoChar[324]; + UndoChar_325 = undoChar[325]; + UndoChar_326 = undoChar[326]; + UndoChar_327 = undoChar[327]; + UndoChar_328 = undoChar[328]; + UndoChar_329 = undoChar[329]; + UndoChar_330 = undoChar[330]; + UndoChar_331 = undoChar[331]; + UndoChar_332 = undoChar[332]; + UndoChar_333 = undoChar[333]; + UndoChar_334 = undoChar[334]; + UndoChar_335 = undoChar[335]; + UndoChar_336 = undoChar[336]; + UndoChar_337 = undoChar[337]; + UndoChar_338 = undoChar[338]; + UndoChar_339 = undoChar[339]; + UndoChar_340 = undoChar[340]; + UndoChar_341 = undoChar[341]; + UndoChar_342 = undoChar[342]; + UndoChar_343 = undoChar[343]; + UndoChar_344 = undoChar[344]; + UndoChar_345 = undoChar[345]; + UndoChar_346 = undoChar[346]; + UndoChar_347 = undoChar[347]; + UndoChar_348 = undoChar[348]; + UndoChar_349 = undoChar[349]; + UndoChar_350 = undoChar[350]; + UndoChar_351 = undoChar[351]; + UndoChar_352 = undoChar[352]; + UndoChar_353 = undoChar[353]; + UndoChar_354 = undoChar[354]; + UndoChar_355 = undoChar[355]; + UndoChar_356 = undoChar[356]; + UndoChar_357 = undoChar[357]; + UndoChar_358 = undoChar[358]; + UndoChar_359 = undoChar[359]; + UndoChar_360 = undoChar[360]; + UndoChar_361 = undoChar[361]; + UndoChar_362 = undoChar[362]; + UndoChar_363 = undoChar[363]; + UndoChar_364 = undoChar[364]; + UndoChar_365 = undoChar[365]; + UndoChar_366 = undoChar[366]; + UndoChar_367 = undoChar[367]; + UndoChar_368 = undoChar[368]; + UndoChar_369 = undoChar[369]; + UndoChar_370 = undoChar[370]; + UndoChar_371 = undoChar[371]; + UndoChar_372 = undoChar[372]; + UndoChar_373 = undoChar[373]; + UndoChar_374 = undoChar[374]; + UndoChar_375 = undoChar[375]; + UndoChar_376 = undoChar[376]; + UndoChar_377 = undoChar[377]; + UndoChar_378 = undoChar[378]; + UndoChar_379 = undoChar[379]; + UndoChar_380 = undoChar[380]; + UndoChar_381 = undoChar[381]; + UndoChar_382 = undoChar[382]; + UndoChar_383 = undoChar[383]; + UndoChar_384 = undoChar[384]; + UndoChar_385 = undoChar[385]; + UndoChar_386 = undoChar[386]; + UndoChar_387 = undoChar[387]; + UndoChar_388 = undoChar[388]; + UndoChar_389 = undoChar[389]; + UndoChar_390 = undoChar[390]; + UndoChar_391 = undoChar[391]; + UndoChar_392 = undoChar[392]; + UndoChar_393 = undoChar[393]; + UndoChar_394 = undoChar[394]; + UndoChar_395 = undoChar[395]; + UndoChar_396 = undoChar[396]; + UndoChar_397 = undoChar[397]; + UndoChar_398 = undoChar[398]; + UndoChar_399 = undoChar[399]; + UndoChar_400 = undoChar[400]; + UndoChar_401 = undoChar[401]; + UndoChar_402 = undoChar[402]; + UndoChar_403 = undoChar[403]; + UndoChar_404 = undoChar[404]; + UndoChar_405 = undoChar[405]; + UndoChar_406 = undoChar[406]; + UndoChar_407 = undoChar[407]; + UndoChar_408 = undoChar[408]; + UndoChar_409 = undoChar[409]; + UndoChar_410 = undoChar[410]; + UndoChar_411 = undoChar[411]; + UndoChar_412 = undoChar[412]; + UndoChar_413 = undoChar[413]; + UndoChar_414 = undoChar[414]; + UndoChar_415 = undoChar[415]; + UndoChar_416 = undoChar[416]; + UndoChar_417 = undoChar[417]; + UndoChar_418 = undoChar[418]; + UndoChar_419 = undoChar[419]; + UndoChar_420 = undoChar[420]; + UndoChar_421 = undoChar[421]; + UndoChar_422 = undoChar[422]; + UndoChar_423 = undoChar[423]; + UndoChar_424 = undoChar[424]; + UndoChar_425 = undoChar[425]; + UndoChar_426 = undoChar[426]; + UndoChar_427 = undoChar[427]; + UndoChar_428 = undoChar[428]; + UndoChar_429 = undoChar[429]; + UndoChar_430 = undoChar[430]; + UndoChar_431 = undoChar[431]; + UndoChar_432 = undoChar[432]; + UndoChar_433 = undoChar[433]; + UndoChar_434 = undoChar[434]; + UndoChar_435 = undoChar[435]; + UndoChar_436 = undoChar[436]; + UndoChar_437 = undoChar[437]; + UndoChar_438 = undoChar[438]; + UndoChar_439 = undoChar[439]; + UndoChar_440 = undoChar[440]; + UndoChar_441 = undoChar[441]; + UndoChar_442 = undoChar[442]; + UndoChar_443 = undoChar[443]; + UndoChar_444 = undoChar[444]; + UndoChar_445 = undoChar[445]; + UndoChar_446 = undoChar[446]; + UndoChar_447 = undoChar[447]; + UndoChar_448 = undoChar[448]; + UndoChar_449 = undoChar[449]; + UndoChar_450 = undoChar[450]; + UndoChar_451 = undoChar[451]; + UndoChar_452 = undoChar[452]; + UndoChar_453 = undoChar[453]; + UndoChar_454 = undoChar[454]; + UndoChar_455 = undoChar[455]; + UndoChar_456 = undoChar[456]; + UndoChar_457 = undoChar[457]; + UndoChar_458 = undoChar[458]; + UndoChar_459 = undoChar[459]; + UndoChar_460 = undoChar[460]; + UndoChar_461 = undoChar[461]; + UndoChar_462 = undoChar[462]; + UndoChar_463 = undoChar[463]; + UndoChar_464 = undoChar[464]; + UndoChar_465 = undoChar[465]; + UndoChar_466 = undoChar[466]; + UndoChar_467 = undoChar[467]; + UndoChar_468 = undoChar[468]; + UndoChar_469 = undoChar[469]; + UndoChar_470 = undoChar[470]; + UndoChar_471 = undoChar[471]; + UndoChar_472 = undoChar[472]; + UndoChar_473 = undoChar[473]; + UndoChar_474 = undoChar[474]; + UndoChar_475 = undoChar[475]; + UndoChar_476 = undoChar[476]; + UndoChar_477 = undoChar[477]; + UndoChar_478 = undoChar[478]; + UndoChar_479 = undoChar[479]; + UndoChar_480 = undoChar[480]; + UndoChar_481 = undoChar[481]; + UndoChar_482 = undoChar[482]; + UndoChar_483 = undoChar[483]; + UndoChar_484 = undoChar[484]; + UndoChar_485 = undoChar[485]; + UndoChar_486 = undoChar[486]; + UndoChar_487 = undoChar[487]; + UndoChar_488 = undoChar[488]; + UndoChar_489 = undoChar[489]; + UndoChar_490 = undoChar[490]; + UndoChar_491 = undoChar[491]; + UndoChar_492 = undoChar[492]; + UndoChar_493 = undoChar[493]; + UndoChar_494 = undoChar[494]; + UndoChar_495 = undoChar[495]; + UndoChar_496 = undoChar[496]; + UndoChar_497 = undoChar[497]; + UndoChar_498 = undoChar[498]; + UndoChar_499 = undoChar[499]; + UndoChar_500 = undoChar[500]; + UndoChar_501 = undoChar[501]; + UndoChar_502 = undoChar[502]; + UndoChar_503 = undoChar[503]; + UndoChar_504 = undoChar[504]; + UndoChar_505 = undoChar[505]; + UndoChar_506 = undoChar[506]; + UndoChar_507 = undoChar[507]; + UndoChar_508 = undoChar[508]; + UndoChar_509 = undoChar[509]; + UndoChar_510 = undoChar[510]; + UndoChar_511 = undoChar[511]; + UndoChar_512 = undoChar[512]; + UndoChar_513 = undoChar[513]; + UndoChar_514 = undoChar[514]; + UndoChar_515 = undoChar[515]; + UndoChar_516 = undoChar[516]; + UndoChar_517 = undoChar[517]; + UndoChar_518 = undoChar[518]; + UndoChar_519 = undoChar[519]; + UndoChar_520 = undoChar[520]; + UndoChar_521 = undoChar[521]; + UndoChar_522 = undoChar[522]; + UndoChar_523 = undoChar[523]; + UndoChar_524 = undoChar[524]; + UndoChar_525 = undoChar[525]; + UndoChar_526 = undoChar[526]; + UndoChar_527 = undoChar[527]; + UndoChar_528 = undoChar[528]; + UndoChar_529 = undoChar[529]; + UndoChar_530 = undoChar[530]; + UndoChar_531 = undoChar[531]; + UndoChar_532 = undoChar[532]; + UndoChar_533 = undoChar[533]; + UndoChar_534 = undoChar[534]; + UndoChar_535 = undoChar[535]; + UndoChar_536 = undoChar[536]; + UndoChar_537 = undoChar[537]; + UndoChar_538 = undoChar[538]; + UndoChar_539 = undoChar[539]; + UndoChar_540 = undoChar[540]; + UndoChar_541 = undoChar[541]; + UndoChar_542 = undoChar[542]; + UndoChar_543 = undoChar[543]; + UndoChar_544 = undoChar[544]; + UndoChar_545 = undoChar[545]; + UndoChar_546 = undoChar[546]; + UndoChar_547 = undoChar[547]; + UndoChar_548 = undoChar[548]; + UndoChar_549 = undoChar[549]; + UndoChar_550 = undoChar[550]; + UndoChar_551 = undoChar[551]; + UndoChar_552 = undoChar[552]; + UndoChar_553 = undoChar[553]; + UndoChar_554 = undoChar[554]; + UndoChar_555 = undoChar[555]; + UndoChar_556 = undoChar[556]; + UndoChar_557 = undoChar[557]; + UndoChar_558 = undoChar[558]; + UndoChar_559 = undoChar[559]; + UndoChar_560 = undoChar[560]; + UndoChar_561 = undoChar[561]; + UndoChar_562 = undoChar[562]; + UndoChar_563 = undoChar[563]; + UndoChar_564 = undoChar[564]; + UndoChar_565 = undoChar[565]; + UndoChar_566 = undoChar[566]; + UndoChar_567 = undoChar[567]; + UndoChar_568 = undoChar[568]; + UndoChar_569 = undoChar[569]; + UndoChar_570 = undoChar[570]; + UndoChar_571 = undoChar[571]; + UndoChar_572 = undoChar[572]; + UndoChar_573 = undoChar[573]; + UndoChar_574 = undoChar[574]; + UndoChar_575 = undoChar[575]; + UndoChar_576 = undoChar[576]; + UndoChar_577 = undoChar[577]; + UndoChar_578 = undoChar[578]; + UndoChar_579 = undoChar[579]; + UndoChar_580 = undoChar[580]; + UndoChar_581 = undoChar[581]; + UndoChar_582 = undoChar[582]; + UndoChar_583 = undoChar[583]; + UndoChar_584 = undoChar[584]; + UndoChar_585 = undoChar[585]; + UndoChar_586 = undoChar[586]; + UndoChar_587 = undoChar[587]; + UndoChar_588 = undoChar[588]; + UndoChar_589 = undoChar[589]; + UndoChar_590 = undoChar[590]; + UndoChar_591 = undoChar[591]; + UndoChar_592 = undoChar[592]; + UndoChar_593 = undoChar[593]; + UndoChar_594 = undoChar[594]; + UndoChar_595 = undoChar[595]; + UndoChar_596 = undoChar[596]; + UndoChar_597 = undoChar[597]; + UndoChar_598 = undoChar[598]; + UndoChar_599 = undoChar[599]; + UndoChar_600 = undoChar[600]; + UndoChar_601 = undoChar[601]; + UndoChar_602 = undoChar[602]; + UndoChar_603 = undoChar[603]; + UndoChar_604 = undoChar[604]; + UndoChar_605 = undoChar[605]; + UndoChar_606 = undoChar[606]; + UndoChar_607 = undoChar[607]; + UndoChar_608 = undoChar[608]; + UndoChar_609 = undoChar[609]; + UndoChar_610 = undoChar[610]; + UndoChar_611 = undoChar[611]; + UndoChar_612 = undoChar[612]; + UndoChar_613 = undoChar[613]; + UndoChar_614 = undoChar[614]; + UndoChar_615 = undoChar[615]; + UndoChar_616 = undoChar[616]; + UndoChar_617 = undoChar[617]; + UndoChar_618 = undoChar[618]; + UndoChar_619 = undoChar[619]; + UndoChar_620 = undoChar[620]; + UndoChar_621 = undoChar[621]; + UndoChar_622 = undoChar[622]; + UndoChar_623 = undoChar[623]; + UndoChar_624 = undoChar[624]; + UndoChar_625 = undoChar[625]; + UndoChar_626 = undoChar[626]; + UndoChar_627 = undoChar[627]; + UndoChar_628 = undoChar[628]; + UndoChar_629 = undoChar[629]; + UndoChar_630 = undoChar[630]; + UndoChar_631 = undoChar[631]; + UndoChar_632 = undoChar[632]; + UndoChar_633 = undoChar[633]; + UndoChar_634 = undoChar[634]; + UndoChar_635 = undoChar[635]; + UndoChar_636 = undoChar[636]; + UndoChar_637 = undoChar[637]; + UndoChar_638 = undoChar[638]; + UndoChar_639 = undoChar[639]; + UndoChar_640 = undoChar[640]; + UndoChar_641 = undoChar[641]; + UndoChar_642 = undoChar[642]; + UndoChar_643 = undoChar[643]; + UndoChar_644 = undoChar[644]; + UndoChar_645 = undoChar[645]; + UndoChar_646 = undoChar[646]; + UndoChar_647 = undoChar[647]; + UndoChar_648 = undoChar[648]; + UndoChar_649 = undoChar[649]; + UndoChar_650 = undoChar[650]; + UndoChar_651 = undoChar[651]; + UndoChar_652 = undoChar[652]; + UndoChar_653 = undoChar[653]; + UndoChar_654 = undoChar[654]; + UndoChar_655 = undoChar[655]; + UndoChar_656 = undoChar[656]; + UndoChar_657 = undoChar[657]; + UndoChar_658 = undoChar[658]; + UndoChar_659 = undoChar[659]; + UndoChar_660 = undoChar[660]; + UndoChar_661 = undoChar[661]; + UndoChar_662 = undoChar[662]; + UndoChar_663 = undoChar[663]; + UndoChar_664 = undoChar[664]; + UndoChar_665 = undoChar[665]; + UndoChar_666 = undoChar[666]; + UndoChar_667 = undoChar[667]; + UndoChar_668 = undoChar[668]; + UndoChar_669 = undoChar[669]; + UndoChar_670 = undoChar[670]; + UndoChar_671 = undoChar[671]; + UndoChar_672 = undoChar[672]; + UndoChar_673 = undoChar[673]; + UndoChar_674 = undoChar[674]; + UndoChar_675 = undoChar[675]; + UndoChar_676 = undoChar[676]; + UndoChar_677 = undoChar[677]; + UndoChar_678 = undoChar[678]; + UndoChar_679 = undoChar[679]; + UndoChar_680 = undoChar[680]; + UndoChar_681 = undoChar[681]; + UndoChar_682 = undoChar[682]; + UndoChar_683 = undoChar[683]; + UndoChar_684 = undoChar[684]; + UndoChar_685 = undoChar[685]; + UndoChar_686 = undoChar[686]; + UndoChar_687 = undoChar[687]; + UndoChar_688 = undoChar[688]; + UndoChar_689 = undoChar[689]; + UndoChar_690 = undoChar[690]; + UndoChar_691 = undoChar[691]; + UndoChar_692 = undoChar[692]; + UndoChar_693 = undoChar[693]; + UndoChar_694 = undoChar[694]; + UndoChar_695 = undoChar[695]; + UndoChar_696 = undoChar[696]; + UndoChar_697 = undoChar[697]; + UndoChar_698 = undoChar[698]; + UndoChar_699 = undoChar[699]; + UndoChar_700 = undoChar[700]; + UndoChar_701 = undoChar[701]; + UndoChar_702 = undoChar[702]; + UndoChar_703 = undoChar[703]; + UndoChar_704 = undoChar[704]; + UndoChar_705 = undoChar[705]; + UndoChar_706 = undoChar[706]; + UndoChar_707 = undoChar[707]; + UndoChar_708 = undoChar[708]; + UndoChar_709 = undoChar[709]; + UndoChar_710 = undoChar[710]; + UndoChar_711 = undoChar[711]; + UndoChar_712 = undoChar[712]; + UndoChar_713 = undoChar[713]; + UndoChar_714 = undoChar[714]; + UndoChar_715 = undoChar[715]; + UndoChar_716 = undoChar[716]; + UndoChar_717 = undoChar[717]; + UndoChar_718 = undoChar[718]; + UndoChar_719 = undoChar[719]; + UndoChar_720 = undoChar[720]; + UndoChar_721 = undoChar[721]; + UndoChar_722 = undoChar[722]; + UndoChar_723 = undoChar[723]; + UndoChar_724 = undoChar[724]; + UndoChar_725 = undoChar[725]; + UndoChar_726 = undoChar[726]; + UndoChar_727 = undoChar[727]; + UndoChar_728 = undoChar[728]; + UndoChar_729 = undoChar[729]; + UndoChar_730 = undoChar[730]; + UndoChar_731 = undoChar[731]; + UndoChar_732 = undoChar[732]; + UndoChar_733 = undoChar[733]; + UndoChar_734 = undoChar[734]; + UndoChar_735 = undoChar[735]; + UndoChar_736 = undoChar[736]; + UndoChar_737 = undoChar[737]; + UndoChar_738 = undoChar[738]; + UndoChar_739 = undoChar[739]; + UndoChar_740 = undoChar[740]; + UndoChar_741 = undoChar[741]; + UndoChar_742 = undoChar[742]; + UndoChar_743 = undoChar[743]; + UndoChar_744 = undoChar[744]; + UndoChar_745 = undoChar[745]; + UndoChar_746 = undoChar[746]; + UndoChar_747 = undoChar[747]; + UndoChar_748 = undoChar[748]; + UndoChar_749 = undoChar[749]; + UndoChar_750 = undoChar[750]; + UndoChar_751 = undoChar[751]; + UndoChar_752 = undoChar[752]; + UndoChar_753 = undoChar[753]; + UndoChar_754 = undoChar[754]; + UndoChar_755 = undoChar[755]; + UndoChar_756 = undoChar[756]; + UndoChar_757 = undoChar[757]; + UndoChar_758 = undoChar[758]; + UndoChar_759 = undoChar[759]; + UndoChar_760 = undoChar[760]; + UndoChar_761 = undoChar[761]; + UndoChar_762 = undoChar[762]; + UndoChar_763 = undoChar[763]; + UndoChar_764 = undoChar[764]; + UndoChar_765 = undoChar[765]; + UndoChar_766 = undoChar[766]; + UndoChar_767 = undoChar[767]; + UndoChar_768 = undoChar[768]; + UndoChar_769 = undoChar[769]; + UndoChar_770 = undoChar[770]; + UndoChar_771 = undoChar[771]; + UndoChar_772 = undoChar[772]; + UndoChar_773 = undoChar[773]; + UndoChar_774 = undoChar[774]; + UndoChar_775 = undoChar[775]; + UndoChar_776 = undoChar[776]; + UndoChar_777 = undoChar[777]; + UndoChar_778 = undoChar[778]; + UndoChar_779 = undoChar[779]; + UndoChar_780 = undoChar[780]; + UndoChar_781 = undoChar[781]; + UndoChar_782 = undoChar[782]; + UndoChar_783 = undoChar[783]; + UndoChar_784 = undoChar[784]; + UndoChar_785 = undoChar[785]; + UndoChar_786 = undoChar[786]; + UndoChar_787 = undoChar[787]; + UndoChar_788 = undoChar[788]; + UndoChar_789 = undoChar[789]; + UndoChar_790 = undoChar[790]; + UndoChar_791 = undoChar[791]; + UndoChar_792 = undoChar[792]; + UndoChar_793 = undoChar[793]; + UndoChar_794 = undoChar[794]; + UndoChar_795 = undoChar[795]; + UndoChar_796 = undoChar[796]; + UndoChar_797 = undoChar[797]; + UndoChar_798 = undoChar[798]; + UndoChar_799 = undoChar[799]; + UndoChar_800 = undoChar[800]; + UndoChar_801 = undoChar[801]; + UndoChar_802 = undoChar[802]; + UndoChar_803 = undoChar[803]; + UndoChar_804 = undoChar[804]; + UndoChar_805 = undoChar[805]; + UndoChar_806 = undoChar[806]; + UndoChar_807 = undoChar[807]; + UndoChar_808 = undoChar[808]; + UndoChar_809 = undoChar[809]; + UndoChar_810 = undoChar[810]; + UndoChar_811 = undoChar[811]; + UndoChar_812 = undoChar[812]; + UndoChar_813 = undoChar[813]; + UndoChar_814 = undoChar[814]; + UndoChar_815 = undoChar[815]; + UndoChar_816 = undoChar[816]; + UndoChar_817 = undoChar[817]; + UndoChar_818 = undoChar[818]; + UndoChar_819 = undoChar[819]; + UndoChar_820 = undoChar[820]; + UndoChar_821 = undoChar[821]; + UndoChar_822 = undoChar[822]; + UndoChar_823 = undoChar[823]; + UndoChar_824 = undoChar[824]; + UndoChar_825 = undoChar[825]; + UndoChar_826 = undoChar[826]; + UndoChar_827 = undoChar[827]; + UndoChar_828 = undoChar[828]; + UndoChar_829 = undoChar[829]; + UndoChar_830 = undoChar[830]; + UndoChar_831 = undoChar[831]; + UndoChar_832 = undoChar[832]; + UndoChar_833 = undoChar[833]; + UndoChar_834 = undoChar[834]; + UndoChar_835 = undoChar[835]; + UndoChar_836 = undoChar[836]; + UndoChar_837 = undoChar[837]; + UndoChar_838 = undoChar[838]; + UndoChar_839 = undoChar[839]; + UndoChar_840 = undoChar[840]; + UndoChar_841 = undoChar[841]; + UndoChar_842 = undoChar[842]; + UndoChar_843 = undoChar[843]; + UndoChar_844 = undoChar[844]; + UndoChar_845 = undoChar[845]; + UndoChar_846 = undoChar[846]; + UndoChar_847 = undoChar[847]; + UndoChar_848 = undoChar[848]; + UndoChar_849 = undoChar[849]; + UndoChar_850 = undoChar[850]; + UndoChar_851 = undoChar[851]; + UndoChar_852 = undoChar[852]; + UndoChar_853 = undoChar[853]; + UndoChar_854 = undoChar[854]; + UndoChar_855 = undoChar[855]; + UndoChar_856 = undoChar[856]; + UndoChar_857 = undoChar[857]; + UndoChar_858 = undoChar[858]; + UndoChar_859 = undoChar[859]; + UndoChar_860 = undoChar[860]; + UndoChar_861 = undoChar[861]; + UndoChar_862 = undoChar[862]; + UndoChar_863 = undoChar[863]; + UndoChar_864 = undoChar[864]; + UndoChar_865 = undoChar[865]; + UndoChar_866 = undoChar[866]; + UndoChar_867 = undoChar[867]; + UndoChar_868 = undoChar[868]; + UndoChar_869 = undoChar[869]; + UndoChar_870 = undoChar[870]; + UndoChar_871 = undoChar[871]; + UndoChar_872 = undoChar[872]; + UndoChar_873 = undoChar[873]; + UndoChar_874 = undoChar[874]; + UndoChar_875 = undoChar[875]; + UndoChar_876 = undoChar[876]; + UndoChar_877 = undoChar[877]; + UndoChar_878 = undoChar[878]; + UndoChar_879 = undoChar[879]; + UndoChar_880 = undoChar[880]; + UndoChar_881 = undoChar[881]; + UndoChar_882 = undoChar[882]; + UndoChar_883 = undoChar[883]; + UndoChar_884 = undoChar[884]; + UndoChar_885 = undoChar[885]; + UndoChar_886 = undoChar[886]; + UndoChar_887 = undoChar[887]; + UndoChar_888 = undoChar[888]; + UndoChar_889 = undoChar[889]; + UndoChar_890 = undoChar[890]; + UndoChar_891 = undoChar[891]; + UndoChar_892 = undoChar[892]; + UndoChar_893 = undoChar[893]; + UndoChar_894 = undoChar[894]; + UndoChar_895 = undoChar[895]; + UndoChar_896 = undoChar[896]; + UndoChar_897 = undoChar[897]; + UndoChar_898 = undoChar[898]; + UndoChar_899 = undoChar[899]; + UndoChar_900 = undoChar[900]; + UndoChar_901 = undoChar[901]; + UndoChar_902 = undoChar[902]; + UndoChar_903 = undoChar[903]; + UndoChar_904 = undoChar[904]; + UndoChar_905 = undoChar[905]; + UndoChar_906 = undoChar[906]; + UndoChar_907 = undoChar[907]; + UndoChar_908 = undoChar[908]; + UndoChar_909 = undoChar[909]; + UndoChar_910 = undoChar[910]; + UndoChar_911 = undoChar[911]; + UndoChar_912 = undoChar[912]; + UndoChar_913 = undoChar[913]; + UndoChar_914 = undoChar[914]; + UndoChar_915 = undoChar[915]; + UndoChar_916 = undoChar[916]; + UndoChar_917 = undoChar[917]; + UndoChar_918 = undoChar[918]; + UndoChar_919 = undoChar[919]; + UndoChar_920 = undoChar[920]; + UndoChar_921 = undoChar[921]; + UndoChar_922 = undoChar[922]; + UndoChar_923 = undoChar[923]; + UndoChar_924 = undoChar[924]; + UndoChar_925 = undoChar[925]; + UndoChar_926 = undoChar[926]; + UndoChar_927 = undoChar[927]; + UndoChar_928 = undoChar[928]; + UndoChar_929 = undoChar[929]; + UndoChar_930 = undoChar[930]; + UndoChar_931 = undoChar[931]; + UndoChar_932 = undoChar[932]; + UndoChar_933 = undoChar[933]; + UndoChar_934 = undoChar[934]; + UndoChar_935 = undoChar[935]; + UndoChar_936 = undoChar[936]; + UndoChar_937 = undoChar[937]; + UndoChar_938 = undoChar[938]; + UndoChar_939 = undoChar[939]; + UndoChar_940 = undoChar[940]; + UndoChar_941 = undoChar[941]; + UndoChar_942 = undoChar[942]; + UndoChar_943 = undoChar[943]; + UndoChar_944 = undoChar[944]; + UndoChar_945 = undoChar[945]; + UndoChar_946 = undoChar[946]; + UndoChar_947 = undoChar[947]; + UndoChar_948 = undoChar[948]; + UndoChar_949 = undoChar[949]; + UndoChar_950 = undoChar[950]; + UndoChar_951 = undoChar[951]; + UndoChar_952 = undoChar[952]; + UndoChar_953 = undoChar[953]; + UndoChar_954 = undoChar[954]; + UndoChar_955 = undoChar[955]; + UndoChar_956 = undoChar[956]; + UndoChar_957 = undoChar[957]; + UndoChar_958 = undoChar[958]; + UndoChar_959 = undoChar[959]; + UndoChar_960 = undoChar[960]; + UndoChar_961 = undoChar[961]; + UndoChar_962 = undoChar[962]; + UndoChar_963 = undoChar[963]; + UndoChar_964 = undoChar[964]; + UndoChar_965 = undoChar[965]; + UndoChar_966 = undoChar[966]; + UndoChar_967 = undoChar[967]; + UndoChar_968 = undoChar[968]; + UndoChar_969 = undoChar[969]; + UndoChar_970 = undoChar[970]; + UndoChar_971 = undoChar[971]; + UndoChar_972 = undoChar[972]; + UndoChar_973 = undoChar[973]; + UndoChar_974 = undoChar[974]; + UndoChar_975 = undoChar[975]; + UndoChar_976 = undoChar[976]; + UndoChar_977 = undoChar[977]; + UndoChar_978 = undoChar[978]; + UndoChar_979 = undoChar[979]; + UndoChar_980 = undoChar[980]; + UndoChar_981 = undoChar[981]; + UndoChar_982 = undoChar[982]; + UndoChar_983 = undoChar[983]; + UndoChar_984 = undoChar[984]; + UndoChar_985 = undoChar[985]; + UndoChar_986 = undoChar[986]; + UndoChar_987 = undoChar[987]; + UndoChar_988 = undoChar[988]; + UndoChar_989 = undoChar[989]; + UndoChar_990 = undoChar[990]; + UndoChar_991 = undoChar[991]; + UndoChar_992 = undoChar[992]; + UndoChar_993 = undoChar[993]; + UndoChar_994 = undoChar[994]; + UndoChar_995 = undoChar[995]; + UndoChar_996 = undoChar[996]; + UndoChar_997 = undoChar[997]; + UndoChar_998 = undoChar[998]; + } + UndoPoint = undoPoint; + RedoPoint = redoPoint; + UndoCharPoint = undoCharPoint; + RedoCharPoint = redoCharPoint; + } + + + /// + /// To be documented. + /// + public unsafe Span UndoRec + + { + get + { + fixed (StbUndoRecord* p = &this.UndoRec_0) + { + return new Span(p, 99); + } + } + } + } + +} diff --git a/imgui/Dalamud.ImGui/Generated/Structs/StbttPackContext.cs b/imgui/Dalamud.ImGui/Generated/Structs/StbttPackContext.cs new file mode 100644 index 000000000..2bd237867 --- /dev/null +++ b/imgui/Dalamud.ImGui/Generated/Structs/StbttPackContext.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct StbttPackContext + { + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct StbttPackContextPtr : IEquatable + { + public StbttPackContextPtr(StbttPackContext* handle) { Handle = handle; } + + public StbttPackContext* Handle; + + public bool IsNull => Handle == null; + + public static StbttPackContextPtr Null => new StbttPackContextPtr(null); + + public StbttPackContext this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator StbttPackContextPtr(StbttPackContext* handle) => new StbttPackContextPtr(handle); + + public static implicit operator StbttPackContext*(StbttPackContextPtr handle) => handle.Handle; + + public static bool operator ==(StbttPackContextPtr left, StbttPackContextPtr right) => left.Handle == right.Handle; + + public static bool operator !=(StbttPackContextPtr left, StbttPackContextPtr right) => left.Handle != right.Handle; + + public static bool operator ==(StbttPackContextPtr left, StbttPackContext* right) => left.Handle == right; + + public static bool operator !=(StbttPackContextPtr left, StbttPackContext* right) => left.Handle != right; + + public bool Equals(StbttPackContextPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is StbttPackContextPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("StbttPackContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + } + +} diff --git a/imgui/Dalamud.ImGuizmo/Generated/Constants/Constants.000.cs b/imgui/Dalamud.ImGuizmo/Generated/Constants/Constants.000.cs new file mode 100644 index 000000000..b9dc65c06 --- /dev/null +++ b/imgui/Dalamud.ImGuizmo/Generated/Constants/Constants.000.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImGuizmo +{ + public unsafe partial class ImGuizmo + { + } +} diff --git a/imgui/Dalamud.ImGuizmo/Generated/Delegates/Delegates.000.cs b/imgui/Dalamud.ImGuizmo/Generated/Delegates/Delegates.000.cs new file mode 100644 index 000000000..2e0866799 --- /dev/null +++ b/imgui/Dalamud.ImGuizmo/Generated/Delegates/Delegates.000.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImGuizmo +{ +} diff --git a/imgui/Dalamud.ImGuizmo/Generated/Enums/ImGuizmoMode.cs b/imgui/Dalamud.ImGuizmo/Generated/Enums/ImGuizmoMode.cs new file mode 100644 index 000000000..e76e5d5d6 --- /dev/null +++ b/imgui/Dalamud.ImGuizmo/Generated/Enums/ImGuizmoMode.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImGuizmo +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuizmoMode : int + { + /// + /// To be documented. + /// + Local = unchecked(0), + + /// + /// To be documented. + /// + World = unchecked(1), + } +} diff --git a/imgui/Dalamud.ImGuizmo/Generated/Enums/ImGuizmoOperation.cs b/imgui/Dalamud.ImGuizmo/Generated/Enums/ImGuizmoOperation.cs new file mode 100644 index 000000000..5d5b65fff --- /dev/null +++ b/imgui/Dalamud.ImGuizmo/Generated/Enums/ImGuizmoOperation.cs @@ -0,0 +1,118 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImGuizmo +{ + /// + /// To be documented. + /// + [Flags] + public enum ImGuizmoOperation : int + { + /// + /// To be documented. + /// + TranslateX = unchecked((int)(1U<<0)), + + /// + /// To be documented. + /// + TranslateY = unchecked((int)(1U<<1)), + + /// + /// To be documented. + /// + TranslateZ = unchecked((int)(1U<<2)), + + /// + /// To be documented. + /// + RotateX = unchecked((int)(1U<<3)), + + /// + /// To be documented. + /// + RotateY = unchecked((int)(1U<<4)), + + /// + /// To be documented. + /// + RotateZ = unchecked((int)(1U<<5)), + + /// + /// To be documented. + /// + RotateScreen = unchecked((int)(1U<<6)), + + /// + /// To be documented. + /// + ScaleX = unchecked((int)(1U<<7)), + + /// + /// To be documented. + /// + ScaleY = unchecked((int)(1U<<8)), + + /// + /// To be documented. + /// + ScaleZ = unchecked((int)(1U<<9)), + + /// + /// To be documented. + /// + Bounds = unchecked((int)(1U<<10)), + + /// + /// To be documented. + /// + ScaleXu = unchecked((int)(1U<<11)), + + /// + /// To be documented. + /// + ScaleYu = unchecked((int)(1U<<12)), + + /// + /// To be documented. + /// + ScaleZu = unchecked((int)(1U<<13)), + + /// + /// To be documented. + /// + Translate = unchecked(7), + + /// + /// To be documented. + /// + Rotate = unchecked(120), + + /// + /// To be documented. + /// + Scale = unchecked(896), + + /// + /// To be documented. + /// + Scaleu = unchecked(14336), + + /// + /// To be documented. + /// + Universal = unchecked(14463), + } +} diff --git a/imgui/Dalamud.ImGuizmo/Generated/FunctionTable.cs b/imgui/Dalamud.ImGuizmo/Generated/FunctionTable.cs new file mode 100644 index 000000000..6ac542095 --- /dev/null +++ b/imgui/Dalamud.ImGuizmo/Generated/FunctionTable.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// 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.ImGuizmo +{ + public unsafe partial class ImGuizmo + { + internal static FunctionTable funcTable; + + /// + /// Initializes the function table, automatically called. Do not call manually, only after . + /// + public static void InitApi(INativeContext context) + { + funcTable = new FunctionTable(context, 19); + funcTable.Load(0, "ImGuizmo_SetDrawlist"); + funcTable.Load(1, "ImGuizmo_BeginFrame"); + funcTable.Load(2, "ImGuizmo_SetImGuiContext"); + funcTable.Load(3, "ImGuizmo_IsOver_Nil"); + funcTable.Load(4, "ImGuizmo_IsUsing"); + funcTable.Load(5, "ImGuizmo_Enable"); + funcTable.Load(6, "ImGuizmo_DecomposeMatrixToComponents"); + funcTable.Load(7, "ImGuizmo_RecomposeMatrixFromComponents"); + funcTable.Load(8, "ImGuizmo_SetRect"); + funcTable.Load(9, "ImGuizmo_SetOrthographic"); + funcTable.Load(10, "ImGuizmo_DrawCubes"); + funcTable.Load(11, "ImGuizmo_DrawGrid"); + funcTable.Load(12, "ImGuizmo_Manipulate"); + funcTable.Load(13, "ImGuizmo_ViewManipulate_Float"); + funcTable.Load(14, "ImGuizmo_ViewManipulate_FloatPtr"); + funcTable.Load(15, "ImGuizmo_SetID"); + funcTable.Load(16, "ImGuizmo_IsOver_OPERATION"); + funcTable.Load(17, "ImGuizmo_SetGizmoSizeClipSpace"); + funcTable.Load(18, "ImGuizmo_AllowAxisFlip"); + } + + public static void FreeApi() + { + funcTable.Free(); + } + } +} diff --git a/imgui/Dalamud.ImGuizmo/Generated/Functions/Functions.000.cs b/imgui/Dalamud.ImGuizmo/Generated/Functions/Functions.000.cs new file mode 100644 index 000000000..40916326c --- /dev/null +++ b/imgui/Dalamud.ImGuizmo/Generated/Functions/Functions.000.cs @@ -0,0 +1,5021 @@ +// ------------------------------------------------------------------------------ +// +// 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.ImGuizmo +{ + public unsafe partial class ImGuizmo + { + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetDrawlistNative(ImDrawList* drawlist) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[0])(drawlist); + #else + ((delegate* unmanaged[Cdecl])funcTable[0])((nint)drawlist); + #endif + } + + /// + /// To be documented. + /// + public static void SetDrawlist(ImDrawListPtr drawlist) + { + SetDrawlistNative(drawlist); + } + + /// + /// To be documented. + /// + public static void SetDrawlist() + { + SetDrawlistNative((ImDrawList*)(default)); + } + + /// + /// To be documented. + /// + public static void SetDrawlist(ref ImDrawList drawlist) + { + fixed (ImDrawList* pdrawlist = &drawlist) + { + SetDrawlistNative((ImDrawList*)pdrawlist); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BeginFrameNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[1])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[1])(); + #endif + } + + /// + /// To be documented. + /// + public static void BeginFrame() + { + BeginFrameNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetImGuiContextNative(ImGuiContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[2])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[2])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void SetImGuiContext(ImGuiContextPtr ctx) + { + SetImGuiContextNative(ctx); + } + + /// + /// To be documented. + /// + public static void SetImGuiContext(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + SetImGuiContextNative((ImGuiContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsOverNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[3])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[3])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsOver() + { + byte ret = IsOverNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsUsingNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[4])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[4])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsUsing() + { + byte ret = IsUsingNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EnableNative(byte enable) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[5])(enable); + #else + ((delegate* unmanaged[Cdecl])funcTable[5])(enable); + #endif + } + + /// + /// To be documented. + /// + public static void Enable(bool enable) + { + EnableNative(enable ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DecomposeMatrixToComponentsNative(float* matrix, float* translation, float* rotation, float* scale) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[6])(matrix, translation, rotation, scale); + #else + ((delegate* unmanaged[Cdecl])funcTable[6])((nint)matrix, (nint)translation, (nint)rotation, (nint)scale); + #endif + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, float* translation, float* rotation, float* scale) + { + DecomposeMatrixToComponentsNative(matrix, translation, rotation, scale); + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref Matrix4x4 matrix, ref Matrix4x4 translation, ref Matrix4x4 rotation, ref Matrix4x4 scale) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (Matrix4x4* ptranslation = &translation) + { + fixed (Matrix4x4* protation = &rotation) + { + fixed (Matrix4x4* pscale = &scale) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, (float*)protation, (float*)pscale); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, float* translation, float* rotation, float* scale) + { + fixed (float* pmatrix = &matrix) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, translation, rotation, scale); + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, ref float translation, float* rotation, float* scale) + { + fixed (float* ptranslation = &translation) + { + DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, rotation, scale); + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, float* rotation, float* scale) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* ptranslation = &translation) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, rotation, scale); + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, float* translation, ref float rotation, float* scale) + { + fixed (float* protation = &rotation) + { + DecomposeMatrixToComponentsNative(matrix, translation, (float*)protation, scale); + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, float* translation, ref float rotation, float* scale) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* protation = &rotation) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, translation, (float*)protation, scale); + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, ref float translation, ref float rotation, float* scale) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, (float*)protation, scale); + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, ref float rotation, float* scale) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, (float*)protation, scale); + } + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, float* translation, float* rotation, ref float scale) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative(matrix, translation, rotation, (float*)pscale); + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, float* translation, float* rotation, ref float scale) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, translation, rotation, (float*)pscale); + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, ref float translation, float* rotation, ref float scale) + { + fixed (float* ptranslation = &translation) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, rotation, (float*)pscale); + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, float* rotation, ref float scale) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, rotation, (float*)pscale); + } + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, float* translation, ref float rotation, ref float scale) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative(matrix, translation, (float*)protation, (float*)pscale); + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, float* translation, ref float rotation, ref float scale) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, translation, (float*)protation, (float*)pscale); + } + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(float* matrix, ref float translation, ref float rotation, ref float scale) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, (float*)protation, (float*)pscale); + } + } + } + } + + /// + /// To be documented. + /// + public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, ref float rotation, ref float scale) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, (float*)protation, (float*)pscale); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void RecomposeMatrixFromComponentsNative(float* translation, float* rotation, float* scale, float* matrix) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[7])(translation, rotation, scale, matrix); + #else + ((delegate* unmanaged[Cdecl])funcTable[7])((nint)translation, (nint)rotation, (nint)scale, (nint)matrix); + #endif + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, float* rotation, float* scale, float* matrix) + { + RecomposeMatrixFromComponentsNative(translation, rotation, scale, matrix); + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref Matrix4x4 translation, ref Matrix4x4 rotation, ref Matrix4x4 scale, ref Matrix4x4 matrix) + { + fixed (Matrix4x4* ptranslation = &translation) + { + fixed (Matrix4x4* protation = &rotation) + { + fixed (Matrix4x4* pscale = &scale) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, (float*)pscale, (float*)pmatrix); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, float* scale, float* matrix) + { + fixed (float* ptranslation = &translation) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, scale, matrix); + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, float* scale, float* matrix) + { + fixed (float* protation = &rotation) + { + RecomposeMatrixFromComponentsNative(translation, (float*)protation, scale, matrix); + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, float* scale, float* matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, scale, matrix); + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, float* rotation, ref float scale, float* matrix) + { + fixed (float* pscale = &scale) + { + RecomposeMatrixFromComponentsNative(translation, rotation, (float*)pscale, matrix); + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, ref float scale, float* matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* pscale = &scale) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, (float*)pscale, matrix); + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, ref float scale, float* matrix) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + RecomposeMatrixFromComponentsNative(translation, (float*)protation, (float*)pscale, matrix); + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, ref float scale, float* matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, (float*)pscale, matrix); + } + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, float* rotation, float* scale, ref float matrix) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative(translation, rotation, scale, (float*)pmatrix); + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, float* scale, ref float matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, scale, (float*)pmatrix); + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, float* scale, ref float matrix) + { + fixed (float* protation = &rotation) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative(translation, (float*)protation, scale, (float*)pmatrix); + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, float* scale, ref float matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, scale, (float*)pmatrix); + } + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, float* rotation, ref float scale, ref float matrix) + { + fixed (float* pscale = &scale) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative(translation, rotation, (float*)pscale, (float*)pmatrix); + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, ref float scale, ref float matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* pscale = &scale) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, (float*)pscale, (float*)pmatrix); + } + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, ref float scale, ref float matrix) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative(translation, (float*)protation, (float*)pscale, (float*)pmatrix); + } + } + } + } + + /// + /// To be documented. + /// + public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, ref float scale, ref float matrix) + { + fixed (float* ptranslation = &translation) + { + fixed (float* protation = &rotation) + { + fixed (float* pscale = &scale) + { + fixed (float* pmatrix = &matrix) + { + RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, (float*)pscale, (float*)pmatrix); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetRectNative(float x, float y, float width, float height) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[8])(x, y, width, height); + #else + ((delegate* unmanaged[Cdecl])funcTable[8])(x, y, width, height); + #endif + } + + /// + /// To be documented. + /// + public static void SetRect(float x, float y, float width, float height) + { + SetRectNative(x, y, width, height); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetOrthographicNative(byte isOrthographic) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[9])(isOrthographic); + #else + ((delegate* unmanaged[Cdecl])funcTable[9])(isOrthographic); + #endif + } + + /// + /// To be documented. + /// + public static void SetOrthographic(bool isOrthographic) + { + SetOrthographicNative(isOrthographic ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DrawCubesNative(float* view, float* projection, float* matrices, int matrixCount) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[10])(view, projection, matrices, matrixCount); + #else + ((delegate* unmanaged[Cdecl])funcTable[10])((nint)view, (nint)projection, (nint)matrices, matrixCount); + #endif + } + + /// + /// To be documented. + /// + public static void DrawCubes(float* view, float* projection, float* matrices, int matrixCount) + { + DrawCubesNative(view, projection, matrices, matrixCount); + } + + /// + /// To be documented. + /// + public static void DrawCubes(ref Matrix4x4 view, ref Matrix4x4 projection, Matrix4x4[] matrices, int matrixCount) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrices = matrices) + { + DrawCubesNative((float*)pview, (float*)pprojection, (float*)pmatrices, matrixCount); + } + } + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(ref Matrix4x4 view, ref Matrix4x4 projection, ref Matrix4x4 matrices, int matrixCount) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrices = &matrices) + { + DrawCubesNative((float*)pview, (float*)pprojection, (float*)pmatrices, matrixCount); + } + } + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(ref float view, float* projection, float* matrices, int matrixCount) + { + fixed (float* pview = &view) + { + DrawCubesNative((float*)pview, projection, matrices, matrixCount); + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(float* view, ref float projection, float* matrices, int matrixCount) + { + fixed (float* pprojection = &projection) + { + DrawCubesNative(view, (float*)pprojection, matrices, matrixCount); + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(ref float view, ref float projection, float* matrices, int matrixCount) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + DrawCubesNative((float*)pview, (float*)pprojection, matrices, matrixCount); + } + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(float* view, float* projection, ref float matrices, int matrixCount) + { + fixed (float* pmatrices = &matrices) + { + DrawCubesNative(view, projection, (float*)pmatrices, matrixCount); + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(ref float view, float* projection, ref float matrices, int matrixCount) + { + fixed (float* pview = &view) + { + fixed (float* pmatrices = &matrices) + { + DrawCubesNative((float*)pview, projection, (float*)pmatrices, matrixCount); + } + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(float* view, ref float projection, ref float matrices, int matrixCount) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrices = &matrices) + { + DrawCubesNative(view, (float*)pprojection, (float*)pmatrices, matrixCount); + } + } + } + + /// + /// To be documented. + /// + public static void DrawCubes(ref float view, ref float projection, ref float matrices, int matrixCount) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrices = &matrices) + { + DrawCubesNative((float*)pview, (float*)pprojection, (float*)pmatrices, matrixCount); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DrawGridNative(float* view, float* projection, float* matrix, float gridSize) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[11])(view, projection, matrix, gridSize); + #else + ((delegate* unmanaged[Cdecl])funcTable[11])((nint)view, (nint)projection, (nint)matrix, gridSize); + #endif + } + + /// + /// To be documented. + /// + public static void DrawGrid(float* view, float* projection, float* matrix, float gridSize) + { + DrawGridNative(view, projection, matrix, gridSize); + } + + /// + /// To be documented. + /// + public static void DrawGrid(ref Matrix4x4 view, ref Matrix4x4 projection, ref Matrix4x4 matrix, float gridSize) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + DrawGridNative((float*)pview, (float*)pprojection, (float*)pmatrix, gridSize); + } + } + } + } + + /// + /// To be documented. + /// + public static void DrawGrid(ref float view, float* projection, float* matrix, float gridSize) + { + fixed (float* pview = &view) + { + DrawGridNative((float*)pview, projection, matrix, gridSize); + } + } + + /// + /// To be documented. + /// + public static void DrawGrid(float* view, ref float projection, float* matrix, float gridSize) + { + fixed (float* pprojection = &projection) + { + DrawGridNative(view, (float*)pprojection, matrix, gridSize); + } + } + + /// + /// To be documented. + /// + public static void DrawGrid(ref float view, ref float projection, float* matrix, float gridSize) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + DrawGridNative((float*)pview, (float*)pprojection, matrix, gridSize); + } + } + } + + /// + /// To be documented. + /// + public static void DrawGrid(float* view, float* projection, ref float matrix, float gridSize) + { + fixed (float* pmatrix = &matrix) + { + DrawGridNative(view, projection, (float*)pmatrix, gridSize); + } + } + + /// + /// To be documented. + /// + public static void DrawGrid(ref float view, float* projection, ref float matrix, float gridSize) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + DrawGridNative((float*)pview, projection, (float*)pmatrix, gridSize); + } + } + } + + /// + /// To be documented. + /// + public static void DrawGrid(float* view, ref float projection, ref float matrix, float gridSize) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + DrawGridNative(view, (float*)pprojection, (float*)pmatrix, gridSize); + } + } + } + + /// + /// To be documented. + /// + public static void DrawGrid(ref float view, ref float projection, ref float matrix, float gridSize) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + DrawGridNative((float*)pview, (float*)pprojection, (float*)pmatrix, gridSize); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ManipulateNative(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[12])(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[12])((nint)view, (nint)projection, operation, mode, (nint)matrix, (nint)deltaMatrix, (nint)snap, (nint)localBounds, (nint)boundsSnap); + #endif + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix, ref float snap, ref float localBounds) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, default); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix, ref float snap) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, default, default); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, default, default, default); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, default, default, default); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref float snap) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, (float*)psnap, default, default); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref float snap, ref float localBounds) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, (float*)psnap, (float*)plocalBounds, default); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) + { + fixed (float* pview = &view) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) + { + fixed (float* pview = &view) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImGuizmo/Generated/Functions/Functions.001.cs b/imgui/Dalamud.ImGuizmo/Generated/Functions/Functions.001.cs new file mode 100644 index 000000000..700c21572 --- /dev/null +++ b/imgui/Dalamud.ImGuizmo/Generated/Functions/Functions.001.cs @@ -0,0 +1,1001 @@ +// ------------------------------------------------------------------------------ +// +// 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.ImGuizmo +{ + public unsafe partial class ImGuizmo + { + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + fixed (float* pdeltaMatrix = &deltaMatrix) + { + fixed (float* psnap = &snap) + { + fixed (float* plocalBounds = &localBounds) + { + fixed (float* pboundsSnap = &boundsSnap) + { + byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); + return ret != 0; + } + } + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ViewManipulateNative(float* view, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[13])(view, length, position, size, backgroundColor); + #else + ((delegate* unmanaged[Cdecl])funcTable[13])((nint)view, length, position, size, backgroundColor); + #endif + } + + /// + /// To be documented. + /// + public static void ViewManipulate(float* view, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + ViewManipulateNative(view, length, position, size, backgroundColor); + } + + /// + /// To be documented. + /// + public static void ViewManipulate(ref Matrix4x4 view, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (Matrix4x4* pview = &view) + { + ViewManipulateNative((float*)pview, length, position, size, backgroundColor); + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(ref float view, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pview = &view) + { + ViewManipulateNative((float*)pview, length, position, size, backgroundColor); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ViewManipulateNative(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[14])(view, projection, operation, mode, matrix, length, position, size, backgroundColor); + #else + ((delegate* unmanaged[Cdecl])funcTable[14])((nint)view, (nint)projection, operation, mode, (nint)matrix, length, position, size, backgroundColor); + #endif + } + + /// + /// To be documented. + /// + public static void ViewManipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + ViewManipulateNative(view, projection, operation, mode, matrix, length, position, size, backgroundColor); + } + + /// + /// To be documented. + /// + public static void ViewManipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (Matrix4x4* pview = &view) + { + fixed (Matrix4x4* pprojection = &projection) + { + fixed (Matrix4x4* pmatrix = &matrix) + { + ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); + } + } + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pview = &view) + { + ViewManipulateNative((float*)pview, projection, operation, mode, matrix, length, position, size, backgroundColor); + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pprojection = &projection) + { + ViewManipulateNative(view, (float*)pprojection, operation, mode, matrix, length, position, size, backgroundColor); + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, length, position, size, backgroundColor); + } + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pmatrix = &matrix) + { + ViewManipulateNative(view, projection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pview = &view) + { + fixed (float* pmatrix = &matrix) + { + ViewManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); + } + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + ViewManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); + } + } + } + + /// + /// To be documented. + /// + public static void ViewManipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) + { + fixed (float* pview = &view) + { + fixed (float* pprojection = &projection) + { + fixed (float* pmatrix = &matrix) + { + ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetIDNative(int id) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[15])(id); + #else + ((delegate* unmanaged[Cdecl])funcTable[15])(id); + #endif + } + + /// + /// To be documented. + /// + public static void SetID(int id) + { + SetIDNative(id); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsOverNative(ImGuizmoOperation op) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[16])(op); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[16])(op); + #endif + } + + /// + /// To be documented. + /// + public static bool IsOver(ImGuizmoOperation op) + { + byte ret = IsOverNative(op); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetGizmoSizeClipSpaceNative(float value) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[17])(value); + #else + ((delegate* unmanaged[Cdecl])funcTable[17])(value); + #endif + } + + /// + /// To be documented. + /// + public static void SetGizmoSizeClipSpace(float value) + { + SetGizmoSizeClipSpaceNative(value); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AllowAxisFlipNative(byte value) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[18])(value); + #else + ((delegate* unmanaged[Cdecl])funcTable[18])(value); + #endif + } + + /// + /// To be documented. + /// + public static void AllowAxisFlip(bool value) + { + AllowAxisFlipNative(value ? (byte)1 : (byte)0); + } + + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Constants/Constants.000.cs b/imgui/Dalamud.ImPlot/Generated/Constants/Constants.000.cs new file mode 100644 index 000000000..bb286f3cc --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Constants/Constants.000.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Delegates/Delegates.000.cs b/imgui/Dalamud.ImPlot/Generated/Delegates/Delegates.000.cs new file mode 100644 index 000000000..209000c11 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Delegates/Delegates.000.cs @@ -0,0 +1,180 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Formatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] byte* buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int Formatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] nint buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void Locator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker&")] ImPlotTicker* ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange&")] ImPlotRange* range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] delegate* formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] void* formatterData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void Locator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker&")] nint ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange&")] nint range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] nint formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] nint formatterData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate double TransformForward([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate double TransformForward([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate double TransformInverse([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate double TransformInverse([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int UserFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] byte* buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int UserFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] nint buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int ImPlotFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] byte* buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate int ImPlotFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] nint buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImPlotLocator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker&")] ImPlotTicker* ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange&")] ImPlotRange* range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] delegate* formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] void* formatterData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void ImPlotLocator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker&")] nint ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange&")] nint range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] nint formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] nint formatterData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate double ImPlotTransform([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate double ImPlotTransform([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ImPlotPoint ImPlotGetter([NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate ImPlotPoint ImPlotGetter([NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); + + #endif + + #if NET5_0_OR_GREATER + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void* ImPlotPointGetter([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "void*")] void* data, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "point")] [NativeName(NativeNameType.Type, "ImPlotPoint*")] ImPlotPoint* point); + + #else + /// + /// To be documented. + /// + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate nint ImPlotPointGetter([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "void*")] nint data, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "point")] [NativeName(NativeNameType.Type, "ImPlotPoint*")] nint point); + + #endif + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImAxis.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImAxis.cs new file mode 100644 index 000000000..19413110b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImAxis.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImAxis : int + { + /// + /// To be documented. + /// + X1 = unchecked(0), + + /// + /// To be documented. + /// + X2 = unchecked(1), + + /// + /// To be documented. + /// + X3 = unchecked(2), + + /// + /// To be documented. + /// + Y1 = unchecked(3), + + /// + /// To be documented. + /// + Y2 = unchecked(4), + + /// + /// To be documented. + /// + Y3 = unchecked(5), + + /// + /// To be documented. + /// + Count = unchecked(6), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotAxisFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotAxisFlags.cs new file mode 100644 index 000000000..44648730c --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotAxisFlags.cs @@ -0,0 +1,123 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotAxisFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoLabel = unchecked(1), + + /// + /// To be documented. + /// + NoGridLines = unchecked(2), + + /// + /// To be documented. + /// + NoTickMarks = unchecked(4), + + /// + /// To be documented. + /// + NoTickLabels = unchecked(8), + + /// + /// To be documented. + /// + NoInitialFit = unchecked(16), + + /// + /// To be documented. + /// + NoMenus = unchecked(32), + + /// + /// To be documented. + /// + NoSideSwitch = unchecked(64), + + /// + /// To be documented. + /// + NoHighlight = unchecked(128), + + /// + /// To be documented. + /// + Opposite = unchecked(256), + + /// + /// To be documented. + /// + Foreground = unchecked(512), + + /// + /// To be documented. + /// + Invert = unchecked(1024), + + /// + /// To be documented. + /// + AutoFit = unchecked(2048), + + /// + /// To be documented. + /// + RangeFit = unchecked(4096), + + /// + /// To be documented. + /// + PanStretch = unchecked(8192), + + /// + /// To be documented. + /// + LockMin = unchecked(16384), + + /// + /// To be documented. + /// + LockMax = unchecked(32768), + + /// + /// To be documented. + /// + Lock = unchecked(49152), + + /// + /// To be documented. + /// + NoDecorations = unchecked(15), + + /// + /// To be documented. + /// + AuxDefault = unchecked(258), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBarGroupsFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBarGroupsFlags.cs new file mode 100644 index 000000000..9f0946a92 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBarGroupsFlags.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotBarGroupsFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Horizontal = unchecked(1024), + + /// + /// To be documented. + /// + Stacked = unchecked(2048), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBarsFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBarsFlags.cs new file mode 100644 index 000000000..c694a3162 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBarsFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotBarsFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Horizontal = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBin.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBin.cs new file mode 100644 index 000000000..c432a1425 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotBin.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotBin : int + { + /// + /// To be documented. + /// + Sqrt = unchecked(-1), + + /// + /// To be documented. + /// + Sturges = unchecked(-2), + + /// + /// To be documented. + /// + Rice = unchecked(-3), + + /// + /// To be documented. + /// + Scott = unchecked(-4), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotCol.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotCol.cs new file mode 100644 index 000000000..aafb2314a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotCol.cs @@ -0,0 +1,133 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotCol : int + { + /// + /// To be documented. + /// + Line = unchecked(0), + + /// + /// To be documented. + /// + Fill = unchecked(1), + + /// + /// To be documented. + /// + MarkerOutline = unchecked(2), + + /// + /// To be documented. + /// + MarkerFill = unchecked(3), + + /// + /// To be documented. + /// + ErrorBar = unchecked(4), + + /// + /// To be documented. + /// + FrameBg = unchecked(5), + + /// + /// To be documented. + /// + Bg = unchecked(6), + + /// + /// To be documented. + /// + Border = unchecked(7), + + /// + /// To be documented. + /// + LegendBg = unchecked(8), + + /// + /// To be documented. + /// + LegendBorder = unchecked(9), + + /// + /// To be documented. + /// + LegendText = unchecked(10), + + /// + /// To be documented. + /// + TitleText = unchecked(11), + + /// + /// To be documented. + /// + InlayText = unchecked(12), + + /// + /// To be documented. + /// + AxisText = unchecked(13), + + /// + /// To be documented. + /// + AxisGrid = unchecked(14), + + /// + /// To be documented. + /// + AxisTick = unchecked(15), + + /// + /// To be documented. + /// + AxisBg = unchecked(16), + + /// + /// To be documented. + /// + AxisBgHovered = unchecked(17), + + /// + /// To be documented. + /// + AxisBgActive = unchecked(18), + + /// + /// To be documented. + /// + Selection = unchecked(19), + + /// + /// To be documented. + /// + Crosshairs = unchecked(20), + + /// + /// To be documented. + /// + Count = unchecked(21), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotColormap.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotColormap.cs new file mode 100644 index 000000000..c750ea39c --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotColormap.cs @@ -0,0 +1,103 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotColormap : int + { + /// + /// To be documented. + /// + Deep = unchecked(0), + + /// + /// To be documented. + /// + Dark = unchecked(1), + + /// + /// To be documented. + /// + Pastel = unchecked(2), + + /// + /// To be documented. + /// + Paired = unchecked(3), + + /// + /// To be documented. + /// + Viridis = unchecked(4), + + /// + /// To be documented. + /// + Plasma = unchecked(5), + + /// + /// To be documented. + /// + Hot = unchecked(6), + + /// + /// To be documented. + /// + Cool = unchecked(7), + + /// + /// To be documented. + /// + Pink = unchecked(8), + + /// + /// To be documented. + /// + Jet = unchecked(9), + + /// + /// To be documented. + /// + Twilight = unchecked(10), + + /// + /// To be documented. + /// + RdBu = unchecked(11), + + /// + /// To be documented. + /// + BrBg = unchecked(12), + + /// + /// To be documented. + /// + PiYg = unchecked(13), + + /// + /// To be documented. + /// + Spectral = unchecked(14), + + /// + /// To be documented. + /// + Greys = unchecked(15), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotColormapScaleFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotColormapScaleFlags.cs new file mode 100644 index 000000000..01209d93b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotColormapScaleFlags.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotColormapScaleFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoLabel = unchecked(1), + + /// + /// To be documented. + /// + Opposite = unchecked(2), + + /// + /// To be documented. + /// + Invert = unchecked(4), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotCond.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotCond.cs new file mode 100644 index 000000000..73136b129 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotCond.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotCond : int + { + /// + /// To be documented. + /// + None = unchecked((int)0), + + /// + /// To be documented. + /// + Always = unchecked((int)1), + + /// + /// To be documented. + /// + Once = unchecked((int)2), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDateFmt.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDateFmt.cs new file mode 100644 index 000000000..908807931 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDateFmt.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotDateFmt : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + DayMo = unchecked(1), + + /// + /// To be documented. + /// + DayMoYr = unchecked(2), + + /// + /// To be documented. + /// + MoYr = unchecked(3), + + /// + /// To be documented. + /// + Mo = unchecked(4), + + /// + /// To be documented. + /// + Yr = unchecked(5), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDigitalFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDigitalFlags.cs new file mode 100644 index 000000000..54cf62553 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDigitalFlags.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotDigitalFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDragToolFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDragToolFlags.cs new file mode 100644 index 000000000..5eac2c51d --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDragToolFlags.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotDragToolFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoCursors = unchecked(1), + + /// + /// To be documented. + /// + NoFit = unchecked(2), + + /// + /// To be documented. + /// + NoInputs = unchecked(4), + + /// + /// To be documented. + /// + Delayed = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDummyFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDummyFlags.cs new file mode 100644 index 000000000..3be1ac4af --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotDummyFlags.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotDummyFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotErrorBarsFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotErrorBarsFlags.cs new file mode 100644 index 000000000..1225bd575 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotErrorBarsFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotErrorBarsFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Horizontal = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotFlags.cs new file mode 100644 index 000000000..5eba7ef23 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotFlags.cs @@ -0,0 +1,83 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoTitle = unchecked(1), + + /// + /// To be documented. + /// + NoLegend = unchecked(2), + + /// + /// To be documented. + /// + NoMouseText = unchecked(4), + + /// + /// To be documented. + /// + NoInputs = unchecked(8), + + /// + /// To be documented. + /// + NoMenus = unchecked(16), + + /// + /// To be documented. + /// + NoBoxSelect = unchecked(32), + + /// + /// To be documented. + /// + NoChild = unchecked(64), + + /// + /// To be documented. + /// + NoFrame = unchecked(128), + + /// + /// To be documented. + /// + Equal = unchecked(256), + + /// + /// To be documented. + /// + Crosshairs = unchecked(512), + + /// + /// To be documented. + /// + CanvasOnly = unchecked(55), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotHeatmapFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotHeatmapFlags.cs new file mode 100644 index 000000000..9bc31be74 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotHeatmapFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotHeatmapFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + ColMajor = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotHistogramFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotHistogramFlags.cs new file mode 100644 index 000000000..9706cf645 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotHistogramFlags.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotHistogramFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Horizontal = unchecked(1024), + + /// + /// To be documented. + /// + Cumulative = unchecked(2048), + + /// + /// To be documented. + /// + Density = unchecked(4096), + + /// + /// To be documented. + /// + NoOutliers = unchecked(8192), + + /// + /// To be documented. + /// + ColMajor = unchecked(16384), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotImageFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotImageFlags.cs new file mode 100644 index 000000000..bca33cd13 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotImageFlags.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotImageFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotInfLinesFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotInfLinesFlags.cs new file mode 100644 index 000000000..59c259efe --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotInfLinesFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotInfLinesFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Horizontal = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotItemFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotItemFlags.cs new file mode 100644 index 000000000..e16d40db4 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotItemFlags.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotItemFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoLegend = unchecked(1), + + /// + /// To be documented. + /// + NoFit = unchecked(2), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLegendFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLegendFlags.cs new file mode 100644 index 000000000..d3596a413 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLegendFlags.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotLegendFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoButtons = unchecked(1), + + /// + /// To be documented. + /// + NoHighlightItem = unchecked(2), + + /// + /// To be documented. + /// + NoHighlightAxis = unchecked(4), + + /// + /// To be documented. + /// + NoMenus = unchecked(8), + + /// + /// To be documented. + /// + Outside = unchecked(16), + + /// + /// To be documented. + /// + Horizontal = unchecked(32), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLineFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLineFlags.cs new file mode 100644 index 000000000..ee52730f5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLineFlags.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotLineFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Segments = unchecked(1024), + + /// + /// To be documented. + /// + Loop = unchecked(2048), + + /// + /// To be documented. + /// + SkipNaN = unchecked(4096), + + /// + /// To be documented. + /// + NoClip = unchecked(8192), + + /// + /// To be documented. + /// + Shaded = unchecked(16384), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLocation.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLocation.cs new file mode 100644 index 000000000..f1a58d9c3 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotLocation.cs @@ -0,0 +1,68 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotLocation : int + { + /// + /// To be documented. + /// + Center = unchecked(0), + + /// + /// To be documented. + /// + North = unchecked(1), + + /// + /// To be documented. + /// + South = unchecked(2), + + /// + /// To be documented. + /// + West = unchecked(4), + + /// + /// To be documented. + /// + East = unchecked(8), + + /// + /// To be documented. + /// + NorthWest = unchecked(5), + + /// + /// To be documented. + /// + NorthEast = unchecked(9), + + /// + /// To be documented. + /// + SouthWest = unchecked(6), + + /// + /// To be documented. + /// + SouthEast = unchecked(10), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotMarker.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotMarker.cs new file mode 100644 index 000000000..5ab69893b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotMarker.cs @@ -0,0 +1,83 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotMarker : int + { + /// + /// To be documented. + /// + None = unchecked(-1), + + /// + /// To be documented. + /// + Circle = unchecked(0), + + /// + /// To be documented. + /// + Square = unchecked(1), + + /// + /// To be documented. + /// + Diamond = unchecked(2), + + /// + /// To be documented. + /// + Up = unchecked(3), + + /// + /// To be documented. + /// + Down = unchecked(4), + + /// + /// To be documented. + /// + Left = unchecked(5), + + /// + /// To be documented. + /// + Right = unchecked(6), + + /// + /// To be documented. + /// + Cross = unchecked(7), + + /// + /// To be documented. + /// + Plus = unchecked(8), + + /// + /// To be documented. + /// + Asterisk = unchecked(9), + + /// + /// To be documented. + /// + Count = unchecked(10), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotMouseTextFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotMouseTextFlags.cs new file mode 100644 index 000000000..2c28345d1 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotMouseTextFlags.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotMouseTextFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoAuxAxes = unchecked(1), + + /// + /// To be documented. + /// + NoFormat = unchecked(2), + + /// + /// To be documented. + /// + ShowAlways = unchecked(4), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotPieChartFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotPieChartFlags.cs new file mode 100644 index 000000000..1d90a94aa --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotPieChartFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotPieChartFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Normalize = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotScale.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotScale.cs new file mode 100644 index 000000000..1f6923bc3 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotScale.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotScale : int + { + /// + /// To be documented. + /// + Linear = unchecked(0), + + /// + /// To be documented. + /// + Time = unchecked(1), + + /// + /// To be documented. + /// + Log10 = unchecked(2), + + /// + /// To be documented. + /// + SymLog = unchecked(3), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotScatterFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotScatterFlags.cs new file mode 100644 index 000000000..36e6c2885 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotScatterFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotScatterFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoClip = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotShadedFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotShadedFlags.cs new file mode 100644 index 000000000..1d3aa01bb --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotShadedFlags.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotShadedFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStairsFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStairsFlags.cs new file mode 100644 index 000000000..96709f1e6 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStairsFlags.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotStairsFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + PreStep = unchecked(1024), + + /// + /// To be documented. + /// + Shaded = unchecked(2048), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStemsFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStemsFlags.cs new file mode 100644 index 000000000..42c4f46f1 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStemsFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotStemsFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Horizontal = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStyleVar.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStyleVar.cs new file mode 100644 index 000000000..5216632f0 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotStyleVar.cs @@ -0,0 +1,163 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotStyleVar : int + { + /// + /// To be documented. + /// + LineWeight = unchecked(0), + + /// + /// To be documented. + /// + Marker = unchecked(1), + + /// + /// To be documented. + /// + MarkerSize = unchecked(2), + + /// + /// To be documented. + /// + MarkerWeight = unchecked(3), + + /// + /// To be documented. + /// + FillAlpha = unchecked(4), + + /// + /// To be documented. + /// + ErrorBarSize = unchecked(5), + + /// + /// To be documented. + /// + ErrorBarWeight = unchecked(6), + + /// + /// To be documented. + /// + DigitalHeight = unchecked(7), + + /// + /// To be documented. + /// + DigitalGap = unchecked(8), + + /// + /// To be documented. + /// + BorderSize = unchecked(9), + + /// + /// To be documented. + /// + MinorAlpha = unchecked(10), + + /// + /// To be documented. + /// + MajorTickLen = unchecked(11), + + /// + /// To be documented. + /// + MinorTickLen = unchecked(12), + + /// + /// To be documented. + /// + MajorTickSize = unchecked(13), + + /// + /// To be documented. + /// + MinorTickSize = unchecked(14), + + /// + /// To be documented. + /// + MajorGridSize = unchecked(15), + + /// + /// To be documented. + /// + MinorGridSize = unchecked(16), + + /// + /// To be documented. + /// + Padding = unchecked(17), + + /// + /// To be documented. + /// + LabelPadding = unchecked(18), + + /// + /// To be documented. + /// + LegendPadding = unchecked(19), + + /// + /// To be documented. + /// + LegendInnerPadding = unchecked(20), + + /// + /// To be documented. + /// + LegendSpacing = unchecked(21), + + /// + /// To be documented. + /// + MousePosPadding = unchecked(22), + + /// + /// To be documented. + /// + AnnotationPadding = unchecked(23), + + /// + /// To be documented. + /// + FitPadding = unchecked(24), + + /// + /// To be documented. + /// + DefaultSize = unchecked(25), + + /// + /// To be documented. + /// + MinSize = unchecked(26), + + /// + /// To be documented. + /// + Count = unchecked(27), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotSubplotFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotSubplotFlags.cs new file mode 100644 index 000000000..885250abf --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotSubplotFlags.cs @@ -0,0 +1,83 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotSubplotFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + NoTitle = unchecked(1), + + /// + /// To be documented. + /// + NoLegend = unchecked(2), + + /// + /// To be documented. + /// + NoMenus = unchecked(4), + + /// + /// To be documented. + /// + NoResize = unchecked(8), + + /// + /// To be documented. + /// + NoAlign = unchecked(16), + + /// + /// To be documented. + /// + ShareItems = unchecked(32), + + /// + /// To be documented. + /// + LinkRows = unchecked(64), + + /// + /// To be documented. + /// + LinkCols = unchecked(128), + + /// + /// To be documented. + /// + LinkAllX = unchecked(256), + + /// + /// To be documented. + /// + LinkAllY = unchecked(512), + + /// + /// To be documented. + /// + ColMajor = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTextFlags.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTextFlags.cs new file mode 100644 index 000000000..b3a1fa084 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTextFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotTextFlags : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Vertical = unchecked(1024), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTimeFmt.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTimeFmt.cs new file mode 100644 index 000000000..78c646fcb --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTimeFmt.cs @@ -0,0 +1,68 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotTimeFmt : int + { + /// + /// To be documented. + /// + None = unchecked(0), + + /// + /// To be documented. + /// + Us = unchecked(1), + + /// + /// To be documented. + /// + SUs = unchecked(2), + + /// + /// To be documented. + /// + SMs = unchecked(3), + + /// + /// To be documented. + /// + S = unchecked(4), + + /// + /// To be documented. + /// + HrMinSMs = unchecked(5), + + /// + /// To be documented. + /// + HrMinS = unchecked(6), + + /// + /// To be documented. + /// + HrMin = unchecked(7), + + /// + /// To be documented. + /// + Hr = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTimeUnit.cs b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTimeUnit.cs new file mode 100644 index 000000000..1400fd463 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Enums/ImPlotTimeUnit.cs @@ -0,0 +1,68 @@ +// ------------------------------------------------------------------------------ +// +// 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 HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [Flags] + public enum ImPlotTimeUnit : int + { + /// + /// To be documented. + /// + Us = unchecked(0), + + /// + /// To be documented. + /// + Ms = unchecked(1), + + /// + /// To be documented. + /// + S = unchecked(2), + + /// + /// To be documented. + /// + Min = unchecked(3), + + /// + /// To be documented. + /// + Hr = unchecked(4), + + /// + /// To be documented. + /// + Day = unchecked(5), + + /// + /// To be documented. + /// + Mo = unchecked(6), + + /// + /// To be documented. + /// + Yr = unchecked(7), + + /// + /// To be documented. + /// + Count = unchecked(8), + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/FunctionTable.cs b/imgui/Dalamud.ImPlot/Generated/FunctionTable.cs new file mode 100644 index 000000000..4800abef7 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/FunctionTable.cs @@ -0,0 +1,731 @@ +// ------------------------------------------------------------------------------ +// +// 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 + { + internal static FunctionTable funcTable; + + /// + /// Initializes the function table, automatically called. Do not call manually, only after . + /// + public static void InitApi(INativeContext context) + { + funcTable = new FunctionTable(context, 695); + funcTable.Load(0, "ImPlotPoint_ImPlotPoint_Nil"); + funcTable.Load(1, "ImPlotPoint_destroy"); + funcTable.Load(2, "ImPlotPoint_ImPlotPoint_double"); + funcTable.Load(3, "ImPlotPoint_ImPlotPoint_Vec2"); + funcTable.Load(4, "ImPlotRange_ImPlotRange_Nil"); + funcTable.Load(5, "ImPlotRange_destroy"); + funcTable.Load(6, "ImPlotRange_ImPlotRange_double"); + funcTable.Load(7, "ImPlotRange_Contains"); + funcTable.Load(8, "ImPlotRange_Size"); + funcTable.Load(9, "ImPlotRange_Clamp"); + funcTable.Load(10, "ImPlotRect_ImPlotRect_Nil"); + funcTable.Load(11, "ImPlotRect_destroy"); + funcTable.Load(12, "ImPlotRect_ImPlotRect_double"); + funcTable.Load(13, "ImPlotRect_Contains_PlotPoInt"); + funcTable.Load(14, "ImPlotRect_Contains_double"); + funcTable.Load(15, "ImPlotRect_Size"); + funcTable.Load(16, "ImPlotRect_Clamp_PlotPoInt"); + funcTable.Load(17, "ImPlotRect_Clamp_double"); + funcTable.Load(18, "ImPlotRect_Min"); + funcTable.Load(19, "ImPlotRect_Max"); + funcTable.Load(20, "ImPlotStyle_ImPlotStyle"); + funcTable.Load(21, "ImPlotStyle_destroy"); + funcTable.Load(22, "ImPlotInputMap_ImPlotInputMap"); + funcTable.Load(23, "ImPlotInputMap_destroy"); + funcTable.Load(24, "ImPlot_CreateContext"); + funcTable.Load(25, "ImPlot_DestroyContext"); + funcTable.Load(26, "ImPlot_GetCurrentContext"); + funcTable.Load(27, "ImPlot_SetCurrentContext"); + funcTable.Load(28, "ImPlot_SetImGuiContext"); + funcTable.Load(29, "ImPlot_BeginPlot"); + funcTable.Load(30, "ImPlot_EndPlot"); + funcTable.Load(31, "ImPlot_BeginSubplots"); + funcTable.Load(32, "ImPlot_EndSubplots"); + funcTable.Load(33, "ImPlot_SetupAxis"); + funcTable.Load(34, "ImPlot_SetupAxisLimits"); + funcTable.Load(35, "ImPlot_SetupAxisLinks"); + funcTable.Load(36, "ImPlot_SetupAxisFormat_Str"); + funcTable.Load(37, "ImPlot_SetupAxisFormat_PlotFormatter"); + funcTable.Load(38, "ImPlot_SetupAxisTicks_doublePtr"); + funcTable.Load(39, "ImPlot_SetupAxisTicks_double"); + funcTable.Load(40, "ImPlot_SetupAxisScale_PlotScale"); + funcTable.Load(41, "ImPlot_SetupAxisScale_PlotTransform"); + funcTable.Load(42, "ImPlot_SetupAxisLimitsConstraints"); + funcTable.Load(43, "ImPlot_SetupAxisZoomConstraints"); + funcTable.Load(44, "ImPlot_SetupAxes"); + funcTable.Load(45, "ImPlot_SetupAxesLimits"); + funcTable.Load(46, "ImPlot_SetupLegend"); + funcTable.Load(47, "ImPlot_SetupMouseText"); + funcTable.Load(48, "ImPlot_SetupFinish"); + funcTable.Load(49, "ImPlot_SetNextAxisLimits"); + funcTable.Load(50, "ImPlot_SetNextAxisLinks"); + funcTable.Load(51, "ImPlot_SetNextAxisToFit"); + funcTable.Load(52, "ImPlot_SetNextAxesLimits"); + funcTable.Load(53, "ImPlot_SetNextAxesToFit"); + funcTable.Load(54, "ImPlot_PlotLine_FloatPtrInt"); + funcTable.Load(55, "ImPlot_PlotLine_doublePtrInt"); + funcTable.Load(56, "ImPlot_PlotLine_S8PtrInt"); + funcTable.Load(57, "ImPlot_PlotLine_S16PtrInt"); + funcTable.Load(58, "ImPlot_PlotLine_U16PtrInt"); + funcTable.Load(59, "ImPlot_PlotLine_S32PtrInt"); + funcTable.Load(60, "ImPlot_PlotLine_U32PtrInt"); + funcTable.Load(61, "ImPlot_PlotLine_S64PtrInt"); + funcTable.Load(62, "ImPlot_PlotLine_U64PtrInt"); + funcTable.Load(63, "ImPlot_PlotLine_FloatPtrFloatPtr"); + funcTable.Load(64, "ImPlot_PlotLine_doublePtrdoublePtr"); + funcTable.Load(65, "ImPlot_PlotLine_S8PtrS8Ptr"); + funcTable.Load(66, "ImPlot_PlotLine_S16PtrS16Ptr"); + funcTable.Load(67, "ImPlot_PlotLine_U16PtrU16Ptr"); + funcTable.Load(68, "ImPlot_PlotLine_S32PtrS32Ptr"); + funcTable.Load(69, "ImPlot_PlotLine_U32PtrU32Ptr"); + funcTable.Load(70, "ImPlot_PlotLine_S64PtrS64Ptr"); + funcTable.Load(71, "ImPlot_PlotLine_U64PtrU64Ptr"); + funcTable.Load(72, "ImPlot_PlotScatter_FloatPtrInt"); + funcTable.Load(73, "ImPlot_PlotScatter_doublePtrInt"); + funcTable.Load(74, "ImPlot_PlotScatter_S8PtrInt"); + funcTable.Load(75, "ImPlot_PlotScatter_S16PtrInt"); + funcTable.Load(76, "ImPlot_PlotScatter_U16PtrInt"); + funcTable.Load(77, "ImPlot_PlotScatter_S32PtrInt"); + funcTable.Load(78, "ImPlot_PlotScatter_U32PtrInt"); + funcTable.Load(79, "ImPlot_PlotScatter_S64PtrInt"); + funcTable.Load(80, "ImPlot_PlotScatter_U64PtrInt"); + funcTable.Load(81, "ImPlot_PlotScatter_FloatPtrFloatPtr"); + funcTable.Load(82, "ImPlot_PlotScatter_doublePtrdoublePtr"); + funcTable.Load(83, "ImPlot_PlotScatter_S8PtrS8Ptr"); + funcTable.Load(84, "ImPlot_PlotScatter_S16PtrS16Ptr"); + funcTable.Load(85, "ImPlot_PlotScatter_U16PtrU16Ptr"); + funcTable.Load(86, "ImPlot_PlotScatter_S32PtrS32Ptr"); + funcTable.Load(87, "ImPlot_PlotScatter_U32PtrU32Ptr"); + funcTable.Load(88, "ImPlot_PlotScatter_S64PtrS64Ptr"); + funcTable.Load(89, "ImPlot_PlotScatter_U64PtrU64Ptr"); + funcTable.Load(90, "ImPlot_PlotStairs_FloatPtrInt"); + funcTable.Load(91, "ImPlot_PlotStairs_doublePtrInt"); + funcTable.Load(92, "ImPlot_PlotStairs_S8PtrInt"); + funcTable.Load(93, "ImPlot_PlotStairs_S16PtrInt"); + funcTable.Load(94, "ImPlot_PlotStairs_U16PtrInt"); + funcTable.Load(95, "ImPlot_PlotStairs_S32PtrInt"); + funcTable.Load(96, "ImPlot_PlotStairs_U32PtrInt"); + funcTable.Load(97, "ImPlot_PlotStairs_S64PtrInt"); + funcTable.Load(98, "ImPlot_PlotStairs_U64PtrInt"); + funcTable.Load(99, "ImPlot_PlotStairs_FloatPtrFloatPtr"); + funcTable.Load(100, "ImPlot_PlotStairs_doublePtrdoublePtr"); + funcTable.Load(101, "ImPlot_PlotStairs_S8PtrS8Ptr"); + funcTable.Load(102, "ImPlot_PlotStairs_S16PtrS16Ptr"); + funcTable.Load(103, "ImPlot_PlotStairs_U16PtrU16Ptr"); + funcTable.Load(104, "ImPlot_PlotStairs_S32PtrS32Ptr"); + funcTable.Load(105, "ImPlot_PlotStairs_U32PtrU32Ptr"); + funcTable.Load(106, "ImPlot_PlotStairs_S64PtrS64Ptr"); + funcTable.Load(107, "ImPlot_PlotStairs_U64PtrU64Ptr"); + funcTable.Load(108, "ImPlot_PlotStairsG"); + funcTable.Load(109, "ImPlot_PlotShaded_FloatPtrInt"); + funcTable.Load(110, "ImPlot_PlotShaded_doublePtrInt"); + funcTable.Load(111, "ImPlot_PlotShaded_S8PtrInt"); + funcTable.Load(112, "ImPlot_PlotShaded_S16PtrInt"); + funcTable.Load(113, "ImPlot_PlotShaded_U16PtrInt"); + funcTable.Load(114, "ImPlot_PlotShaded_S32PtrInt"); + funcTable.Load(115, "ImPlot_PlotShaded_U32PtrInt"); + funcTable.Load(116, "ImPlot_PlotShaded_S64PtrInt"); + funcTable.Load(117, "ImPlot_PlotShaded_U64PtrInt"); + funcTable.Load(118, "ImPlot_PlotShaded_FloatPtrFloatPtrInt"); + funcTable.Load(119, "ImPlot_PlotShaded_doublePtrdoublePtrInt"); + funcTable.Load(120, "ImPlot_PlotShaded_S8PtrS8PtrInt"); + funcTable.Load(121, "ImPlot_PlotShaded_S16PtrS16PtrInt"); + funcTable.Load(122, "ImPlot_PlotShaded_U16PtrU16PtrInt"); + funcTable.Load(123, "ImPlot_PlotShaded_S32PtrS32PtrInt"); + funcTable.Load(124, "ImPlot_PlotShaded_U32PtrU32PtrInt"); + funcTable.Load(125, "ImPlot_PlotShaded_S64PtrS64PtrInt"); + funcTable.Load(126, "ImPlot_PlotShaded_U64PtrU64PtrInt"); + funcTable.Load(127, "ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr"); + funcTable.Load(128, "ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr"); + funcTable.Load(129, "ImPlot_PlotShaded_S8PtrS8PtrS8Ptr"); + funcTable.Load(130, "ImPlot_PlotShaded_S16PtrS16PtrS16Ptr"); + funcTable.Load(131, "ImPlot_PlotShaded_U16PtrU16PtrU16Ptr"); + funcTable.Load(132, "ImPlot_PlotShaded_S32PtrS32PtrS32Ptr"); + funcTable.Load(133, "ImPlot_PlotShaded_U32PtrU32PtrU32Ptr"); + funcTable.Load(134, "ImPlot_PlotShaded_S64PtrS64PtrS64Ptr"); + funcTable.Load(135, "ImPlot_PlotShaded_U64PtrU64PtrU64Ptr"); + funcTable.Load(136, "ImPlot_PlotBars_FloatPtrInt"); + funcTable.Load(137, "ImPlot_PlotBars_doublePtrInt"); + funcTable.Load(138, "ImPlot_PlotBars_S8PtrInt"); + funcTable.Load(139, "ImPlot_PlotBars_S16PtrInt"); + funcTable.Load(140, "ImPlot_PlotBars_U16PtrInt"); + funcTable.Load(141, "ImPlot_PlotBars_S32PtrInt"); + funcTable.Load(142, "ImPlot_PlotBars_U32PtrInt"); + funcTable.Load(143, "ImPlot_PlotBars_S64PtrInt"); + funcTable.Load(144, "ImPlot_PlotBars_U64PtrInt"); + funcTable.Load(145, "ImPlot_PlotBars_FloatPtrFloatPtr"); + funcTable.Load(146, "ImPlot_PlotBars_doublePtrdoublePtr"); + funcTable.Load(147, "ImPlot_PlotBars_S8PtrS8Ptr"); + funcTable.Load(148, "ImPlot_PlotBars_S16PtrS16Ptr"); + funcTable.Load(149, "ImPlot_PlotBars_U16PtrU16Ptr"); + funcTable.Load(150, "ImPlot_PlotBars_S32PtrS32Ptr"); + funcTable.Load(151, "ImPlot_PlotBars_U32PtrU32Ptr"); + funcTable.Load(152, "ImPlot_PlotBars_S64PtrS64Ptr"); + funcTable.Load(153, "ImPlot_PlotBars_U64PtrU64Ptr"); + funcTable.Load(154, "ImPlot_PlotBarGroups_FloatPtr"); + funcTable.Load(155, "ImPlot_PlotBarGroups_doublePtr"); + funcTable.Load(156, "ImPlot_PlotBarGroups_S8Ptr"); + funcTable.Load(157, "ImPlot_PlotBarGroups_S16Ptr"); + funcTable.Load(158, "ImPlot_PlotBarGroups_U16Ptr"); + funcTable.Load(159, "ImPlot_PlotBarGroups_S32Ptr"); + funcTable.Load(160, "ImPlot_PlotBarGroups_U32Ptr"); + funcTable.Load(161, "ImPlot_PlotBarGroups_S64Ptr"); + funcTable.Load(162, "ImPlot_PlotBarGroups_U64Ptr"); + funcTable.Load(163, "ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt"); + funcTable.Load(164, "ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt"); + funcTable.Load(165, "ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt"); + funcTable.Load(166, "ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt"); + funcTable.Load(167, "ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt"); + funcTable.Load(168, "ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt"); + funcTable.Load(169, "ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt"); + funcTable.Load(170, "ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt"); + funcTable.Load(171, "ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt"); + funcTable.Load(172, "ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr"); + funcTable.Load(173, "ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr"); + funcTable.Load(174, "ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr"); + funcTable.Load(175, "ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr"); + funcTable.Load(176, "ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr"); + funcTable.Load(177, "ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr"); + funcTable.Load(178, "ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr"); + funcTable.Load(179, "ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr"); + funcTable.Load(180, "ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr"); + funcTable.Load(181, "ImPlot_PlotStems_FloatPtrInt"); + funcTable.Load(182, "ImPlot_PlotStems_doublePtrInt"); + funcTable.Load(183, "ImPlot_PlotStems_S8PtrInt"); + funcTable.Load(184, "ImPlot_PlotStems_S16PtrInt"); + funcTable.Load(185, "ImPlot_PlotStems_U16PtrInt"); + funcTable.Load(186, "ImPlot_PlotStems_S32PtrInt"); + funcTable.Load(187, "ImPlot_PlotStems_U32PtrInt"); + funcTable.Load(188, "ImPlot_PlotStems_S64PtrInt"); + funcTable.Load(189, "ImPlot_PlotStems_U64PtrInt"); + funcTable.Load(190, "ImPlot_PlotStems_FloatPtrFloatPtr"); + funcTable.Load(191, "ImPlot_PlotStems_doublePtrdoublePtr"); + funcTable.Load(192, "ImPlot_PlotStems_S8PtrS8Ptr"); + funcTable.Load(193, "ImPlot_PlotStems_S16PtrS16Ptr"); + funcTable.Load(194, "ImPlot_PlotStems_U16PtrU16Ptr"); + funcTable.Load(195, "ImPlot_PlotStems_S32PtrS32Ptr"); + funcTable.Load(196, "ImPlot_PlotStems_U32PtrU32Ptr"); + funcTable.Load(197, "ImPlot_PlotStems_S64PtrS64Ptr"); + funcTable.Load(198, "ImPlot_PlotStems_U64PtrU64Ptr"); + funcTable.Load(199, "ImPlot_PlotInfLines_FloatPtr"); + funcTable.Load(200, "ImPlot_PlotInfLines_doublePtr"); + funcTable.Load(201, "ImPlot_PlotInfLines_S8Ptr"); + funcTable.Load(202, "ImPlot_PlotInfLines_S16Ptr"); + funcTable.Load(203, "ImPlot_PlotInfLines_U16Ptr"); + funcTable.Load(204, "ImPlot_PlotInfLines_S32Ptr"); + funcTable.Load(205, "ImPlot_PlotInfLines_U32Ptr"); + funcTable.Load(206, "ImPlot_PlotInfLines_S64Ptr"); + funcTable.Load(207, "ImPlot_PlotInfLines_U64Ptr"); + funcTable.Load(208, "ImPlot_PlotPieChart_FloatPtr"); + funcTable.Load(209, "ImPlot_PlotPieChart_doublePtr"); + funcTable.Load(210, "ImPlot_PlotPieChart_S8Ptr"); + funcTable.Load(211, "ImPlot_PlotPieChart_S16Ptr"); + funcTable.Load(212, "ImPlot_PlotPieChart_U16Ptr"); + funcTable.Load(213, "ImPlot_PlotPieChart_S32Ptr"); + funcTable.Load(214, "ImPlot_PlotPieChart_U32Ptr"); + funcTable.Load(215, "ImPlot_PlotPieChart_S64Ptr"); + funcTable.Load(216, "ImPlot_PlotPieChart_U64Ptr"); + funcTable.Load(217, "ImPlot_PlotHeatmap_FloatPtr"); + funcTable.Load(218, "ImPlot_PlotHeatmap_doublePtr"); + funcTable.Load(219, "ImPlot_PlotHeatmap_S8Ptr"); + funcTable.Load(220, "ImPlot_PlotHeatmap_S16Ptr"); + funcTable.Load(221, "ImPlot_PlotHeatmap_U16Ptr"); + funcTable.Load(222, "ImPlot_PlotHeatmap_S32Ptr"); + funcTable.Load(223, "ImPlot_PlotHeatmap_U32Ptr"); + funcTable.Load(224, "ImPlot_PlotHeatmap_S64Ptr"); + funcTable.Load(225, "ImPlot_PlotHeatmap_U64Ptr"); + funcTable.Load(226, "ImPlot_PlotHistogram_FloatPtr"); + funcTable.Load(227, "ImPlot_PlotHistogram_doublePtr"); + funcTable.Load(228, "ImPlot_PlotHistogram_S8Ptr"); + funcTable.Load(229, "ImPlot_PlotHistogram_S16Ptr"); + funcTable.Load(230, "ImPlot_PlotHistogram_U16Ptr"); + funcTable.Load(231, "ImPlot_PlotHistogram_S32Ptr"); + funcTable.Load(232, "ImPlot_PlotHistogram_U32Ptr"); + funcTable.Load(233, "ImPlot_PlotHistogram_S64Ptr"); + funcTable.Load(234, "ImPlot_PlotHistogram_U64Ptr"); + funcTable.Load(235, "ImPlot_PlotHistogram2D_FloatPtr"); + funcTable.Load(236, "ImPlot_PlotHistogram2D_doublePtr"); + funcTable.Load(237, "ImPlot_PlotHistogram2D_S8Ptr"); + funcTable.Load(238, "ImPlot_PlotHistogram2D_S16Ptr"); + funcTable.Load(239, "ImPlot_PlotHistogram2D_U16Ptr"); + funcTable.Load(240, "ImPlot_PlotHistogram2D_S32Ptr"); + funcTable.Load(241, "ImPlot_PlotHistogram2D_U32Ptr"); + funcTable.Load(242, "ImPlot_PlotHistogram2D_S64Ptr"); + funcTable.Load(243, "ImPlot_PlotHistogram2D_U64Ptr"); + funcTable.Load(244, "ImPlot_PlotDigital_FloatPtr"); + funcTable.Load(245, "ImPlot_PlotDigital_doublePtr"); + funcTable.Load(246, "ImPlot_PlotDigital_S8Ptr"); + funcTable.Load(247, "ImPlot_PlotDigital_S16Ptr"); + funcTable.Load(248, "ImPlot_PlotDigital_U16Ptr"); + funcTable.Load(249, "ImPlot_PlotDigital_S32Ptr"); + funcTable.Load(250, "ImPlot_PlotDigital_U32Ptr"); + funcTable.Load(251, "ImPlot_PlotDigital_S64Ptr"); + funcTable.Load(252, "ImPlot_PlotDigital_U64Ptr"); + funcTable.Load(253, "ImPlot_PlotImage"); + funcTable.Load(254, "ImPlot_PlotText"); + funcTable.Load(255, "ImPlot_PlotDummy"); + funcTable.Load(256, "ImPlot_DragPoint"); + funcTable.Load(257, "ImPlot_DragLineX"); + funcTable.Load(258, "ImPlot_DragLineY"); + funcTable.Load(259, "ImPlot_DragRect"); + funcTable.Load(260, "ImPlot_Annotation_Bool"); + funcTable.Load(261, "ImPlot_Annotation_Str"); + funcTable.Load(262, "ImPlot_AnnotationV"); + funcTable.Load(263, "ImPlot_TagX_Bool"); + funcTable.Load(264, "ImPlot_TagX_Str"); + funcTable.Load(265, "ImPlot_TagXV"); + funcTable.Load(266, "ImPlot_TagY_Bool"); + funcTable.Load(267, "ImPlot_TagY_Str"); + funcTable.Load(268, "ImPlot_TagYV"); + funcTable.Load(269, "ImPlot_SetAxis"); + funcTable.Load(270, "ImPlot_SetAxes"); + funcTable.Load(271, "ImPlot_PixelsToPlot_Vec2"); + funcTable.Load(272, "ImPlot_PixelsToPlot_Float"); + funcTable.Load(273, "ImPlot_PlotToPixels_PlotPoInt"); + funcTable.Load(274, "ImPlot_PlotToPixels_double"); + funcTable.Load(275, "ImPlot_GetPlotPos"); + funcTable.Load(276, "ImPlot_GetPlotSize"); + funcTable.Load(277, "ImPlot_GetPlotMousePos"); + funcTable.Load(278, "ImPlot_GetPlotLimits"); + funcTable.Load(279, "ImPlot_IsPlotHovered"); + funcTable.Load(280, "ImPlot_IsAxisHovered"); + funcTable.Load(281, "ImPlot_IsSubplotsHovered"); + funcTable.Load(282, "ImPlot_IsPlotSelected"); + funcTable.Load(283, "ImPlot_GetPlotSelection"); + funcTable.Load(284, "ImPlot_CancelPlotSelection"); + funcTable.Load(285, "ImPlot_HideNextItem"); + funcTable.Load(286, "ImPlot_BeginAlignedPlots"); + funcTable.Load(287, "ImPlot_EndAlignedPlots"); + funcTable.Load(288, "ImPlot_BeginLegendPopup"); + funcTable.Load(289, "ImPlot_EndLegendPopup"); + funcTable.Load(290, "ImPlot_IsLegendEntryHovered"); + funcTable.Load(291, "ImPlot_BeginDragDropTargetPlot"); + funcTable.Load(292, "ImPlot_BeginDragDropTargetAxis"); + funcTable.Load(293, "ImPlot_BeginDragDropTargetLegend"); + funcTable.Load(294, "ImPlot_EndDragDropTarget"); + funcTable.Load(295, "ImPlot_BeginDragDropSourcePlot"); + funcTable.Load(296, "ImPlot_BeginDragDropSourceAxis"); + funcTable.Load(297, "ImPlot_BeginDragDropSourceItem"); + funcTable.Load(298, "ImPlot_EndDragDropSource"); + funcTable.Load(299, "ImPlot_GetStyle"); + funcTable.Load(300, "ImPlot_StyleColorsAuto"); + funcTable.Load(301, "ImPlot_StyleColorsClassic"); + funcTable.Load(302, "ImPlot_StyleColorsDark"); + funcTable.Load(303, "ImPlot_StyleColorsLight"); + funcTable.Load(304, "ImPlot_PushStyleColor_U32"); + funcTable.Load(305, "ImPlot_PushStyleColor_Vec4"); + funcTable.Load(306, "ImPlot_PopStyleColor"); + funcTable.Load(307, "ImPlot_PushStyleVar_Float"); + funcTable.Load(308, "ImPlot_PushStyleVar_Int"); + funcTable.Load(309, "ImPlot_PushStyleVar_Vec2"); + funcTable.Load(310, "ImPlot_PopStyleVar"); + funcTable.Load(311, "ImPlot_SetNextLineStyle"); + funcTable.Load(312, "ImPlot_SetNextFillStyle"); + funcTable.Load(313, "ImPlot_SetNextMarkerStyle"); + funcTable.Load(314, "ImPlot_SetNextErrorBarStyle"); + funcTable.Load(315, "ImPlot_GetLastItemColor"); + funcTable.Load(316, "ImPlot_GetStyleColorName"); + funcTable.Load(317, "ImPlot_GetMarkerName"); + funcTable.Load(318, "ImPlot_AddColormap_Vec4Ptr"); + funcTable.Load(319, "ImPlot_AddColormap_U32Ptr"); + funcTable.Load(320, "ImPlot_GetColormapCount"); + funcTable.Load(321, "ImPlot_GetColormapName"); + funcTable.Load(322, "ImPlot_GetColormapIndex"); + funcTable.Load(323, "ImPlot_PushColormap_PlotColormap"); + funcTable.Load(324, "ImPlot_PushColormap_Str"); + funcTable.Load(325, "ImPlot_PopColormap"); + funcTable.Load(326, "ImPlot_NextColormapColor"); + funcTable.Load(327, "ImPlot_GetColormapSize"); + funcTable.Load(328, "ImPlot_GetColormapColor"); + funcTable.Load(329, "ImPlot_SampleColormap"); + funcTable.Load(330, "ImPlot_ColormapScale"); + funcTable.Load(331, "ImPlot_ColormapSlider"); + funcTable.Load(332, "ImPlot_ColormapButton"); + funcTable.Load(333, "ImPlot_BustColorCache"); + funcTable.Load(334, "ImPlot_GetInputMap"); + funcTable.Load(335, "ImPlot_MapInputDefault"); + funcTable.Load(336, "ImPlot_MapInputReverse"); + funcTable.Load(337, "ImPlot_ItemIcon_Vec4"); + funcTable.Load(338, "ImPlot_ItemIcon_U32"); + funcTable.Load(339, "ImPlot_ColormapIcon"); + funcTable.Load(340, "ImPlot_GetPlotDrawList"); + funcTable.Load(341, "ImPlot_PushPlotClipRect"); + funcTable.Load(342, "ImPlot_PopPlotClipRect"); + funcTable.Load(343, "ImPlot_ShowStyleSelector"); + funcTable.Load(344, "ImPlot_ShowColormapSelector"); + funcTable.Load(345, "ImPlot_ShowInputMapSelector"); + funcTable.Load(346, "ImPlot_ShowStyleEditor"); + funcTable.Load(347, "ImPlot_ShowUserGuide"); + funcTable.Load(348, "ImPlot_ShowMetricsWindow"); + funcTable.Load(349, "ImPlot_ShowDemoWindow"); + funcTable.Load(350, "ImPlot_ImLog10_Float"); + funcTable.Load(351, "ImPlot_ImLog10_double"); + funcTable.Load(352, "ImPlot_ImSinh_Float"); + funcTable.Load(353, "ImPlot_ImSinh_double"); + funcTable.Load(354, "ImPlot_ImAsinh_Float"); + funcTable.Load(355, "ImPlot_ImAsinh_double"); + funcTable.Load(356, "ImPlot_ImRemap_Float"); + funcTable.Load(357, "ImPlot_ImRemap_double"); + funcTable.Load(358, "ImPlot_ImRemap_S8"); + funcTable.Load(359, "ImPlot_ImRemap_S16"); + funcTable.Load(360, "ImPlot_ImRemap_U16"); + funcTable.Load(361, "ImPlot_ImRemap_S32"); + funcTable.Load(362, "ImPlot_ImRemap_U32"); + funcTable.Load(363, "ImPlot_ImRemap_S64"); + funcTable.Load(364, "ImPlot_ImRemap_U64"); + funcTable.Load(365, "ImPlot_ImRemap01_Float"); + funcTable.Load(366, "ImPlot_ImRemap01_double"); + funcTable.Load(367, "ImPlot_ImRemap01_S8"); + funcTable.Load(368, "ImPlot_ImRemap01_S16"); + funcTable.Load(369, "ImPlot_ImRemap01_U16"); + funcTable.Load(370, "ImPlot_ImRemap01_S32"); + funcTable.Load(371, "ImPlot_ImRemap01_U32"); + funcTable.Load(372, "ImPlot_ImRemap01_S64"); + funcTable.Load(373, "ImPlot_ImRemap01_U64"); + funcTable.Load(374, "ImPlot_ImPosMod"); + funcTable.Load(375, "ImPlot_ImNan"); + funcTable.Load(376, "ImPlot_ImNanOrInf"); + funcTable.Load(377, "ImPlot_ImConstrainNan"); + funcTable.Load(378, "ImPlot_ImConstrainInf"); + funcTable.Load(379, "ImPlot_ImConstrainLog"); + funcTable.Load(380, "ImPlot_ImConstrainTime"); + funcTable.Load(381, "ImPlot_ImAlmostEqual"); + funcTable.Load(382, "ImPlot_ImMinArray_FloatPtr"); + funcTable.Load(383, "ImPlot_ImMinArray_doublePtr"); + funcTable.Load(384, "ImPlot_ImMinArray_S8Ptr"); + funcTable.Load(385, "ImPlot_ImMinArray_S16Ptr"); + funcTable.Load(386, "ImPlot_ImMinArray_U16Ptr"); + funcTable.Load(387, "ImPlot_ImMinArray_S32Ptr"); + funcTable.Load(388, "ImPlot_ImMinArray_U32Ptr"); + funcTable.Load(389, "ImPlot_ImMinArray_S64Ptr"); + funcTable.Load(390, "ImPlot_ImMinArray_U64Ptr"); + funcTable.Load(391, "ImPlot_ImMaxArray_FloatPtr"); + funcTable.Load(392, "ImPlot_ImMaxArray_doublePtr"); + funcTable.Load(393, "ImPlot_ImMaxArray_S8Ptr"); + funcTable.Load(394, "ImPlot_ImMaxArray_S16Ptr"); + funcTable.Load(395, "ImPlot_ImMaxArray_U16Ptr"); + funcTable.Load(396, "ImPlot_ImMaxArray_S32Ptr"); + funcTable.Load(397, "ImPlot_ImMaxArray_U32Ptr"); + funcTable.Load(398, "ImPlot_ImMaxArray_S64Ptr"); + funcTable.Load(399, "ImPlot_ImMaxArray_U64Ptr"); + funcTable.Load(400, "ImPlot_ImMinMaxArray_FloatPtr"); + funcTable.Load(401, "ImPlot_ImMinMaxArray_doublePtr"); + funcTable.Load(402, "ImPlot_ImMinMaxArray_S8Ptr"); + funcTable.Load(403, "ImPlot_ImMinMaxArray_S16Ptr"); + funcTable.Load(404, "ImPlot_ImMinMaxArray_U16Ptr"); + funcTable.Load(405, "ImPlot_ImMinMaxArray_S32Ptr"); + funcTable.Load(406, "ImPlot_ImMinMaxArray_U32Ptr"); + funcTable.Load(407, "ImPlot_ImMinMaxArray_S64Ptr"); + funcTable.Load(408, "ImPlot_ImMinMaxArray_U64Ptr"); + funcTable.Load(409, "ImPlot_ImSum_FloatPtr"); + funcTable.Load(410, "ImPlot_ImSum_doublePtr"); + funcTable.Load(411, "ImPlot_ImSum_S8Ptr"); + funcTable.Load(412, "ImPlot_ImSum_S16Ptr"); + funcTable.Load(413, "ImPlot_ImSum_U16Ptr"); + funcTable.Load(414, "ImPlot_ImSum_S32Ptr"); + funcTable.Load(415, "ImPlot_ImSum_U32Ptr"); + funcTable.Load(416, "ImPlot_ImSum_S64Ptr"); + funcTable.Load(417, "ImPlot_ImSum_U64Ptr"); + funcTable.Load(418, "ImPlot_ImMean_FloatPtr"); + funcTable.Load(419, "ImPlot_ImMean_doublePtr"); + funcTable.Load(420, "ImPlot_ImMean_S8Ptr"); + funcTable.Load(421, "ImPlot_ImMean_S16Ptr"); + funcTable.Load(422, "ImPlot_ImMean_U16Ptr"); + funcTable.Load(423, "ImPlot_ImMean_S32Ptr"); + funcTable.Load(424, "ImPlot_ImMean_U32Ptr"); + funcTable.Load(425, "ImPlot_ImMean_S64Ptr"); + funcTable.Load(426, "ImPlot_ImMean_U64Ptr"); + funcTable.Load(427, "ImPlot_ImStdDev_FloatPtr"); + funcTable.Load(428, "ImPlot_ImStdDev_doublePtr"); + funcTable.Load(429, "ImPlot_ImStdDev_S8Ptr"); + funcTable.Load(430, "ImPlot_ImStdDev_S16Ptr"); + funcTable.Load(431, "ImPlot_ImStdDev_U16Ptr"); + funcTable.Load(432, "ImPlot_ImStdDev_S32Ptr"); + funcTable.Load(433, "ImPlot_ImStdDev_U32Ptr"); + funcTable.Load(434, "ImPlot_ImStdDev_S64Ptr"); + funcTable.Load(435, "ImPlot_ImStdDev_U64Ptr"); + funcTable.Load(436, "ImPlot_ImMixU32"); + funcTable.Load(437, "ImPlot_ImLerpU32"); + funcTable.Load(438, "ImPlot_ImAlphaU32"); + funcTable.Load(439, "ImPlot_ImOverlaps_Float"); + funcTable.Load(440, "ImPlot_ImOverlaps_double"); + funcTable.Load(441, "ImPlot_ImOverlaps_S8"); + funcTable.Load(442, "ImPlot_ImOverlaps_S16"); + funcTable.Load(443, "ImPlot_ImOverlaps_U16"); + funcTable.Load(444, "ImPlot_ImOverlaps_S32"); + funcTable.Load(445, "ImPlot_ImOverlaps_U32"); + funcTable.Load(446, "ImPlot_ImOverlaps_S64"); + funcTable.Load(447, "ImPlot_ImOverlaps_U64"); + funcTable.Load(448, "ImPlotDateTimeSpec_ImPlotDateTimeSpec_Nil"); + funcTable.Load(449, "ImPlotDateTimeSpec_destroy"); + funcTable.Load(450, "ImPlotDateTimeSpec_ImPlotDateTimeSpec_PlotDateFmt"); + funcTable.Load(451, "ImPlotTime_ImPlotTime_Nil"); + funcTable.Load(452, "ImPlotTime_destroy"); + funcTable.Load(453, "ImPlotTime_ImPlotTime_time_t"); + funcTable.Load(454, "ImPlotTime_RollOver"); + funcTable.Load(455, "ImPlotTime_ToDouble"); + funcTable.Load(456, "ImPlotTime_FromDouble"); + funcTable.Load(457, "ImPlotColormapData_ImPlotColormapData"); + funcTable.Load(458, "ImPlotColormapData_destroy"); + funcTable.Load(459, "ImPlotColormapData_Append"); + funcTable.Load(460, "ImPlotColormapData__AppendTable"); + funcTable.Load(461, "ImPlotColormapData_RebuildTables"); + funcTable.Load(462, "ImPlotColormapData_IsQual"); + funcTable.Load(463, "ImPlotColormapData_GetName"); + funcTable.Load(464, "ImPlotColormapData_GetIndex"); + funcTable.Load(465, "ImPlotColormapData_GetKeys"); + funcTable.Load(466, "ImPlotColormapData_GetKeyCount"); + funcTable.Load(467, "ImPlotColormapData_GetKeyColor"); + funcTable.Load(468, "ImPlotColormapData_SetKeyColor"); + funcTable.Load(469, "ImPlotColormapData_GetTable"); + funcTable.Load(470, "ImPlotColormapData_GetTableSize"); + funcTable.Load(471, "ImPlotColormapData_GetTableColor"); + funcTable.Load(472, "ImPlotColormapData_LerpTable"); + funcTable.Load(473, "ImPlotPointError_ImPlotPointError"); + funcTable.Load(474, "ImPlotPointError_destroy"); + funcTable.Load(475, "ImPlotAnnotationCollection_ImPlotAnnotationCollection"); + funcTable.Load(476, "ImPlotAnnotationCollection_destroy"); + funcTable.Load(477, "ImPlotAnnotationCollection_AppendV"); + funcTable.Load(478, "ImPlotAnnotationCollection_Append"); + funcTable.Load(479, "ImPlotAnnotationCollection_GetText"); + funcTable.Load(480, "ImPlotAnnotationCollection_Reset"); + funcTable.Load(481, "ImPlotTagCollection_ImPlotTagCollection"); + funcTable.Load(482, "ImPlotTagCollection_destroy"); + funcTable.Load(483, "ImPlotTagCollection_AppendV"); + funcTable.Load(484, "ImPlotTagCollection_Append"); + funcTable.Load(485, "ImPlotTagCollection_GetText"); + funcTable.Load(486, "ImPlotTagCollection_Reset"); + funcTable.Load(487, "ImPlotTick_ImPlotTick"); + funcTable.Load(488, "ImPlotTick_destroy"); + funcTable.Load(489, "ImPlotTicker_ImPlotTicker"); + funcTable.Load(490, "ImPlotTicker_destroy"); + funcTable.Load(491, "ImPlotTicker_AddTick_doubleStr"); + funcTable.Load(492, "ImPlotTicker_AddTick_doublePlotFormatter"); + funcTable.Load(493, "ImPlotTicker_AddTick_PlotTick"); + funcTable.Load(494, "ImPlotTicker_GetText_Int"); + funcTable.Load(495, "ImPlotTicker_GetText_PlotTick"); + funcTable.Load(496, "ImPlotTicker_OverrideSizeLate"); + funcTable.Load(497, "ImPlotTicker_Reset"); + funcTable.Load(498, "ImPlotTicker_TickCount"); + funcTable.Load(499, "ImPlotAxis_ImPlotAxis"); + funcTable.Load(500, "ImPlotAxis_destroy"); + funcTable.Load(501, "ImPlotAxis_Reset"); + funcTable.Load(502, "ImPlotAxis_SetMin"); + funcTable.Load(503, "ImPlotAxis_SetMax"); + funcTable.Load(504, "ImPlotAxis_SetRange_double"); + funcTable.Load(505, "ImPlotAxis_SetRange_PlotRange"); + funcTable.Load(506, "ImPlotAxis_SetAspect"); + funcTable.Load(507, "ImPlotAxis_PixelSize"); + funcTable.Load(508, "ImPlotAxis_GetAspect"); + funcTable.Load(509, "ImPlotAxis_Constrain"); + funcTable.Load(510, "ImPlotAxis_UpdateTransformCache"); + funcTable.Load(511, "ImPlotAxis_PlotToPixels"); + funcTable.Load(512, "ImPlotAxis_PixelsToPlot"); + funcTable.Load(513, "ImPlotAxis_ExtendFit"); + funcTable.Load(514, "ImPlotAxis_ExtendFitWith"); + funcTable.Load(515, "ImPlotAxis_ApplyFit"); + funcTable.Load(516, "ImPlotAxis_HasLabel"); + funcTable.Load(517, "ImPlotAxis_HasGridLines"); + funcTable.Load(518, "ImPlotAxis_HasTickLabels"); + funcTable.Load(519, "ImPlotAxis_HasTickMarks"); + funcTable.Load(520, "ImPlotAxis_WillRender"); + funcTable.Load(521, "ImPlotAxis_IsOpposite"); + funcTable.Load(522, "ImPlotAxis_IsInverted"); + funcTable.Load(523, "ImPlotAxis_IsForeground"); + funcTable.Load(524, "ImPlotAxis_IsAutoFitting"); + funcTable.Load(525, "ImPlotAxis_CanInitFit"); + funcTable.Load(526, "ImPlotAxis_IsRangeLocked"); + funcTable.Load(527, "ImPlotAxis_IsLockedMin"); + funcTable.Load(528, "ImPlotAxis_IsLockedMax"); + funcTable.Load(529, "ImPlotAxis_IsLocked"); + funcTable.Load(530, "ImPlotAxis_IsInputLockedMin"); + funcTable.Load(531, "ImPlotAxis_IsInputLockedMax"); + funcTable.Load(532, "ImPlotAxis_IsInputLocked"); + funcTable.Load(533, "ImPlotAxis_HasMenus"); + funcTable.Load(534, "ImPlotAxis_IsPanLocked"); + funcTable.Load(535, "ImPlotAxis_PushLinks"); + funcTable.Load(536, "ImPlotAxis_PullLinks"); + funcTable.Load(537, "ImPlotAlignmentData_ImPlotAlignmentData"); + funcTable.Load(538, "ImPlotAlignmentData_destroy"); + funcTable.Load(539, "ImPlotAlignmentData_Begin"); + funcTable.Load(540, "ImPlotAlignmentData_Update"); + funcTable.Load(541, "ImPlotAlignmentData_End"); + funcTable.Load(542, "ImPlotAlignmentData_Reset"); + funcTable.Load(543, "ImPlotItem_ImPlotItem"); + funcTable.Load(544, "ImPlotItem_destroy"); + funcTable.Load(545, "ImPlotLegend_ImPlotLegend"); + funcTable.Load(546, "ImPlotLegend_destroy"); + funcTable.Load(547, "ImPlotLegend_Reset"); + funcTable.Load(548, "ImPlotItemGroup_ImPlotItemGroup"); + funcTable.Load(549, "ImPlotItemGroup_destroy"); + funcTable.Load(550, "ImPlotItemGroup_GetItemCount"); + funcTable.Load(551, "ImPlotItemGroup_GetItemID"); + funcTable.Load(552, "ImPlotItemGroup_GetItem_ID"); + funcTable.Load(553, "ImPlotItemGroup_GetItem_Str"); + funcTable.Load(554, "ImPlotItemGroup_GetOrAddItem"); + funcTable.Load(555, "ImPlotItemGroup_GetItemByIndex"); + funcTable.Load(556, "ImPlotItemGroup_GetItemIndex"); + funcTable.Load(557, "ImPlotItemGroup_GetLegendCount"); + funcTable.Load(558, "ImPlotItemGroup_GetLegendItem"); + funcTable.Load(559, "ImPlotItemGroup_GetLegendLabel"); + funcTable.Load(560, "ImPlotItemGroup_Reset"); + funcTable.Load(561, "ImPlotPlot_ImPlotPlot"); + funcTable.Load(562, "ImPlotPlot_destroy"); + funcTable.Load(563, "ImPlotPlot_IsInputLocked"); + funcTable.Load(564, "ImPlotPlot_ClearTextBuffer"); + funcTable.Load(565, "ImPlotPlot_SetTitle"); + funcTable.Load(566, "ImPlotPlot_HasTitle"); + funcTable.Load(567, "ImPlotPlot_GetTitle"); + funcTable.Load(568, "ImPlotPlot_XAxis_Nil"); + funcTable.Load(569, "ImPlotPlot_XAxis__const"); + funcTable.Load(570, "ImPlotPlot_YAxis_Nil"); + funcTable.Load(571, "ImPlotPlot_YAxis__const"); + funcTable.Load(572, "ImPlotPlot_EnabledAxesX"); + funcTable.Load(573, "ImPlotPlot_EnabledAxesY"); + funcTable.Load(574, "ImPlotPlot_SetAxisLabel"); + funcTable.Load(575, "ImPlotPlot_GetAxisLabel"); + funcTable.Load(576, "ImPlotSubplot_ImPlotSubplot"); + funcTable.Load(577, "ImPlotSubplot_destroy"); + funcTable.Load(578, "ImPlotNextPlotData_ImPlotNextPlotData"); + funcTable.Load(579, "ImPlotNextPlotData_destroy"); + funcTable.Load(580, "ImPlotNextPlotData_Reset"); + funcTable.Load(581, "ImPlotNextItemData_ImPlotNextItemData"); + funcTable.Load(582, "ImPlotNextItemData_destroy"); + funcTable.Load(583, "ImPlotNextItemData_Reset"); + funcTable.Load(584, "ImPlot_Initialize"); + funcTable.Load(585, "ImPlot_ResetCtxForNextPlot"); + funcTable.Load(586, "ImPlot_ResetCtxForNextAlignedPlots"); + funcTable.Load(587, "ImPlot_ResetCtxForNextSubplot"); + funcTable.Load(588, "ImPlot_GetPlot"); + funcTable.Load(589, "ImPlot_GetCurrentPlot"); + funcTable.Load(590, "ImPlot_BustPlotCache"); + funcTable.Load(591, "ImPlot_ShowPlotContextMenu"); + funcTable.Load(592, "ImPlot_SetupLock"); + funcTable.Load(593, "ImPlot_SubplotNextCell"); + funcTable.Load(594, "ImPlot_ShowSubplotsContextMenu"); + funcTable.Load(595, "ImPlot_BeginItem"); + funcTable.Load(596, "ImPlot_EndItem"); + funcTable.Load(597, "ImPlot_RegisterOrGetItem"); + funcTable.Load(598, "ImPlot_GetItem"); + funcTable.Load(599, "ImPlot_GetCurrentItem"); + funcTable.Load(600, "ImPlot_BustItemCache"); + funcTable.Load(601, "ImPlot_AnyAxesInputLocked"); + funcTable.Load(602, "ImPlot_AllAxesInputLocked"); + funcTable.Load(603, "ImPlot_AnyAxesHeld"); + funcTable.Load(604, "ImPlot_AnyAxesHovered"); + funcTable.Load(605, "ImPlot_FitThisFrame"); + funcTable.Load(606, "ImPlot_FitPointX"); + funcTable.Load(607, "ImPlot_FitPointY"); + funcTable.Load(608, "ImPlot_FitPoint"); + funcTable.Load(609, "ImPlot_RangesOverlap"); + funcTable.Load(610, "ImPlot_ShowAxisContextMenu"); + funcTable.Load(611, "ImPlot_GetLocationPos"); + funcTable.Load(612, "ImPlot_CalcLegendSize"); + funcTable.Load(613, "ImPlot_ShowLegendEntries"); + funcTable.Load(614, "ImPlot_ShowAltLegend"); + funcTable.Load(615, "ImPlot_ShowLegendContextMenu"); + funcTable.Load(616, "ImPlot_LabelAxisValue"); + funcTable.Load(617, "ImPlot_GetItemData"); + funcTable.Load(618, "ImPlot_IsColorAuto_Vec4"); + funcTable.Load(619, "ImPlot_IsColorAuto_PlotCol"); + funcTable.Load(620, "ImPlot_GetAutoColor"); + funcTable.Load(621, "ImPlot_GetStyleColorVec4"); + funcTable.Load(622, "ImPlot_GetStyleColorU32"); + funcTable.Load(623, "ImPlot_AddTextVertical"); + funcTable.Load(624, "ImPlot_AddTextCentered"); + funcTable.Load(625, "ImPlot_CalcTextSizeVertical"); + funcTable.Load(626, "ImPlot_CalcTextColor_Vec4"); + funcTable.Load(627, "ImPlot_CalcTextColor_U32"); + funcTable.Load(628, "ImPlot_CalcHoverColor"); + funcTable.Load(629, "ImPlot_ClampLabelPos"); + funcTable.Load(630, "ImPlot_GetColormapColorU32"); + funcTable.Load(631, "ImPlot_NextColormapColorU32"); + funcTable.Load(632, "ImPlot_SampleColormapU32"); + funcTable.Load(633, "ImPlot_RenderColorBar"); + funcTable.Load(634, "ImPlot_NiceNum"); + funcTable.Load(635, "ImPlot_OrderOfMagnitude"); + funcTable.Load(636, "ImPlot_OrderToPrecision"); + funcTable.Load(637, "ImPlot_Precision"); + funcTable.Load(638, "ImPlot_RoundTo"); + funcTable.Load(639, "ImPlot_Intersection"); + funcTable.Load(640, "ImPlot_FillRange_Vector_Float_Ptr"); + funcTable.Load(641, "ImPlot_FillRange_Vector_double_Ptr"); + funcTable.Load(642, "ImPlot_FillRange_Vector_S8_Ptr"); + funcTable.Load(643, "ImPlot_FillRange_Vector_U8_Ptr"); + funcTable.Load(644, "ImPlot_FillRange_Vector_S16_Ptr"); + funcTable.Load(645, "ImPlot_FillRange_Vector_U16_Ptr"); + funcTable.Load(646, "ImPlot_FillRange_Vector_S32_Ptr"); + funcTable.Load(647, "ImPlot_FillRange_Vector_U32_Ptr"); + funcTable.Load(648, "ImPlot_FillRange_Vector_S64_Ptr"); + funcTable.Load(649, "ImPlot_FillRange_Vector_U64_Ptr"); + funcTable.Load(650, "ImPlot_CalculateBins_FloatPtr"); + funcTable.Load(651, "ImPlot_CalculateBins_doublePtr"); + funcTable.Load(652, "ImPlot_CalculateBins_S8Ptr"); + funcTable.Load(653, "ImPlot_CalculateBins_S16Ptr"); + funcTable.Load(654, "ImPlot_CalculateBins_U16Ptr"); + funcTable.Load(655, "ImPlot_CalculateBins_S32Ptr"); + funcTable.Load(656, "ImPlot_CalculateBins_U32Ptr"); + funcTable.Load(657, "ImPlot_CalculateBins_S64Ptr"); + funcTable.Load(658, "ImPlot_CalculateBins_U64Ptr"); + funcTable.Load(659, "ImPlot_IsLeapYear"); + funcTable.Load(660, "ImPlot_GetDaysInMonth"); + funcTable.Load(661, "ImPlot_MkGmtTime"); + funcTable.Load(662, "ImPlot_GetGmtTime"); + funcTable.Load(663, "ImPlot_MkLocTime"); + funcTable.Load(664, "ImPlot_GetLocTime"); + funcTable.Load(665, "ImPlot_MakeTime"); + funcTable.Load(666, "ImPlot_GetYear"); + funcTable.Load(667, "ImPlot_AddTime"); + funcTable.Load(668, "ImPlot_FloorTime"); + funcTable.Load(669, "ImPlot_CeilTime"); + funcTable.Load(670, "ImPlot_RoundTime"); + funcTable.Load(671, "ImPlot_CombineDateTime"); + funcTable.Load(672, "ImPlot_FormatTime"); + funcTable.Load(673, "ImPlot_FormatDate"); + funcTable.Load(674, "ImPlot_FormatDateTime"); + funcTable.Load(675, "ImPlot_ShowDatePicker"); + funcTable.Load(676, "ImPlot_ShowTimePicker"); + funcTable.Load(677, "ImPlot_TransformForward_Log10"); + funcTable.Load(678, "ImPlot_TransformInverse_Log10"); + funcTable.Load(679, "ImPlot_TransformForward_SymLog"); + funcTable.Load(680, "ImPlot_TransformInverse_SymLog"); + funcTable.Load(681, "ImPlot_TransformForward_Logit"); + funcTable.Load(682, "ImPlot_TransformInverse_Logit"); + funcTable.Load(683, "ImPlot_Formatter_Default"); + funcTable.Load(684, "ImPlot_Formatter_Logit"); + funcTable.Load(685, "ImPlot_Formatter_Time"); + funcTable.Load(686, "ImPlot_Locator_Default"); + funcTable.Load(687, "ImPlot_Locator_Time"); + funcTable.Load(688, "ImPlot_Locator_Log10"); + funcTable.Load(689, "ImPlot_Locator_SymLog"); + funcTable.Load(690, "ImPlot_PlotLineG"); + funcTable.Load(691, "ImPlot_PlotScatterG"); + funcTable.Load(692, "ImPlot_PlotShadedG"); + funcTable.Load(693, "ImPlot_PlotBarsG"); + funcTable.Load(694, "ImPlot_PlotDigitalG"); + } + + public static void FreeApi() + { + funcTable.Free(); + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.000.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.000.cs new file mode 100644 index 000000000..1e7e1b53e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.000.cs @@ -0,0 +1,5019 @@ +// ------------------------------------------------------------------------------ +// +// 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. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotPoint* ImPlotPointNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[0])(); + #else + return (ImPlotPoint*)((delegate* unmanaged[Cdecl])funcTable[0])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPointPtr ImPlotPoint() + { + ImPlotPointPtr ret = ImPlotPointNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotPoint* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[1])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[1])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotPointPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotPoint self) + { + fixed (ImPlotPoint* pself = &self) + { + DestroyNative((ImPlotPoint*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotPoint* ImPlotPointNative(double x, double y) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[2])(x, y); + #else + return (ImPlotPoint*)((delegate* unmanaged[Cdecl])funcTable[2])(x, y); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPointPtr ImPlotPoint(double x, double y) + { + ImPlotPointPtr ret = ImPlotPointNative(x, y); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotPoint* ImPlotPointNative(Vector2 p) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[3])(p); + #else + return (ImPlotPoint*)((delegate* unmanaged[Cdecl])funcTable[3])(p); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPointPtr ImPlotPoint(Vector2 p) + { + ImPlotPointPtr ret = ImPlotPointNative(p); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotRange* ImPlotRangeNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[4])(); + #else + return (ImPlotRange*)((delegate* unmanaged[Cdecl])funcTable[4])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotRangePtr ImPlotRange() + { + ImPlotRangePtr ret = ImPlotRangeNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotRange* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[5])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[5])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotRangePtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotRange self) + { + fixed (ImPlotRange* pself = &self) + { + DestroyNative((ImPlotRange*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotRange* ImPlotRangeNative(double min, double max) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[6])(min, max); + #else + return (ImPlotRange*)((delegate* unmanaged[Cdecl])funcTable[6])(min, max); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotRangePtr ImPlotRange(double min, double max) + { + ImPlotRangePtr ret = ImPlotRangeNative(min, max); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ContainsNative(ImPlotRange* self, double value) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[7])(self, value); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[7])((nint)self, value); + #endif + } + + /// + /// To be documented. + /// + public static bool Contains(ImPlotRangePtr self, double value) + { + byte ret = ContainsNative(self, value); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Contains(ref ImPlotRange self, double value) + { + fixed (ImPlotRange* pself = &self) + { + byte ret = ContainsNative((ImPlotRange*)pself, value); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double SizeNative(ImPlotRange* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[8])(self); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[8])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static double Size(ImPlotRangePtr self) + { + double ret = SizeNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static double Size(ref ImPlotRange self) + { + fixed (ImPlotRange* pself = &self) + { + double ret = SizeNative((ImPlotRange*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ClampNative(ImPlotRange* self, double value) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[9])(self, value); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[9])((nint)self, value); + #endif + } + + /// + /// To be documented. + /// + public static double Clamp(ImPlotRangePtr self, double value) + { + double ret = ClampNative(self, value); + return ret; + } + + /// + /// To be documented. + /// + public static double Clamp(ref ImPlotRange self, double value) + { + fixed (ImPlotRange* pself = &self) + { + double ret = ClampNative((ImPlotRange*)pself, value); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotRect* ImPlotRectNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[10])(); + #else + return (ImPlotRect*)((delegate* unmanaged[Cdecl])funcTable[10])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotRectPtr ImPlotRect() + { + ImPlotRectPtr ret = ImPlotRectNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotRect* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[11])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[11])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotRectPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotRect self) + { + fixed (ImPlotRect* pself = &self) + { + DestroyNative((ImPlotRect*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotRect* ImPlotRectNative(double xMin, double xMax, double yMin, double yMax) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[12])(xMin, xMax, yMin, yMax); + #else + return (ImPlotRect*)((delegate* unmanaged[Cdecl])funcTable[12])(xMin, xMax, yMin, yMax); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotRectPtr ImPlotRect(double xMin, double xMax, double yMin, double yMax) + { + ImPlotRectPtr ret = ImPlotRectNative(xMin, xMax, yMin, yMax); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ContainsNative(ImPlotRect* self, ImPlotPoint p) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[13])(self, p); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[13])((nint)self, p); + #endif + } + + /// + /// To be documented. + /// + public static bool Contains(ImPlotRectPtr self, ImPlotPoint p) + { + byte ret = ContainsNative(self, p); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Contains(ref ImPlotRect self, ImPlotPoint p) + { + fixed (ImPlotRect* pself = &self) + { + byte ret = ContainsNative((ImPlotRect*)pself, p); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ContainsNative(ImPlotRect* self, double x, double y) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[14])(self, x, y); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[14])((nint)self, x, y); + #endif + } + + /// + /// To be documented. + /// + public static bool Contains(ImPlotRectPtr self, double x, double y) + { + byte ret = ContainsNative(self, x, y); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool Contains(ref ImPlotRect self, double x, double y) + { + fixed (ImPlotRect* pself = &self) + { + byte ret = ContainsNative((ImPlotRect*)pself, x, y); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SizeNative(ImPlotPoint* pOut, ImPlotRect* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[15])(pOut, self); + #else + ((delegate* unmanaged[Cdecl])funcTable[15])((nint)pOut, (nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint Size(ImPlotRectPtr self) + { + ImPlotPoint ret; + SizeNative(&ret, self); + return ret; + } + + /// + /// To be documented. + /// + public static void Size(ImPlotPointPtr pOut, ImPlotRectPtr self) + { + SizeNative(pOut, self); + } + + /// + /// To be documented. + /// + public static void Size(ref ImPlotPoint pOut, ImPlotRectPtr self) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + SizeNative((ImPlotPoint*)ppOut, self); + } + } + + /// + /// To be documented. + /// + public static ImPlotPoint Size(ref ImPlotRect self) + { + fixed (ImPlotRect* pself = &self) + { + ImPlotPoint ret; + SizeNative(&ret, (ImPlotRect*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static void Size(ImPlotPointPtr pOut, ref ImPlotRect self) + { + fixed (ImPlotRect* pself = &self) + { + SizeNative(pOut, (ImPlotRect*)pself); + } + } + + /// + /// To be documented. + /// + public static void Size(ref ImPlotPoint pOut, ref ImPlotRect self) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + fixed (ImPlotRect* pself = &self) + { + SizeNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClampNative(ImPlotPoint* pOut, ImPlotRect* self, ImPlotPoint p) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[16])(pOut, self, p); + #else + ((delegate* unmanaged[Cdecl])funcTable[16])((nint)pOut, (nint)self, p); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint Clamp(ImPlotRectPtr self, ImPlotPoint p) + { + ImPlotPoint ret; + ClampNative(&ret, self, p); + return ret; + } + + /// + /// To be documented. + /// + public static void Clamp(ImPlotPointPtr pOut, ImPlotRectPtr self, ImPlotPoint p) + { + ClampNative(pOut, self, p); + } + + /// + /// To be documented. + /// + public static void Clamp(ref ImPlotPoint pOut, ImPlotRectPtr self, ImPlotPoint p) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + ClampNative((ImPlotPoint*)ppOut, self, p); + } + } + + /// + /// To be documented. + /// + public static ImPlotPoint Clamp(ref ImPlotRect self, ImPlotPoint p) + { + fixed (ImPlotRect* pself = &self) + { + ImPlotPoint ret; + ClampNative(&ret, (ImPlotRect*)pself, p); + return ret; + } + } + + /// + /// To be documented. + /// + public static void Clamp(ImPlotPointPtr pOut, ref ImPlotRect self, ImPlotPoint p) + { + fixed (ImPlotRect* pself = &self) + { + ClampNative(pOut, (ImPlotRect*)pself, p); + } + } + + /// + /// To be documented. + /// + public static void Clamp(ref ImPlotPoint pOut, ref ImPlotRect self, ImPlotPoint p) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + fixed (ImPlotRect* pself = &self) + { + ClampNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself, p); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClampNative(ImPlotPoint* pOut, ImPlotRect* self, double x, double y) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[17])(pOut, self, x, y); + #else + ((delegate* unmanaged[Cdecl])funcTable[17])((nint)pOut, (nint)self, x, y); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint Clamp(ImPlotRectPtr self, double x, double y) + { + ImPlotPoint ret; + ClampNative(&ret, self, x, y); + return ret; + } + + /// + /// To be documented. + /// + public static void Clamp(ImPlotPointPtr pOut, ImPlotRectPtr self, double x, double y) + { + ClampNative(pOut, self, x, y); + } + + /// + /// To be documented. + /// + public static void Clamp(ref ImPlotPoint pOut, ImPlotRectPtr self, double x, double y) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + ClampNative((ImPlotPoint*)ppOut, self, x, y); + } + } + + /// + /// To be documented. + /// + public static ImPlotPoint Clamp(ref ImPlotRect self, double x, double y) + { + fixed (ImPlotRect* pself = &self) + { + ImPlotPoint ret; + ClampNative(&ret, (ImPlotRect*)pself, x, y); + return ret; + } + } + + /// + /// To be documented. + /// + public static void Clamp(ImPlotPointPtr pOut, ref ImPlotRect self, double x, double y) + { + fixed (ImPlotRect* pself = &self) + { + ClampNative(pOut, (ImPlotRect*)pself, x, y); + } + } + + /// + /// To be documented. + /// + public static void Clamp(ref ImPlotPoint pOut, ref ImPlotRect self, double x, double y) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + fixed (ImPlotRect* pself = &self) + { + ClampNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself, x, y); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void MinNative(ImPlotPoint* pOut, ImPlotRect* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[18])(pOut, self); + #else + ((delegate* unmanaged[Cdecl])funcTable[18])((nint)pOut, (nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint Min(ImPlotRectPtr self) + { + ImPlotPoint ret; + MinNative(&ret, self); + return ret; + } + + /// + /// To be documented. + /// + public static void Min(ImPlotPointPtr pOut, ImPlotRectPtr self) + { + MinNative(pOut, self); + } + + /// + /// To be documented. + /// + public static void Min(ref ImPlotPoint pOut, ImPlotRectPtr self) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + MinNative((ImPlotPoint*)ppOut, self); + } + } + + /// + /// To be documented. + /// + public static ImPlotPoint Min(ref ImPlotRect self) + { + fixed (ImPlotRect* pself = &self) + { + ImPlotPoint ret; + MinNative(&ret, (ImPlotRect*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static void Min(ImPlotPointPtr pOut, ref ImPlotRect self) + { + fixed (ImPlotRect* pself = &self) + { + MinNative(pOut, (ImPlotRect*)pself); + } + } + + /// + /// To be documented. + /// + public static void Min(ref ImPlotPoint pOut, ref ImPlotRect self) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + fixed (ImPlotRect* pself = &self) + { + MinNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void MaxNative(ImPlotPoint* pOut, ImPlotRect* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[19])(pOut, self); + #else + ((delegate* unmanaged[Cdecl])funcTable[19])((nint)pOut, (nint)self); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint Max(ImPlotRectPtr self) + { + ImPlotPoint ret; + MaxNative(&ret, self); + return ret; + } + + /// + /// To be documented. + /// + public static void Max(ImPlotPointPtr pOut, ImPlotRectPtr self) + { + MaxNative(pOut, self); + } + + /// + /// To be documented. + /// + public static void Max(ref ImPlotPoint pOut, ImPlotRectPtr self) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + MaxNative((ImPlotPoint*)ppOut, self); + } + } + + /// + /// To be documented. + /// + public static ImPlotPoint Max(ref ImPlotRect self) + { + fixed (ImPlotRect* pself = &self) + { + ImPlotPoint ret; + MaxNative(&ret, (ImPlotRect*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static void Max(ImPlotPointPtr pOut, ref ImPlotRect self) + { + fixed (ImPlotRect* pself = &self) + { + MaxNative(pOut, (ImPlotRect*)pself); + } + } + + /// + /// To be documented. + /// + public static void Max(ref ImPlotPoint pOut, ref ImPlotRect self) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + fixed (ImPlotRect* pself = &self) + { + MaxNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotStyle* ImPlotStyleNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[20])(); + #else + return (ImPlotStyle*)((delegate* unmanaged[Cdecl])funcTable[20])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotStylePtr ImPlotStyle() + { + ImPlotStylePtr ret = ImPlotStyleNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotStyle* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[21])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[21])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotStylePtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotStyle self) + { + fixed (ImPlotStyle* pself = &self) + { + DestroyNative((ImPlotStyle*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotInputMap* ImPlotInputMapNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[22])(); + #else + return (ImPlotInputMap*)((delegate* unmanaged[Cdecl])funcTable[22])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotInputMapPtr ImPlotInputMap() + { + ImPlotInputMapPtr ret = ImPlotInputMapNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotInputMap* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[23])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[23])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotInputMapPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotInputMap self) + { + fixed (ImPlotInputMap* pself = &self) + { + DestroyNative((ImPlotInputMap*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotContext* CreateContextNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[24])(); + #else + return (ImPlotContext*)((delegate* unmanaged[Cdecl])funcTable[24])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotContextPtr CreateContext() + { + ImPlotContextPtr ret = CreateContextNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyContextNative(ImPlotContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[25])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[25])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void DestroyContext(ImPlotContextPtr ctx) + { + DestroyContextNative(ctx); + } + + /// + /// To be documented. + /// + public static void DestroyContext() + { + DestroyContextNative((ImPlotContext*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void DestroyContext(ref ImPlotContext ctx) + { + fixed (ImPlotContext* pctx = &ctx) + { + DestroyContextNative((ImPlotContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotContext* GetCurrentContextNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[26])(); + #else + return (ImPlotContext*)((delegate* unmanaged[Cdecl])funcTable[26])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotContextPtr GetCurrentContext() + { + ImPlotContextPtr ret = GetCurrentContextNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetCurrentContextNative(ImPlotContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[27])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[27])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void SetCurrentContext(ImPlotContextPtr ctx) + { + SetCurrentContextNative(ctx); + } + + /// + /// To be documented. + /// + public static void SetCurrentContext(ref ImPlotContext ctx) + { + fixed (ImPlotContext* pctx = &ctx) + { + SetCurrentContextNative((ImPlotContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetImGuiContextNative(ImGuiContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[28])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[28])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void SetImGuiContext(ImGuiContextPtr ctx) + { + SetImGuiContextNative(ctx); + } + + /// + /// To be documented. + /// + public static void SetImGuiContext(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + SetImGuiContextNative((ImGuiContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginPlotNative(byte* titleId, Vector2 size, ImPlotFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[29])(titleId, size, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[29])((nint)titleId, size, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginPlot(byte* titleId, Vector2 size, ImPlotFlags flags) + { + byte ret = BeginPlotNative(titleId, size, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPlot(byte* titleId, Vector2 size) + { + byte ret = BeginPlotNative(titleId, size, (ImPlotFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPlot(byte* titleId) + { + byte ret = BeginPlotNative(titleId, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPlot(byte* titleId, ImPlotFlags flags) + { + byte ret = BeginPlotNative(titleId, (Vector2)(new Vector2(-1,0)), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ref byte titleId, Vector2 size, ImPlotFlags flags) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, size, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ref byte titleId, Vector2 size) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, size, (ImPlotFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ref byte titleId) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ref byte titleId, ImPlotFlags flags) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ReadOnlySpan titleId, Vector2 size, ImPlotFlags flags) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, size, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ReadOnlySpan titleId, Vector2 size) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, size, (ImPlotFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ReadOnlySpan titleId) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(ReadOnlySpan titleId, ImPlotFlags flags) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginPlot(string titleId, Vector2 size, ImPlotFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPlotNative(pStr0, size, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPlot(string titleId, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPlotNative(pStr0, size, (ImPlotFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPlot(string titleId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPlotNative(pStr0, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginPlot(string titleId, ImPlotFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginPlotNative(pStr0, (Vector2)(new Vector2(-1,0)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndPlotNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[30])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[30])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndPlot() + { + EndPlotNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginSubplotsNative(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[31])(titleId, rows, cols, size, flags, rowRatios, colRatios); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[31])((nint)titleId, rows, cols, size, flags, (nint)rowRatios, (nint)colRatios); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, rowRatios, colRatios); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, rowRatios, (float*)(((void*)0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)(((void*)0)), (float*)(((void*)0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(((void*)0)), (float*)(((void*)0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, float* rowRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(((void*)0))); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, colRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)(((void*)0)), (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(((void*)0)), (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, float* rowRatios) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) + { + fixed (byte* ptitleId = &titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, colRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)(((void*)0)), (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(((void*)0)), (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, float* rowRatios) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) + { + fixed (byte* ptitleId = titleId) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, rowRatios, colRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, rowRatios, (float*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)(((void*)0)), (float*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(((void*)0)), (float*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, float* rowRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)prowRatios, colRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)prowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ref float rowRatios) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, colRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ref float rowRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, colRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ref float rowRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(((void*)0))); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)prowRatios, colRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)prowRatios, (float*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ref float rowRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prowRatios = &rowRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, rowRatios, (float*)pcolRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, rowRatios, (float*)pcolRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) + { + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) + { + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = &titleId) + { + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) + { + fixed (byte* ptitleId = titleId) + { + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* prowRatios = &rowRatios) + { + fixed (float* pcolRatios = &colRatios) + { + byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndSubplotsNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[32])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[32])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndSubplots() + { + EndSubplotsNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisNative(ImAxis axis, byte* label, ImPlotAxisFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[33])(axis, label, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[33])(axis, (nint)label, flags); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, byte* label, ImPlotAxisFlags flags) + { + SetupAxisNative(axis, label, flags); + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, byte* label) + { + SetupAxisNative(axis, label, (ImPlotAxisFlags)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis) + { + SetupAxisNative(axis, (byte*)(((void*)0)), (ImPlotAxisFlags)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, ImPlotAxisFlags flags) + { + SetupAxisNative(axis, (byte*)(((void*)0)), flags); + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, ref byte label, ImPlotAxisFlags flags) + { + fixed (byte* plabel = &label) + { + SetupAxisNative(axis, (byte*)plabel, flags); + } + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, ref byte label) + { + fixed (byte* plabel = &label) + { + SetupAxisNative(axis, (byte*)plabel, (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, ReadOnlySpan label, ImPlotAxisFlags flags) + { + fixed (byte* plabel = label) + { + SetupAxisNative(axis, (byte*)plabel, flags); + } + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + SetupAxisNative(axis, (byte*)plabel, (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, string label, ImPlotAxisFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxisNative(axis, pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxis(ImAxis axis, string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxisNative(axis, pStr0, (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisLimitsNative(ImAxis axis, double vMin, double vMax, ImPlotCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[34])(axis, vMin, vMax, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[34])(axis, vMin, vMax, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisLimits(ImAxis axis, double vMin, double vMax, ImPlotCond cond) + { + SetupAxisLimitsNative(axis, vMin, vMax, cond); + } + + /// + /// To be documented. + /// + public static void SetupAxisLimits(ImAxis axis, double vMin, double vMax) + { + SetupAxisLimitsNative(axis, vMin, vMax, (ImPlotCond)(ImPlotCond.Once)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisLinksNative(ImAxis axis, double* linkMin, double* linkMax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[35])(axis, linkMin, linkMax); + #else + ((delegate* unmanaged[Cdecl])funcTable[35])(axis, (nint)linkMin, (nint)linkMax); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisLinks(ImAxis axis, double* linkMin, double* linkMax) + { + SetupAxisLinksNative(axis, linkMin, linkMax); + } + + /// + /// To be documented. + /// + public static void SetupAxisLinks(ImAxis axis, ref double linkMin, double* linkMax) + { + fixed (double* plinkMin = &linkMin) + { + SetupAxisLinksNative(axis, (double*)plinkMin, linkMax); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisLinks(ImAxis axis, double* linkMin, ref double linkMax) + { + fixed (double* plinkMax = &linkMax) + { + SetupAxisLinksNative(axis, linkMin, (double*)plinkMax); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisLinks(ImAxis axis, ref double linkMin, ref double linkMax) + { + fixed (double* plinkMin = &linkMin) + { + fixed (double* plinkMax = &linkMax) + { + SetupAxisLinksNative(axis, (double*)plinkMin, (double*)plinkMax); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisFormatNative(ImAxis axis, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[36])(axis, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[36])(axis, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisFormat(ImAxis axis, byte* fmt) + { + SetupAxisFormatNative(axis, fmt); + } + + /// + /// To be documented. + /// + public static void SetupAxisFormat(ImAxis axis, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + SetupAxisFormatNative(axis, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisFormat(ImAxis axis, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + SetupAxisFormatNative(axis, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisFormat(ImAxis axis, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxisFormatNative(axis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisFormatNative(ImAxis axis, ImPlotFormatter formatter, void* data) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, void>)funcTable[37])(axis, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), data); + #else + ((delegate* unmanaged[Cdecl])funcTable[37])(axis, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)data); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisFormat(ImAxis axis, ImPlotFormatter formatter, void* data) + { + SetupAxisFormatNative(axis, formatter, data); + } + + /// + /// To be documented. + /// + public static void SetupAxisFormat(ImAxis axis, ImPlotFormatter formatter) + { + SetupAxisFormatNative(axis, formatter, (void*)(((void*)0))); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisTicksNative(ImAxis axis, double* values, int nTicks, byte** labels, byte keepDefault) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[38])(axis, values, nTicks, labels, keepDefault); + #else + ((delegate* unmanaged[Cdecl])funcTable[38])(axis, (nint)values, nTicks, (nint)labels, keepDefault); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, byte** labels, bool keepDefault) + { + SetupAxisTicksNative(axis, values, nTicks, labels, keepDefault ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, byte** labels) + { + SetupAxisTicksNative(axis, values, nTicks, labels, (byte)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks) + { + SetupAxisTicksNative(axis, values, nTicks, (byte**)(((void*)0)), (byte)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, bool keepDefault) + { + SetupAxisTicksNative(axis, values, nTicks, (byte**)(((void*)0)), keepDefault ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, byte** labels, bool keepDefault) + { + fixed (double* pvalues = &values) + { + SetupAxisTicksNative(axis, (double*)pvalues, nTicks, labels, keepDefault ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, byte** labels) + { + fixed (double* pvalues = &values) + { + SetupAxisTicksNative(axis, (double*)pvalues, nTicks, labels, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks) + { + fixed (double* pvalues = &values) + { + SetupAxisTicksNative(axis, (double*)pvalues, nTicks, (byte**)(((void*)0)), (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, bool keepDefault) + { + fixed (double* pvalues = &values) + { + SetupAxisTicksNative(axis, (double*)pvalues, nTicks, (byte**)(((void*)0)), keepDefault ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, string[] labels, bool keepDefault) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labels); + if (labels != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labels.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); + } + SetupAxisTicksNative(axis, values, nTicks, pStrArray0, keepDefault ? (byte)1 : (byte)0); + for (int i = 0; i < labels.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, string[] labels) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labels); + if (labels != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labels.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); + } + SetupAxisTicksNative(axis, values, nTicks, pStrArray0, (byte)(0)); + for (int i = 0; i < labels.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, string[] labels, bool keepDefault) + { + fixed (double* pvalues = &values) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labels); + if (labels != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labels.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); + } + SetupAxisTicksNative(axis, (double*)pvalues, nTicks, pStrArray0, keepDefault ? (byte)1 : (byte)0); + for (int i = 0; i < labels.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, string[] labels) + { + fixed (double* pvalues = &values) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labels); + if (labels != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labels.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); + } + SetupAxisTicksNative(axis, (double*)pvalues, nTicks, pStrArray0, (byte)(0)); + for (int i = 0; i < labels.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisTicksNative(ImAxis axis, double vMin, double vMax, int nTicks, byte** labels, byte keepDefault) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[39])(axis, vMin, vMax, nTicks, labels, keepDefault); + #else + ((delegate* unmanaged[Cdecl])funcTable[39])(axis, vMin, vMax, nTicks, (nint)labels, keepDefault); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, byte** labels, bool keepDefault) + { + SetupAxisTicksNative(axis, vMin, vMax, nTicks, labels, keepDefault ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, byte** labels) + { + SetupAxisTicksNative(axis, vMin, vMax, nTicks, labels, (byte)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks) + { + SetupAxisTicksNative(axis, vMin, vMax, nTicks, (byte**)(((void*)0)), (byte)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, bool keepDefault) + { + SetupAxisTicksNative(axis, vMin, vMax, nTicks, (byte**)(((void*)0)), keepDefault ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, string[] labels, bool keepDefault) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labels); + if (labels != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labels.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); + } + SetupAxisTicksNative(axis, vMin, vMax, nTicks, pStrArray0, keepDefault ? (byte)1 : (byte)0); + for (int i = 0; i < labels.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, string[] labels) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labels); + if (labels != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labels.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); + } + SetupAxisTicksNative(axis, vMin, vMax, nTicks, pStrArray0, (byte)(0)); + for (int i = 0; i < labels.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisScaleNative(ImAxis axis, ImPlotScale scale) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[40])(axis, scale); + #else + ((delegate* unmanaged[Cdecl])funcTable[40])(axis, scale); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisScale(ImAxis axis, ImPlotScale scale) + { + SetupAxisScaleNative(axis, scale); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisScaleNative(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse, void* data) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], delegate*, void*, void>)funcTable[41])(axis, (delegate*)Utils.GetFunctionPointerForDelegate(forward), (delegate*)Utils.GetFunctionPointerForDelegate(inverse), data); + #else + ((delegate* unmanaged[Cdecl])funcTable[41])(axis, (nint)Utils.GetFunctionPointerForDelegate(forward), (nint)Utils.GetFunctionPointerForDelegate(inverse), (nint)data); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisScale(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse, void* data) + { + SetupAxisScaleNative(axis, forward, inverse, data); + } + + /// + /// To be documented. + /// + public static void SetupAxisScale(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse) + { + SetupAxisScaleNative(axis, forward, inverse, (void*)(((void*)0))); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisLimitsConstraintsNative(ImAxis axis, double vMin, double vMax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[42])(axis, vMin, vMax); + #else + ((delegate* unmanaged[Cdecl])funcTable[42])(axis, vMin, vMax); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisLimitsConstraints(ImAxis axis, double vMin, double vMax) + { + SetupAxisLimitsConstraintsNative(axis, vMin, vMax); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxisZoomConstraintsNative(ImAxis axis, double zMin, double zMax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[43])(axis, zMin, zMax); + #else + ((delegate* unmanaged[Cdecl])funcTable[43])(axis, zMin, zMax); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxisZoomConstraints(ImAxis axis, double zMin, double zMax) + { + SetupAxisZoomConstraintsNative(axis, zMin, zMax); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxesNative(byte* xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[44])(xLabel, yLabel, xFlags, yFlags); + #else + ((delegate* unmanaged[Cdecl])funcTable[44])((nint)xLabel, (nint)yLabel, xFlags, yFlags); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + SetupAxesNative(xLabel, yLabel, xFlags, yFlags); + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, byte* yLabel, ImPlotAxisFlags xFlags) + { + SetupAxesNative(xLabel, yLabel, xFlags, (ImPlotAxisFlags)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, byte* yLabel) + { + SetupAxesNative(xLabel, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = &xLabel) + { + SetupAxesNative((byte*)pxLabel, yLabel, xFlags, yFlags); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, byte* yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = &xLabel) + { + SetupAxesNative((byte*)pxLabel, yLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, byte* yLabel) + { + fixed (byte* pxLabel = &xLabel) + { + SetupAxesNative((byte*)pxLabel, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = xLabel) + { + SetupAxesNative((byte*)pxLabel, yLabel, xFlags, yFlags); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, byte* yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = xLabel) + { + SetupAxesNative((byte*)pxLabel, yLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, byte* yLabel) + { + fixed (byte* pxLabel = xLabel) + { + SetupAxesNative((byte*)pxLabel, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative(pStr0, yLabel, xFlags, yFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, byte* yLabel, ImPlotAxisFlags xFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative(pStr0, yLabel, xFlags, (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, byte* yLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative(pStr0, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, yFlags); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, ref byte yLabel) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative(xLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, yFlags); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, ReadOnlySpan yLabel) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative(xLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative(xLabel, pStr0, xFlags, yFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, string yLabel, ImPlotAxisFlags xFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative(xLabel, pStr0, xFlags, (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(byte* xLabel, string yLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative(xLabel, pStr0, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = &xLabel) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = &xLabel) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, ref byte yLabel) + { + fixed (byte* pxLabel = &xLabel) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = xLabel) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = xLabel) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, ReadOnlySpan yLabel) + { + fixed (byte* pxLabel = xLabel) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (yLabel != null) + { + pStrSize1 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(yLabel, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + SetupAxesNative(pStr0, pStr1, xFlags, yFlags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, string yLabel, ImPlotAxisFlags xFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (yLabel != null) + { + pStrSize1 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(yLabel, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + SetupAxesNative(pStr0, pStr1, xFlags, (ImPlotAxisFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, string yLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (yLabel != null) + { + pStrSize1 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(yLabel, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + SetupAxesNative(pStr0, pStr1, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = &xLabel) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = &xLabel) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, ReadOnlySpan yLabel) + { + fixed (byte* pxLabel = &xLabel) + { + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = &xLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative((byte*)pxLabel, pStr0, xFlags, yFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, string yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = &xLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative((byte*)pxLabel, pStr0, xFlags, (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ref byte xLabel, string yLabel) + { + fixed (byte* pxLabel = &xLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative((byte*)pxLabel, pStr0, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = xLabel) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = xLabel) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, ref byte yLabel) + { + fixed (byte* pxLabel = xLabel) + { + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + fixed (byte* pxLabel = xLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative((byte*)pxLabel, pStr0, xFlags, yFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, string yLabel, ImPlotAxisFlags xFlags) + { + fixed (byte* pxLabel = xLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative((byte*)pxLabel, pStr0, xFlags, (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(ReadOnlySpan xLabel, string yLabel) + { + fixed (byte* pxLabel = xLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (yLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(yLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetupAxesNative((byte*)pxLabel, pStr0, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, yFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, ref byte yLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pyLabel = &yLabel) + { + SetupAxesNative(pStr0, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, yFlags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetupAxes(string xLabel, ReadOnlySpan yLabel) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (xLabel != null) + { + pStrSize0 = Utils.GetByteCountUTF8(xLabel); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pyLabel = yLabel) + { + SetupAxesNative(pStr0, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupAxesLimitsNative(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[45])(xMin, xMax, yMin, yMax, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[45])(xMin, xMax, yMin, yMax, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetupAxesLimits(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) + { + SetupAxesLimitsNative(xMin, xMax, yMin, yMax, cond); + } + + /// + /// To be documented. + /// + public static void SetupAxesLimits(double xMin, double xMax, double yMin, double yMax) + { + SetupAxesLimitsNative(xMin, xMax, yMin, yMax, (ImPlotCond)(ImPlotCond.Once)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupLegendNative(ImPlotLocation location, ImPlotLegendFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[46])(location, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[46])(location, flags); + #endif + } + + /// + /// To be documented. + /// + public static void SetupLegend(ImPlotLocation location, ImPlotLegendFlags flags) + { + SetupLegendNative(location, flags); + } + + /// + /// To be documented. + /// + public static void SetupLegend(ImPlotLocation location) + { + SetupLegendNative(location, (ImPlotLegendFlags)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupMouseTextNative(ImPlotLocation location, ImPlotMouseTextFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[47])(location, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[47])(location, flags); + #endif + } + + /// + /// To be documented. + /// + public static void SetupMouseText(ImPlotLocation location, ImPlotMouseTextFlags flags) + { + SetupMouseTextNative(location, flags); + } + + /// + /// To be documented. + /// + public static void SetupMouseText(ImPlotLocation location) + { + SetupMouseTextNative(location, (ImPlotMouseTextFlags)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupFinishNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[48])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[48])(); + #endif + } + + /// + /// To be documented. + /// + public static void SetupFinish() + { + SetupFinishNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextAxisLimitsNative(ImAxis axis, double vMin, double vMax, ImPlotCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[49])(axis, vMin, vMax, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[49])(axis, vMin, vMax, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextAxisLimits(ImAxis axis, double vMin, double vMax, ImPlotCond cond) + { + SetNextAxisLimitsNative(axis, vMin, vMax, cond); + } + + /// + /// To be documented. + /// + public static void SetNextAxisLimits(ImAxis axis, double vMin, double vMax) + { + SetNextAxisLimitsNative(axis, vMin, vMax, (ImPlotCond)(ImPlotCond.Once)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextAxisLinksNative(ImAxis axis, double* linkMin, double* linkMax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[50])(axis, linkMin, linkMax); + #else + ((delegate* unmanaged[Cdecl])funcTable[50])(axis, (nint)linkMin, (nint)linkMax); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextAxisLinks(ImAxis axis, double* linkMin, double* linkMax) + { + SetNextAxisLinksNative(axis, linkMin, linkMax); + } + + /// + /// To be documented. + /// + public static void SetNextAxisLinks(ImAxis axis, ref double linkMin, double* linkMax) + { + fixed (double* plinkMin = &linkMin) + { + SetNextAxisLinksNative(axis, (double*)plinkMin, linkMax); + } + } + + /// + /// To be documented. + /// + public static void SetNextAxisLinks(ImAxis axis, double* linkMin, ref double linkMax) + { + fixed (double* plinkMax = &linkMax) + { + SetNextAxisLinksNative(axis, linkMin, (double*)plinkMax); + } + } + + /// + /// To be documented. + /// + public static void SetNextAxisLinks(ImAxis axis, ref double linkMin, ref double linkMax) + { + fixed (double* plinkMin = &linkMin) + { + fixed (double* plinkMax = &linkMax) + { + SetNextAxisLinksNative(axis, (double*)plinkMin, (double*)plinkMax); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextAxisToFitNative(ImAxis axis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[51])(axis); + #else + ((delegate* unmanaged[Cdecl])funcTable[51])(axis); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextAxisToFit(ImAxis axis) + { + SetNextAxisToFitNative(axis); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextAxesLimitsNative(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[52])(xMin, xMax, yMin, yMax, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[52])(xMin, xMax, yMin, yMax, cond); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextAxesLimits(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) + { + SetNextAxesLimitsNative(xMin, xMax, yMin, yMax, cond); + } + + /// + /// To be documented. + /// + public static void SetNextAxesLimits(double xMin, double xMax, double yMin, double yMax) + { + SetNextAxesLimitsNative(xMin, xMax, yMin, yMax, (ImPlotCond)(ImPlotCond.Once)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextAxesToFitNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[53])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[53])(); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextAxesToFit() + { + SetNextAxesToFitNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[54])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[54])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.001.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.001.cs new file mode 100644 index 000000000..516fef76e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.001.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(ReadOnlySpan labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, ImPlotLineFlags flags) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, int offset) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, int offset) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, ImPlotLineFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[55])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[55])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, ImPlotLineFlags flags) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, int offset) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, int offset) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, ImPlotLineFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[56])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[56])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.002.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.002.cs new file mode 100644 index 000000000..842b5f734 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.002.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(string labelId, byte* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, ImPlotLineFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, int offset) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[57])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[57])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, ImPlotLineFlags flags) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, int offset) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, int offset) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, ImPlotLineFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[58])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[58])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.003.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.003.cs new file mode 100644 index 000000000..2605dd656 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.003.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, ImPlotLineFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[59])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[59])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, ImPlotLineFlags flags) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, int offset) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, int offset) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, ImPlotLineFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[60])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[60])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, ImPlotLineFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, int offset) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, int offset) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.004.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.004.cs new file mode 100644 index 000000000..b6d3ca029 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.004.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(ref byte labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[61])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[61])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, ImPlotLineFlags flags) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, int offset) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, int offset) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, ImPlotLineFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[62])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[62])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, ImPlotLineFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.005.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.005.cs new file mode 100644 index 000000000..d9bed3bdc --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.005.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[63])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[63])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, float* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, float* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, float* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotLineNative(labelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotLineNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) + { + fixed (float* pxs = &xs) + { + PlotLineNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, float* ys, int count) + { + fixed (float* pxs = &xs) + { + PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotLineNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotLineNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotLineNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, xs, (float*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, ref float ys, int count) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, xs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, float* xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[64])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[64])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, double* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, double* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, double* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotLineNative(labelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotLineNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) + { + fixed (double* pxs = &xs) + { + PlotLineNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, double* ys, int count) + { + fixed (double* pxs = &xs) + { + PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotLineNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotLineNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotLineNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, xs, (double*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, ref double ys, int count) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, xs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, double* xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[65])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[65])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotLineNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotLineNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotLineNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* pxs = &xs) + { + PlotLineNative(labelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotLineNative(labelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotLineNative(labelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotLineNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotLineNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotLineNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotLineNative(pStr0, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotLineNative(pStr0, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotLineNative(pStr0, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.006.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.006.cs new file mode 100644 index 000000000..8148c85fa --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.006.cs @@ -0,0 +1,5037 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[66])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[66])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, short* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, short* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, short* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotLineNative(labelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotLineNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) + { + fixed (short* pxs = &xs) + { + PlotLineNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, short* ys, int count) + { + fixed (short* pxs = &xs) + { + PlotLineNative(labelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotLineNative(labelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotLineNative(labelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotLineNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotLineNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotLineNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotLineNative(pStr0, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotLineNative(pStr0, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotLineNative(pStr0, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, xs, (short*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, ref short ys, int count) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, xs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, short* xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[67])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[67])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative(labelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative(labelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative(labelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotLineNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotLineNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotLineNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotLineNative(pStr0, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotLineNative(pStr0, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotLineNative(pStr0, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[68])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[68])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, int* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, int* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, int* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotLineNative(labelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotLineNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) + { + fixed (int* pxs = &xs) + { + PlotLineNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, int* ys, int count) + { + fixed (int* pxs = &xs) + { + PlotLineNative(labelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotLineNative(labelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotLineNative(labelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotLineNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotLineNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotLineNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotLineNative(pStr0, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotLineNative(pStr0, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotLineNative(pStr0, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.007.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.007.cs new file mode 100644 index 000000000..2521ed772 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.007.cs @@ -0,0 +1,5045 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(byte* labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, xs, (int*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, ref int ys, int count) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, xs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, int* xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[69])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[69])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotLineNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotLineNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotLineNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count) + { + fixed (uint* pxs = &xs) + { + PlotLineNative(labelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotLineNative(labelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotLineNative(labelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotLineNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotLineNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotLineNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotLineNative(pStr0, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotLineNative(pStr0, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotLineNative(pStr0, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[70])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[70])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, long* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, long* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, long* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotLineNative(labelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotLineNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) + { + fixed (long* pxs = &xs) + { + PlotLineNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, long* ys, int count) + { + fixed (long* pxs = &xs) + { + PlotLineNative(labelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotLineNative(labelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotLineNative(labelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotLineNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotLineNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotLineNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotLineNative(pStr0, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotLineNative(pStr0, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotLineNative(pStr0, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, xs, (long*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, ref long ys, int count) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, xs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, long* xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[71])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[71])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) + { + PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, int offset) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative(labelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative(labelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative(labelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotLineNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotLineNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.008.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.008.cs new file mode 100644 index 000000000..6480e908b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.008.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotLine(string labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotLineNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotLineNative(pStr0, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotLineNative(pStr0, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotLineNative(pStr0, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[72])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[72])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, ImPlotScatterFlags flags) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, int offset) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, int offset) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[73])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[73])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, ImPlotScatterFlags flags) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, int offset) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, int offset) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.009.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.009.cs new file mode 100644 index 000000000..6a592ee76 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.009.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotScatter(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[74])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[74])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, ImPlotScatterFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, int offset) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[75])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[75])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, ImPlotScatterFlags flags) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, int offset) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, int offset) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.010.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.010.cs new file mode 100644 index 000000000..aea33cc18 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.010.cs @@ -0,0 +1,5048 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotScatter(string labelId, ref short values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[76])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[76])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, ImPlotScatterFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[77])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[77])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, ImPlotScatterFlags flags) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, int offset) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, int offset) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.011.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.011.cs new file mode 100644 index 000000000..3f07f1ac6 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.011.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotScatter(string labelId, ref int values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[78])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[78])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, ImPlotScatterFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, int offset) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, int offset) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[79])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[79])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, ImPlotScatterFlags flags) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, int offset) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, int offset) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[80])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[80])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.012.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.012.cs new file mode 100644 index 000000000..fd8020abb --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.012.cs @@ -0,0 +1,5047 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, ImPlotScatterFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[81])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[81])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, float* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotScatterNative(labelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotScatterNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) + { + fixed (float* pxs = &xs) + { + PlotScatterNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count) + { + fixed (float* pxs = &xs) + { + PlotScatterNative(labelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotScatterNative(labelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotScatterNative(labelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotScatterNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotScatterNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotScatterNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotScatterNative(pStr0, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotScatterNative(pStr0, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotScatterNative(pStr0, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, xs, (float*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, xs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, float* xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[82])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[82])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, double* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotScatterNative(labelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotScatterNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) + { + fixed (double* pxs = &xs) + { + PlotScatterNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count) + { + fixed (double* pxs = &xs) + { + PlotScatterNative(labelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotScatterNative(labelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotScatterNative(labelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotScatterNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotScatterNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotScatterNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotScatterNative(pStr0, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotScatterNative(pStr0, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotScatterNative(pStr0, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, xs, (double*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, xs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.013.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.013.cs new file mode 100644 index 000000000..d7a8e96a9 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.013.cs @@ -0,0 +1,5035 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotScatter(string labelId, double* xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, double* xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[83])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[83])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative(labelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative(labelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative(labelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotScatterNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotScatterNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotScatterNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotScatterNative(pStr0, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotScatterNative(pStr0, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotScatterNative(pStr0, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[84])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[84])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, short* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotScatterNative(labelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotScatterNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) + { + fixed (short* pxs = &xs) + { + PlotScatterNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count) + { + fixed (short* pxs = &xs) + { + PlotScatterNative(labelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotScatterNative(labelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotScatterNative(labelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotScatterNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotScatterNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotScatterNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotScatterNative(pStr0, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotScatterNative(pStr0, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotScatterNative(pStr0, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, xs, (short*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, xs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, short* xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[85])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[85])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative(labelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative(labelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative(labelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotScatterNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotScatterNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotScatterNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotScatterNative(pStr0, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotScatterNative(pStr0, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotScatterNative(pStr0, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.014.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.014.cs new file mode 100644 index 000000000..0074e2282 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.014.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[86])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[86])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, int* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotScatterNative(labelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotScatterNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) + { + fixed (int* pxs = &xs) + { + PlotScatterNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count) + { + fixed (int* pxs = &xs) + { + PlotScatterNative(labelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotScatterNative(labelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotScatterNative(labelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotScatterNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotScatterNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotScatterNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotScatterNative(pStr0, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotScatterNative(pStr0, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotScatterNative(pStr0, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, xs, (int*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, xs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, int* xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[87])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[87])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative(labelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative(labelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative(labelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotScatterNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotScatterNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotScatterNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotScatterNative(pStr0, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotScatterNative(pStr0, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotScatterNative(pStr0, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[88])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[88])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, long* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotScatterNative(labelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotScatterNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) + { + fixed (long* pxs = &xs) + { + PlotScatterNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count) + { + fixed (long* pxs = &xs) + { + PlotScatterNative(labelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotScatterNative(labelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotScatterNative(labelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotScatterNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotScatterNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotScatterNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotScatterNative(pStr0, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotScatterNative(pStr0, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotScatterNative(pStr0, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, xs, (long*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.015.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.015.cs new file mode 100644 index 000000000..029c39684 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.015.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotScatter(byte* labelId, long* xs, ref long ys, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, xs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, long* xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[89])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[89])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, int offset) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative(labelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative(labelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative(labelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotScatterNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotScatterNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotScatterNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotScatterNative(pStr0, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotScatterNative(pStr0, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotScatterNative(pStr0, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[90])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[90])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, ImPlotStairsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, int offset) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, int offset) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[91])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[91])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.016.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.016.cs new file mode 100644 index 000000000..bc4aa8606 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.016.cs @@ -0,0 +1,5030 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, ImPlotStairsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, int offset) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, int offset) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[92])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[92])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, ImPlotStairsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[93])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[93])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.017.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.017.cs new file mode 100644 index 000000000..2f93edaa4 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.017.cs @@ -0,0 +1,5042 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, ImPlotStairsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, int offset) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, int offset) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[94])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[94])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, ImPlotStairsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[95])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[95])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.018.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.018.cs new file mode 100644 index 000000000..7abba4b72 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.018.cs @@ -0,0 +1,5047 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, ImPlotStairsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, int offset) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, int offset) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[96])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[96])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, ImPlotStairsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[97])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[97])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.019.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.019.cs new file mode 100644 index 000000000..7fec67ede --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.019.cs @@ -0,0 +1,5029 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, ImPlotStairsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, int offset) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, int offset) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[98])(labelId, values, count, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[98])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, ImPlotStairsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[99])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[99])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, float* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotStairsNative(labelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotStairsNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) + { + fixed (float* pxs = &xs) + { + PlotStairsNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count) + { + fixed (float* pxs = &xs) + { + PlotStairsNative(labelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotStairsNative(labelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotStairsNative(labelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStairsNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStairsNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStairsNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStairsNative(pStr0, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStairsNative(pStr0, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStairsNative(pStr0, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, xs, (float*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, xs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, float* xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.020.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.020.cs new file mode 100644 index 000000000..7984b245f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.020.cs @@ -0,0 +1,5039 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[100])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[100])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, double* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotStairsNative(labelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotStairsNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) + { + fixed (double* pxs = &xs) + { + PlotStairsNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count) + { + fixed (double* pxs = &xs) + { + PlotStairsNative(labelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotStairsNative(labelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotStairsNative(labelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStairsNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStairsNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStairsNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStairsNative(pStr0, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStairsNative(pStr0, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStairsNative(pStr0, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, xs, (double*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, xs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, double* xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[101])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[101])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative(labelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative(labelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative(labelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStairsNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStairsNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStairsNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStairsNative(pStr0, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStairsNative(pStr0, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStairsNative(pStr0, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[102])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[102])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, short* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotStairsNative(labelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotStairsNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) + { + fixed (short* pxs = &xs) + { + PlotStairsNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count) + { + fixed (short* pxs = &xs) + { + PlotStairsNative(labelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotStairsNative(labelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotStairsNative(labelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStairsNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStairsNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStairsNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStairsNative(pStr0, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStairsNative(pStr0, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStairsNative(pStr0, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, xs, (short*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, xs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.021.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.021.cs new file mode 100644 index 000000000..c5e355fd5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.021.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, short* xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[103])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[103])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[104])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[104])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, int* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotStairsNative(labelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotStairsNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) + { + fixed (int* pxs = &xs) + { + PlotStairsNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count) + { + fixed (int* pxs = &xs) + { + PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, xs, (int*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, xs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, int* xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[105])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[105])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.022.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.022.cs new file mode 100644 index 000000000..5a49300c6 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.022.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[106])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[106])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, long* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotStairsNative(labelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotStairsNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) + { + fixed (long* pxs = &xs) + { + PlotStairsNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count) + { + fixed (long* pxs = &xs) + { + PlotStairsNative(labelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotStairsNative(labelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotStairsNative(labelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStairsNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStairsNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStairsNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStairsNative(pStr0, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStairsNative(pStr0, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStairsNative(pStr0, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, xs, (long*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, xs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, long* xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[107])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[107])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, int offset) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative(labelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative(labelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative(labelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStairsNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStairsNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStairsNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStairsNative(pStr0, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStairsNative(pStr0, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStairsNative(pStr0, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStairsGNative(byte* labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, int, ImPlotStairsFlags, void>)funcTable[108])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[108])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStairsG(byte* labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) + { + PlotStairsGNative(labelId, getter, data, count, flags); + } + + /// + /// To be documented. + /// + public static void PlotStairsG(byte* labelId, ImPlotGetter getter, void* data, int count) + { + PlotStairsGNative(labelId, getter, data, count, (ImPlotStairsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotStairsG(ref byte labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsGNative((byte*)plabelId, getter, data, count, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotStairsG(ref byte labelId, ImPlotGetter getter, void* data, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStairsGNative((byte*)plabelId, getter, data, count, (ImPlotStairsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotStairsG(ReadOnlySpan labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStairsGNative((byte*)plabelId, getter, data, count, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotStairsG(ReadOnlySpan labelId, ImPlotGetter getter, void* data, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStairsGNative((byte*)plabelId, getter, data, count, (ImPlotStairsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotStairsG(string labelId, ImPlotGetter getter, void* data, int count, ImPlotStairsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsGNative(pStr0, getter, data, count, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStairsG(string labelId, ImPlotGetter getter, void* data, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStairsGNative(pStr0, getter, data, count, (ImPlotStairsFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[109])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[109])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.023.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.023.cs new file mode 100644 index 000000000..c27248663 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.023.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, ImPlotShadedFlags flags) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[110])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[110])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, ImPlotShadedFlags flags) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.024.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.024.cs new file mode 100644 index 000000000..72faefbd5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.024.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[111])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[111])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, ImPlotShadedFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[112])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[112])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.025.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.025.cs new file mode 100644 index 000000000..a46a1ab6f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.025.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, ImPlotShadedFlags flags) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[113])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[113])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[114])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[114])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.026.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.026.cs new file mode 100644 index 000000000..0d148af17 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.026.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(byte* labelId, int* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, ImPlotShadedFlags flags) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[115])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[115])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, ImPlotShadedFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.027.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.027.cs new file mode 100644 index 000000000..ca43b6098 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.027.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[116])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[116])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, ImPlotShadedFlags flags) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[117])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[117])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.028.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.028.cs new file mode 100644 index 000000000..1f1b22268 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.028.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ReadOnlySpan labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[118])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[118])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, int offset) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, int offset) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.029.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.029.cs new file mode 100644 index 000000000..3c4e9177b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.029.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[119])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[119])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, int offset) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, int offset) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[120])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[120])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.030.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.030.cs new file mode 100644 index 000000000..9f7601553 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.030.cs @@ -0,0 +1,5050 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, int offset) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, int offset) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[121])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[121])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, int offset) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, int offset) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.031.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.031.cs new file mode 100644 index 000000000..cb1d3bd4c --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.031.cs @@ -0,0 +1,5050 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, short* xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[122])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[122])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[123])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[123])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.032.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.032.cs new file mode 100644 index 000000000..bfddc68e2 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.032.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, int* xs, int* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, int offset) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, int offset) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[124])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[124])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, int offset) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, int offset) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.033.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.033.cs new file mode 100644 index 000000000..c41173ceb --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.033.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[125])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[125])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, int offset) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, int offset) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[126])(labelId, xs, ys, count, yref, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[126])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, int offset) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.034.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.034.cs new file mode 100644 index 000000000..38702f3d0 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.034.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[127])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[127])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, int offset) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, int offset) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.035.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.035.cs new file mode 100644 index 000000000..318d574b5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.035.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys1 = &ys1) + { + fixed (float* pys2 = &ys2) + { + PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[128])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[128])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, int offset) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, int offset) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.036.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.036.cs new file mode 100644 index 000000000..2d461c67d --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.036.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys1 = &ys1) + { + fixed (double* pys2 = &ys2) + { + PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[129])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[129])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys1 = &ys1) + { + fixed (byte* pys2 = &ys2) + { + PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[130])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[130])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.037.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.037.cs new file mode 100644 index 000000000..6c6490a98 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.037.cs @@ -0,0 +1,5049 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, int offset) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, int offset) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys1 = &ys1) + { + fixed (short* pys2 = &ys2) + { + PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[131])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[131])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.038.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.038.cs new file mode 100644 index 000000000..b815ca065 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.038.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys1 = &ys1) + { + fixed (ushort* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[132])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[132])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, int offset) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, int offset) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.039.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.039.cs new file mode 100644 index 000000000..fc0e589e9 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.039.cs @@ -0,0 +1,5030 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys1 = &ys1) + { + fixed (int* pys2 = &ys2) + { + PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[133])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[133])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys1 = &ys1) + { + fixed (uint* pys2 = &ys2) + { + PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[134])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[134])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, int offset) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.040.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.040.cs new file mode 100644 index 000000000..a1d6a5bb3 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.040.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, int offset) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys1 = &ys1) + { + fixed (long* pys2 = &ys2) + { + PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedNative(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[135])(labelId, xs, ys1, ys2, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[135])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.041.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.041.cs new file mode 100644 index 000000000..8e7552a6b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.041.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys1 = &ys1) + { + fixed (ulong* pys2 = &ys2) + { + PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[136])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[136])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, ImPlotBarsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, int offset) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, int offset) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, int offset) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[137])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[137])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, ImPlotBarsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, int offset) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, int offset) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, int offset) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.042.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.042.cs new file mode 100644 index 000000000..07d0d3038 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.042.cs @@ -0,0 +1,5035 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[138])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[138])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, ImPlotBarsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, int offset) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, int offset) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, int offset) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[139])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[139])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, ImPlotBarsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, int offset) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, int offset) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, int offset) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.043.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.043.cs new file mode 100644 index 000000000..c998a1123 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.043.cs @@ -0,0 +1,5044 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[140])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[140])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, ImPlotBarsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[141])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[141])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, ImPlotBarsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, int offset) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, int offset) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, int offset) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.044.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.044.cs new file mode 100644 index 000000000..80c66412e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.044.cs @@ -0,0 +1,5048 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBars(string labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[142])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[142])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, ImPlotBarsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, int offset) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, int offset) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, int offset) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[143])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[143])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, ImPlotBarsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, int offset) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, int offset) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, int offset) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.045.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.045.cs new file mode 100644 index 000000000..4f951291c --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.045.cs @@ -0,0 +1,5045 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBars(string labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[144])(labelId, values, count, barSize, shift, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[144])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, int offset) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, ImPlotBarsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[145])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[145])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (float* pxs = &xs) + { + PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize) + { + fixed (float* pxs = &xs) + { + PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, int offset) + { + fixed (float* pxs = &xs) + { + PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, int offset) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[146])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[146])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (double* pxs = &xs) + { + PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize) + { + fixed (double* pxs = &xs) + { + PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, int offset) + { + fixed (double* pxs = &xs) + { + PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.046.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.046.cs new file mode 100644 index 000000000..ba7fcfe3a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.046.cs @@ -0,0 +1,5045 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[147])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[147])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, int offset) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, int offset) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[148])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[148])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (short* pxs = &xs) + { + PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize) + { + fixed (short* pxs = &xs) + { + PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, int offset) + { + fixed (short* pxs = &xs) + { + PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, int offset) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[149])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[149])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.047.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.047.cs new file mode 100644 index 000000000..ffe5f9c40 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.047.cs @@ -0,0 +1,5029 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[150])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[150])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (int* pxs = &xs) + { + PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize) + { + fixed (int* pxs = &xs) + { + PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, int offset) + { + fixed (int* pxs = &xs) + { + PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, xs, (int*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, int offset) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[151])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[151])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, int offset) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, int offset) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[152])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[152])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (long* pxs = &xs) + { + PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize) + { + fixed (long* pxs = &xs) + { + PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, int offset) + { + fixed (long* pxs = &xs) + { + PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.048.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.048.cs new file mode 100644 index 000000000..56f42fbbc --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.048.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, int offset) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsNative(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[153])(labelId, xs, ys, count, barSize, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[153])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) + { + PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[154])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[154])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize) + { + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount) + { + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[155])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[155])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize) + { + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount) + { + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[156])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[156])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize) + { + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount) + { + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[157])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[157])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize) + { + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount) + { + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.049.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.049.cs new file mode 100644 index 000000000..cca24be74 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.049.cs @@ -0,0 +1,5046 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[158])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[158])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize) + { + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount) + { + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[159])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[159])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize) + { + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount) + { + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[160])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[160])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize) + { + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount) + { + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[161])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[161])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize) + { + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount) + { + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarGroupsNative(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[162])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[162])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift) + { + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize) + { + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount) + { + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[163])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[163])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, int offset) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.050.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.050.cs new file mode 100644 index 000000000..88ec89709 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.050.cs @@ -0,0 +1,5041 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* perr = &err) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[164])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[164])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, int offset) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.051.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.051.cs new file mode 100644 index 000000000..8a9e92630 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.051.cs @@ -0,0 +1,5032 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* perr = &err) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[165])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[165])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, int offset) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* perr = &err) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[166])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[166])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.052.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.052.cs new file mode 100644 index 000000000..0cdad0641 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.052.cs @@ -0,0 +1,5030 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, int offset) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* perr = &err) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[167])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[167])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.053.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.053.cs new file mode 100644 index 000000000..ef63d7e45 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.053.cs @@ -0,0 +1,5052 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* perr = &err) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[168])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[168])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, int offset) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.054.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.054.cs new file mode 100644 index 000000000..212a44578 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.054.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* perr = &err) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[169])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[169])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, int offset) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* perr = &err) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[170])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[170])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.055.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.055.cs new file mode 100644 index 000000000..ec32f359e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.055.cs @@ -0,0 +1,5048 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, int offset) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* perr = &err) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[171])(labelId, xs, ys, err, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[171])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.056.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.056.cs new file mode 100644 index 000000000..023834741 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.056.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* perr = &err) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[172])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[172])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.057.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.057.cs new file mode 100644 index 000000000..83191e3a4 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.057.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + fixed (float* pneg = &neg) + { + fixed (float* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[173])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[173])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.058.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.058.cs new file mode 100644 index 000000000..9929c2ae1 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.058.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.059.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.059.cs new file mode 100644 index 000000000..0d1bb0af4 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.059.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + fixed (double* pneg = &neg) + { + fixed (double* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[174])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[174])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.060.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.060.cs new file mode 100644 index 000000000..cfd5fb63b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.060.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.061.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.061.cs new file mode 100644 index 000000000..8eb7bca29 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.061.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + fixed (byte* pneg = &neg) + { + fixed (byte* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[175])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[175])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.062.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.062.cs new file mode 100644 index 000000000..ac30e79af --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.062.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + fixed (short* pneg = &neg) + { + fixed (short* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[176])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[176])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.063.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.063.cs new file mode 100644 index 000000000..5ec153e25 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.063.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.064.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.064.cs new file mode 100644 index 000000000..41b0b7243 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.064.cs @@ -0,0 +1,5027 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + fixed (ushort* pneg = &neg) + { + fixed (ushort* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[177])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[177])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.065.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.065.cs new file mode 100644 index 000000000..76e7812c5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.065.cs @@ -0,0 +1,5027 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + fixed (int* pneg = &neg) + { + fixed (int* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[178])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[178])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.066.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.066.cs new file mode 100644 index 000000000..86e1194cc --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.066.cs @@ -0,0 +1,5047 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.067.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.067.cs new file mode 100644 index 000000000..a9873d23f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.067.cs @@ -0,0 +1,5048 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + fixed (uint* pneg = &neg) + { + fixed (uint* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[179])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[179])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.068.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.068.cs new file mode 100644 index 000000000..0c37b999d --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.068.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + fixed (long* pneg = &neg) + { + fixed (long* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotErrorBarsNative(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[180])(labelId, xs, ys, neg, pos, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[180])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.069.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.069.cs new file mode 100644 index 000000000..241af4407 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.069.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.070.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.070.cs new file mode 100644 index 000000000..781d36c8d --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.070.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + fixed (ulong* pneg = &neg) + { + fixed (ulong* ppos = &pos) + { + PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[181])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[181])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, ImPlotStemsFlags flags) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.071.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.071.cs new file mode 100644 index 000000000..1f538432c --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.071.cs @@ -0,0 +1,5039 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[182])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[182])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, ImPlotStemsFlags flags) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[183])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[183])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.072.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.072.cs new file mode 100644 index 000000000..c40c03ce3 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.072.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(string labelId, byte* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, ImPlotStemsFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[184])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[184])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, ImPlotStemsFlags flags) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.073.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.073.cs new file mode 100644 index 000000000..8354a06bc --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.073.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(string labelId, ref short values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[185])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[185])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, ImPlotStemsFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[186])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[186])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.074.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.074.cs new file mode 100644 index 000000000..855142d3a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.074.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(byte* labelId, ref int values, int count, double reference) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, ImPlotStemsFlags flags) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[187])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[187])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, ImPlotStemsFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[188])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[188])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.075.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.075.cs new file mode 100644 index 000000000..0a154021c --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.075.cs @@ -0,0 +1,5027 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, ImPlotStemsFlags flags) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[189])(labelId, values, count, reference, scale, start, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[189])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, ImPlotStemsFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.076.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.076.cs new file mode 100644 index 000000000..26e94d5e6 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.076.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[190])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[190])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, int offset) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, int offset) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[191])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[191])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.077.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.077.cs new file mode 100644 index 000000000..0fd6d60ec --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.077.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(string labelId, double* xs, double* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, int offset) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, int offset) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[192])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[192])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, int offset) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, int offset) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.078.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.078.cs new file mode 100644 index 000000000..aed06cf1b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.078.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[193])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[193])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, int offset) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, int offset) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[194])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[194])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.079.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.079.cs new file mode 100644 index 000000000..102b86082 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.079.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[195])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[195])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, int offset) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, int offset) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, stride); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.080.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.080.cs new file mode 100644 index 000000000..9b597324d --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.080.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[196])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[196])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, int offset) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, int offset) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[197])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[197])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.081.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.081.cs new file mode 100644 index 000000000..5d20c6754 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.081.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(byte* labelId, long* xs, long* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, int offset) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, int offset) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotStemsNative(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[198])(labelId, xs, ys, count, reference, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[198])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, int offset) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.082.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.082.cs new file mode 100644 index 000000000..529c33b03 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.082.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[199])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[199])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, float* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, float* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, float* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, float* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, float* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative(labelId, (float*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative(labelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative(labelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref float values, int count, int offset) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref float values, int count, int offset, int stride) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref float values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref float values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[200])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[200])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, double* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, double* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, double* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, double* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, double* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative(labelId, (double*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative(labelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative(labelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref double values, int count, int offset) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref double values, int count, int offset, int stride) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref double values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref double values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[201])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[201])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, byte* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, byte* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, byte* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, byte* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, byte* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref byte values, int count, int offset) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref byte values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref byte values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[202])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[202])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, short* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, short* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, short* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, short* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, short* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative(labelId, (short*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative(labelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative(labelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref short values, int count, int offset) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref short values, int count, int offset, int stride) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref short values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref short values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[203])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[203])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.083.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.083.cs new file mode 100644 index 000000000..31fb20337 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.083.cs @@ -0,0 +1,5052 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotInfLines(byte* labelId, ushort* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ushort* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ushort* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ushort* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ushort* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ushort values, int count, int offset) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ushort values, int count, int offset, int stride) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ushort values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ushort values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[204])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[204])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, int* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, int* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, int* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, int* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, int* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative(labelId, (int*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative(labelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative(labelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref int values, int count, int offset) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref int values, int count, int offset, int stride) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref int values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref int values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[205])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[205])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, uint* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, uint* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, uint* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, uint* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, uint* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref uint values, int count, int offset) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref uint values, int count, int offset, int stride) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref uint values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref uint values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[206])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[206])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, long* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, long* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, long* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, long* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, long* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative(labelId, (long*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative(labelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative(labelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref long values, int count, int offset) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref long values, int count, int offset, int stride) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref long values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref long values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotInfLinesNative(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[207])(labelId, values, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[207])((nint)labelId, (nint)values, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) + { + PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags) + { + PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ulong* values, int count) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ulong* values, int count, int offset) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ulong* values, int count, int offset, int stride) + { + PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ulong* values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ulong* values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ulong values, int count, int offset) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(byte* labelId, ref ulong values, int count, int offset, int stride) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ref byte labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ulong values, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotInfLines(string labelId, ref ulong values, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[208])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[208])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (float* pvalues = &values) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (float* pvalues = &values) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius) + { + fixed (float* pvalues = &values) + { + PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, double angle0) + { + fixed (float* pvalues = &values) + { + PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.084.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.084.cs new file mode 100644 index 000000000..f7971834e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.084.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[209])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[209])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (double* pvalues = &values) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (double* pvalues = &values) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius) + { + fixed (double* pvalues = &values) + { + PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, double angle0) + { + fixed (double* pvalues = &values) + { + PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[210])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[210])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (byte* pvalues = &values) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (byte* pvalues = &values) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius) + { + fixed (byte* pvalues = &values) + { + PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, double angle0) + { + fixed (byte* pvalues = &values) + { + PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[211])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[211])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (short* pvalues = &values) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (short* pvalues = &values) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius) + { + fixed (short* pvalues = &values) + { + PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, double angle0) + { + fixed (short* pvalues = &values) + { + PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.085.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.085.cs new file mode 100644 index 000000000..74ec7698a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.085.cs @@ -0,0 +1,5047 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[212])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[212])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius) + { + fixed (ushort* pvalues = &values) + { + PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, double angle0) + { + fixed (ushort* pvalues = &values) + { + PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[213])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[213])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (int* pvalues = &values) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (int* pvalues = &values) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius) + { + fixed (int* pvalues = &values) + { + PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, double angle0) + { + fixed (int* pvalues = &values) + { + PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[214])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[214])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (uint* pvalues = &values) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (uint* pvalues = &values) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius) + { + fixed (uint* pvalues = &values) + { + PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, double angle0) + { + fixed (uint* pvalues = &values) + { + PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.086.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.086.cs new file mode 100644 index 000000000..9d56cb300 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.086.cs @@ -0,0 +1,5043 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[215])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[215])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (long* pvalues = &values) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (long* pvalues = &values) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius) + { + fixed (long* pvalues = &values) + { + PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, double angle0) + { + fixed (long* pvalues = &values) + { + PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotPieChartNative(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[216])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[216])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, double angle0) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt) + { + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius) + { + fixed (ulong* pvalues = &values) + { + PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, double angle0) + { + fixed (ulong* pvalues = &values) + { + PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) + { + byte** pStrArray0 = null; + int pStrArray0Size = Utils.GetByteCountArray(labelIds); + if (labelIds != null) + { + if (pStrArray0Size > Utils.MaxStackallocSize) + { + pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); + } + else + { + byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; + pStrArray0 = (byte**)pStrArray0Stack; + } + } + for (int i = 0; i < labelIds.Length; i++) + { + pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); + } + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); + for (int i = 0; i < labelIds.Length; i++) + { + Utils.Free(pStrArray0[i]); + } + if (pStrArray0Size >= Utils.MaxStackallocSize) + { + Utils.Free(pStrArray0); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[217])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[217])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.087.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.087.cs new file mode 100644 index 000000000..46fbc4639 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.087.cs @@ -0,0 +1,5038 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.088.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.088.cs new file mode 100644 index 000000000..1d2dddfe4 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.088.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.089.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.089.cs new file mode 100644 index 000000000..df3b4a9e5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.089.cs @@ -0,0 +1,5025 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[218])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[218])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.090.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.090.cs new file mode 100644 index 000000000..e28178925 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.090.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.091.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.091.cs new file mode 100644 index 000000000..830489cf0 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.091.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.092.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.092.cs new file mode 100644 index 000000000..b09f8863e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.092.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[219])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[219])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.093.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.093.cs new file mode 100644 index 000000000..405f1e473 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.093.cs @@ -0,0 +1,5049 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.094.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.094.cs new file mode 100644 index 000000000..d8cdab0b5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.094.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.095.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.095.cs new file mode 100644 index 000000000..9db04935c --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.095.cs @@ -0,0 +1,5054 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.096.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.096.cs new file mode 100644 index 000000000..d75e81687 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.096.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[220])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[220])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.097.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.097.cs new file mode 100644 index 000000000..8628c4f08 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.097.cs @@ -0,0 +1,5053 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.098.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.098.cs new file mode 100644 index 000000000..ee2b0860a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.098.cs @@ -0,0 +1,5030 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.099.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.099.cs new file mode 100644 index 000000000..e3f809ec7 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.099.cs @@ -0,0 +1,5037 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[221])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[221])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.100.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.100.cs new file mode 100644 index 000000000..1f243513f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.100.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.101.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.101.cs new file mode 100644 index 000000000..5a12cedc9 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.101.cs @@ -0,0 +1,5046 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.102.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.102.cs new file mode 100644 index 000000000..141393e02 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.102.cs @@ -0,0 +1,5053 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[222])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[222])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.103.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.103.cs new file mode 100644 index 000000000..6827bf5e0 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.103.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.104.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.104.cs new file mode 100644 index 000000000..a190f9953 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.104.cs @@ -0,0 +1,5030 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.105.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.105.cs new file mode 100644 index 000000000..272fd891e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.105.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[223])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[223])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.106.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.106.cs new file mode 100644 index 000000000..51c798ce1 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.106.cs @@ -0,0 +1,5028 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.107.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.107.cs new file mode 100644 index 000000000..d97aa7ee9 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.107.cs @@ -0,0 +1,5055 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.108.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.108.cs new file mode 100644 index 000000000..968862a24 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.108.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[224])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[224])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.109.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.109.cs new file mode 100644 index 000000000..55ace8c39 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.109.cs @@ -0,0 +1,5048 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.110.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.110.cs new file mode 100644 index 000000000..60f631f8a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.110.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.111.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.111.cs new file mode 100644 index 000000000..5224ed286 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.111.cs @@ -0,0 +1,5027 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotHeatmapNative(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[225])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[225])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.112.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.112.cs new file mode 100644 index 000000000..ae4edb3c2 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.112.cs @@ -0,0 +1,5045 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.113.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.113.cs new file mode 100644 index 000000000..64539b41e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.113.cs @@ -0,0 +1,5052 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.114.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.114.cs new file mode 100644 index 000000000..99d3f6ef9 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.114.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (labelFmt != null) + { + pStrSize1 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelFmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelFmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = &labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + fixed (byte* plabelFmt = labelFmt) + { + PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[226])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[226])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, ImPlotRange range) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, ImPlotRange range) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale, ImPlotRange range) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.115.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.115.cs new file mode 100644 index 000000000..b312d9e7d --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.115.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[227])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[227])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, ImPlotRange range) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, ImPlotRange range) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale, ImPlotRange range) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[228])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[228])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, ImPlotRange range) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, ImPlotRange range) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale, ImPlotRange range) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.116.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.116.cs new file mode 100644 index 000000000..9db1bc6fc --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.116.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[229])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[229])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotRange range) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotRange range) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotRange range) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[230])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[230])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotRange range) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotRange range) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotRange range) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[231])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[231])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.117.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.117.cs new file mode 100644 index 000000000..d43b6f17b --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.117.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, ImPlotRange range) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, ImPlotRange range) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale, ImPlotRange range) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[232])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[232])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, ImPlotRange range) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, ImPlotRange range) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale, ImPlotRange range) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[233])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[233])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.118.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.118.cs new file mode 100644 index 000000000..c6fbfb340 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.118.cs @@ -0,0 +1,5037 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram(string labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, ImPlotRange range) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, ImPlotRange range) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale, ImPlotRange range) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogramNative(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[234])(labelId, values, count, bins, barScale, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[234])((nint)labelId, (nint)values, count, bins, barScale, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale, ImPlotRange range) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, ImPlotRange range) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, ImPlotRange range) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale, ImPlotRange range) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale, ImPlotRange range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale, ImPlotRange range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pvalues = &values) + { + double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[235])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[235])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, ImPlotRect range) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.119.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.119.cs new file mode 100644 index 000000000..8abf0a002 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.119.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, ImPlotRect range) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, ImPlotRect range) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[236])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[236])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, ImPlotRect range) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, ImPlotRect range) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, ImPlotRect range) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.120.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.120.cs new file mode 100644 index 000000000..91c4ce0f2 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.120.cs @@ -0,0 +1,5034 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[237])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[237])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, ImPlotRect range) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, ImPlotRect range) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[238])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[238])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.121.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.121.cs new file mode 100644 index 000000000..25a85ec25 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.121.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram2D(string labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, ImPlotRect range) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, ImPlotRect range) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, ImPlotRect range) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[239])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[239])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.122.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.122.cs new file mode 100644 index 000000000..2a70e6de7 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.122.cs @@ -0,0 +1,5036 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[240])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[240])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, ImPlotRect range) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, ImPlotRect range) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, ImPlotRect range) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.123.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.123.cs new file mode 100644 index 000000000..6aec2a6d1 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.123.cs @@ -0,0 +1,5022 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[241])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[241])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, ImPlotRect range) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, ImPlotRect range) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[242])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[242])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, ImPlotRect range) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.124.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.124.cs new file mode 100644 index 000000000..cf4e1522e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.124.cs @@ -0,0 +1,5036 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, ImPlotRect range) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, ImPlotRect range) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PlotHistogram2DNative(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[243])(labelId, xs, ys, count, xBins, yBins, range, flags); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[243])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); + #endif + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.125.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.125.cs new file mode 100644 index 000000000..b665d6e20 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.125.cs @@ -0,0 +1,5026 @@ +// ------------------------------------------------------------------------------ +// +// 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 double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[244])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[244])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, float* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, float* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, float* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, float* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, xs, (float*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, int offset) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, float* xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, ref float ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pxs = &xs) + { + fixed (float* pys = &ys) + { + PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[245])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[245])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, double* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, double* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, double* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, double* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, xs, (double*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, int offset) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, double* xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, ref double ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (double* pxs = &xs) + { + fixed (double* pys = &ys) + { + PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[246])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[246])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative(labelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative(labelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative(labelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.126.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.126.cs new file mode 100644 index 000000000..a6b281a45 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.126.cs @@ -0,0 +1,5033 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotDigital(string labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotDigitalNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotDigitalNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotDigitalNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotDigitalNative(pStr0, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotDigitalNative(pStr0, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + PlotDigitalNative(pStr0, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pxs = &xs) + { + fixed (byte* pys = &ys) + { + PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[247])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[247])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, short* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative(labelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative(labelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative(labelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative(labelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotDigitalNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotDigitalNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotDigitalNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, short* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotDigitalNative(pStr0, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, short* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotDigitalNative(pStr0, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, short* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + PlotDigitalNative(pStr0, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, xs, (short*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, int offset) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, short* xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, ref short ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (short* pxs = &xs) + { + fixed (short* pys = &ys) + { + PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[248])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[248])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(labelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(labelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(labelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ushort* pxs = &xs) + { + fixed (ushort* pys = &ys) + { + PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[249])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[249])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, int* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative(labelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative(labelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative(labelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative(labelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.127.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.127.cs new file mode 100644 index 000000000..3d722bdcb --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.127.cs @@ -0,0 +1,5050 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotDigital(ref byte labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotDigitalNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotDigitalNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotDigitalNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, int* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotDigitalNative(pStr0, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, int* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotDigitalNative(pStr0, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, int* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + PlotDigitalNative(pStr0, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, xs, (int*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, int offset) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, int* xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, ref int ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (int* pxs = &xs) + { + fixed (int* pys = &ys) + { + PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[250])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[250])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative(labelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative(labelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative(labelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotDigitalNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotDigitalNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotDigitalNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotDigitalNative(pStr0, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotDigitalNative(pStr0, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + PlotDigitalNative(pStr0, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pxs = &xs) + { + fixed (uint* pys = &ys) + { + PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[251])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[251])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, long* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative(labelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative(labelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative(labelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative(labelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotDigitalNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotDigitalNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotDigitalNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, long* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotDigitalNative(pStr0, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, long* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotDigitalNative(pStr0, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, long* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + PlotDigitalNative(pStr0, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, xs, (long*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, int offset) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, long* xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, ref long ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (long* pxs = &xs) + { + fixed (long* pys = &ys) + { + PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[252])(labelId, xs, ys, count, flags, offset, stride); + #else + ((delegate* unmanaged[Cdecl])funcTable[252])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, int offset) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.128.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.128.cs new file mode 100644 index 000000000..907cefd46 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.128.cs @@ -0,0 +1,5042 @@ +// ------------------------------------------------------------------------------ +// +// 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 PlotDigital(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(labelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(labelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(labelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = &labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + fixed (byte* plabelId = labelId) + { + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, int offset) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (ulong* pxs = &xs) + { + fixed (ulong* pys = &ys) + { + PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotImageNative(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[253])(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[253])((nint)labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); + } + + /// + /// To be documented. + /// + public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) + { + PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotTextNative(byte* text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[254])(text, x, y, pixOffset, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[254])((nint)text, x, y, pixOffset, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotText(byte* text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) + { + PlotTextNative(text, x, y, pixOffset, flags); + } + + /// + /// To be documented. + /// + public static void PlotText(byte* text, double x, double y, Vector2 pixOffset) + { + PlotTextNative(text, x, y, pixOffset, (ImPlotTextFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotText(byte* text, double x, double y) + { + PlotTextNative(text, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotText(byte* text, double x, double y, ImPlotTextFlags flags) + { + PlotTextNative(text, x, y, (Vector2)(new Vector2(0,0)), flags); + } + + /// + /// To be documented. + /// + public static void PlotText(ref byte text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) + { + fixed (byte* ptext = &text) + { + PlotTextNative((byte*)ptext, x, y, pixOffset, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotText(ref byte text, double x, double y, Vector2 pixOffset) + { + fixed (byte* ptext = &text) + { + PlotTextNative((byte*)ptext, x, y, pixOffset, (ImPlotTextFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotText(ref byte text, double x, double y) + { + fixed (byte* ptext = &text) + { + PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotText(ref byte text, double x, double y, ImPlotTextFlags flags) + { + fixed (byte* ptext = &text) + { + PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotText(ReadOnlySpan text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) + { + fixed (byte* ptext = text) + { + PlotTextNative((byte*)ptext, x, y, pixOffset, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotText(ReadOnlySpan text, double x, double y, Vector2 pixOffset) + { + fixed (byte* ptext = text) + { + PlotTextNative((byte*)ptext, x, y, pixOffset, (ImPlotTextFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotText(ReadOnlySpan text, double x, double y) + { + fixed (byte* ptext = text) + { + PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotText(ReadOnlySpan text, double x, double y, ImPlotTextFlags flags) + { + fixed (byte* ptext = text) + { + PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), flags); + } + } + + /// + /// To be documented. + /// + public static void PlotText(string text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) + { + 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; + } + PlotTextNative(pStr0, x, y, pixOffset, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotText(string text, double x, double y, Vector2 pixOffset) + { + 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; + } + PlotTextNative(pStr0, x, y, pixOffset, (ImPlotTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotText(string text, double x, double y) + { + 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; + } + PlotTextNative(pStr0, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotText(string text, double x, double y, ImPlotTextFlags flags) + { + 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; + } + PlotTextNative(pStr0, x, y, (Vector2)(new Vector2(0,0)), flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDummyNative(byte* labelId, ImPlotDummyFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[255])(labelId, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[255])((nint)labelId, flags); + #endif + } + + /// + /// To be documented. + /// + public static void PlotDummy(byte* labelId, ImPlotDummyFlags flags) + { + PlotDummyNative(labelId, flags); + } + + /// + /// To be documented. + /// + public static void PlotDummy(byte* labelId) + { + PlotDummyNative(labelId, (ImPlotDummyFlags)(0)); + } + + /// + /// To be documented. + /// + public static void PlotDummy(ref byte labelId, ImPlotDummyFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotDummyNative((byte*)plabelId, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotDummy(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + PlotDummyNative((byte*)plabelId, (ImPlotDummyFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotDummy(ReadOnlySpan labelId, ImPlotDummyFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotDummyNative((byte*)plabelId, flags); + } + } + + /// + /// To be documented. + /// + public static void PlotDummy(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + PlotDummyNative((byte*)plabelId, (ImPlotDummyFlags)(0)); + } + } + + /// + /// To be documented. + /// + public static void PlotDummy(string labelId, ImPlotDummyFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDummyNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void PlotDummy(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDummyNative(pStr0, (ImPlotDummyFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragPointNative(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[256])(id, x, y, col, size, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[256])(id, (nint)x, (nint)y, col, size, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags) + { + byte ret = DragPointNative(id, x, y, col, size, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size) + { + byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, double* y, Vector4 col) + { + byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags) + { + byte ret = DragPointNative(id, x, y, col, (float)(4), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags) + { + fixed (double* px = &x) + { + byte ret = DragPointNative(id, (double*)px, y, col, size, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size) + { + fixed (double* px = &x) + { + byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, double* y, Vector4 col) + { + fixed (double* px = &x) + { + byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px = &x) + { + byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, x, (double*)py, col, size, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, ref double y, Vector4 col) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags) + { + fixed (double* px = &x) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size) + { + fixed (double* px = &x) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, ref double y, Vector4 col) + { + fixed (double* px = &x) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px = &x) + { + fixed (double* py = &y) + { + byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragLineXNative(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[257])(id, x, col, thickness, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[257])(id, (nint)x, col, thickness, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags) + { + byte ret = DragLineXNative(id, x, col, thickness, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, double* x, Vector4 col, float thickness) + { + byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, double* x, Vector4 col) + { + byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags) + { + byte ret = DragLineXNative(id, x, col, (float)(1), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags) + { + fixed (double* px = &x) + { + byte ret = DragLineXNative(id, (double*)px, col, thickness, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, ref double x, Vector4 col, float thickness) + { + fixed (double* px = &x) + { + byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, ref double x, Vector4 col) + { + fixed (double* px = &x) + { + byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px = &x) + { + byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragLineYNative(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[258])(id, y, col, thickness, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[258])(id, (nint)y, col, thickness, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags) + { + byte ret = DragLineYNative(id, y, col, thickness, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, double* y, Vector4 col, float thickness) + { + byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, double* y, Vector4 col) + { + byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags) + { + byte ret = DragLineYNative(id, y, col, (float)(1), flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags) + { + fixed (double* py = &y) + { + byte ret = DragLineYNative(id, (double*)py, col, thickness, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, ref double y, Vector4 col, float thickness) + { + fixed (double* py = &y) + { + byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, ref double y, Vector4 col) + { + fixed (double* py = &y) + { + byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* py = &y) + { + byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte DragRectNative(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[259])(id, x1, y1, x2, y2, col, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[259])(id, (nint)x1, (nint)y1, (nint)x2, (nint)y2, col, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col) + { + byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* py1 = &y1) + { + byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col) + { + fixed (double* py1 = &y1) + { + byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* py1 = &y1) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col) + { + fixed (double* py1 = &y1) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col) + { + fixed (double* px1 = &x1) + { + fixed (double* py1 = &y1) + { + fixed (double* px2 = &x2) + { + fixed (double* py2 = &y2) + { + byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AnnotationNative(double x, double y, Vector4 col, Vector2 pixOffset, byte clamp, byte round) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[260])(x, y, col, pixOffset, clamp, round); + #else + ((delegate* unmanaged[Cdecl])funcTable[260])(x, y, col, pixOffset, clamp, round); + #endif + } + + /// + /// To be documented. + /// + public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, bool round) + { + AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, round ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp) + { + AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AnnotationNative(double x, double y, Vector4 col, Vector2 pixOffset, byte clamp, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[261])(x, y, col, pixOffset, clamp, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[261])(x, y, col, pixOffset, clamp, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, byte* fmt) + { + AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, fmt); + } + + /// + /// To be documented. + /// + public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AnnotationVNative(double x, double y, Vector4 col, Vector2 pixOffset, byte clamp, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[262])(x, y, col, pixOffset, clamp, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[262])(x, y, col, pixOffset, clamp, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, byte* fmt, nuint args) + { + AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, fmt, args); + } + + /// + /// To be documented. + /// + public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TagXNative(double x, Vector4 col, byte round) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[263])(x, col, round); + #else + ((delegate* unmanaged[Cdecl])funcTable[263])(x, col, round); + #endif + } + + /// + /// To be documented. + /// + public static void TagX(double x, Vector4 col, bool round) + { + TagXNative(x, col, round ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void TagX(double x, Vector4 col) + { + TagXNative(x, col, (byte)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TagXNative(double x, Vector4 col, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[264])(x, col, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[264])(x, col, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void TagX(double x, Vector4 col, byte* fmt) + { + TagXNative(x, col, fmt); + } + + /// + /// To be documented. + /// + public static void TagX(double x, Vector4 col, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + TagXNative(x, col, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TagX(double x, Vector4 col, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + TagXNative(x, col, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TagX(double x, Vector4 col, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TagXNative(x, col, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TagXVNative(double x, Vector4 col, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[265])(x, col, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[265])(x, col, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void TagXV(double x, Vector4 col, byte* fmt, nuint args) + { + TagXVNative(x, col, fmt, args); + } + + /// + /// To be documented. + /// + public static void TagXV(double x, Vector4 col, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + TagXVNative(x, col, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TagXV(double x, Vector4 col, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + TagXVNative(x, col, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TagXV(double x, Vector4 col, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TagXVNative(x, col, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TagYNative(double y, Vector4 col, byte round) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[266])(y, col, round); + #else + ((delegate* unmanaged[Cdecl])funcTable[266])(y, col, round); + #endif + } + + /// + /// To be documented. + /// + public static void TagY(double y, Vector4 col, bool round) + { + TagYNative(y, col, round ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void TagY(double y, Vector4 col) + { + TagYNative(y, col, (byte)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TagYNative(double y, Vector4 col, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[267])(y, col, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[267])(y, col, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void TagY(double y, Vector4 col, byte* fmt) + { + TagYNative(y, col, fmt); + } + + /// + /// To be documented. + /// + public static void TagY(double y, Vector4 col, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + TagYNative(y, col, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TagY(double y, Vector4 col, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + TagYNative(y, col, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void TagY(double y, Vector4 col, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TagYNative(y, col, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void TagYVNative(double y, Vector4 col, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[268])(y, col, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[268])(y, col, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void TagYV(double y, Vector4 col, byte* fmt, nuint args) + { + TagYVNative(y, col, fmt, args); + } + + /// + /// To be documented. + /// + public static void TagYV(double y, Vector4 col, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + TagYVNative(y, col, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TagYV(double y, Vector4 col, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + TagYVNative(y, col, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void TagYV(double y, Vector4 col, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + TagYVNative(y, col, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetAxisNative(ImAxis axis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[269])(axis); + #else + ((delegate* unmanaged[Cdecl])funcTable[269])(axis); + #endif + } + + /// + /// To be documented. + /// + public static void SetAxis(ImAxis axis) + { + SetAxisNative(axis); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetAxesNative(ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[270])(xAxis, yAxis); + #else + ((delegate* unmanaged[Cdecl])funcTable[270])(xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static void SetAxes(ImAxis xAxis, ImAxis yAxis) + { + SetAxesNative(xAxis, yAxis); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PixelsToPlotNative(ImPlotPoint* pOut, Vector2 pix, ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[271])(pOut, pix, xAxis, yAxis); + #else + ((delegate* unmanaged[Cdecl])funcTable[271])((nint)pOut, pix, xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint PixelsToPlot(Vector2 pix) + { + ImPlotPoint ret; + PixelsToPlotNative(&ret, pix, (ImAxis)(-1), (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotPoint PixelsToPlot(Vector2 pix, ImAxis xAxis) + { + ImPlotPoint ret; + PixelsToPlotNative(&ret, pix, xAxis, (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ImPlotPointPtr pOut, Vector2 pix) + { + PixelsToPlotNative(pOut, pix, (ImAxis)(-1), (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static ImPlotPoint PixelsToPlot(Vector2 pix, ImAxis xAxis, ImAxis yAxis) + { + ImPlotPoint ret; + PixelsToPlotNative(&ret, pix, xAxis, yAxis); + return ret; + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ImPlotPointPtr pOut, Vector2 pix, ImAxis xAxis, ImAxis yAxis) + { + PixelsToPlotNative(pOut, pix, xAxis, yAxis); + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ImPlotPointPtr pOut, Vector2 pix, ImAxis xAxis) + { + PixelsToPlotNative(pOut, pix, xAxis, (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ref ImPlotPoint pOut, Vector2 pix, ImAxis xAxis, ImAxis yAxis) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + PixelsToPlotNative((ImPlotPoint*)ppOut, pix, xAxis, yAxis); + } + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ref ImPlotPoint pOut, Vector2 pix, ImAxis xAxis) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + PixelsToPlotNative((ImPlotPoint*)ppOut, pix, xAxis, (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ref ImPlotPoint pOut, Vector2 pix) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + PixelsToPlotNative((ImPlotPoint*)ppOut, pix, (ImAxis)(-1), (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PixelsToPlotNative(ImPlotPoint* pOut, float x, float y, ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[272])(pOut, x, y, xAxis, yAxis); + #else + ((delegate* unmanaged[Cdecl])funcTable[272])((nint)pOut, x, y, xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint PixelsToPlot(float x, float y) + { + ImPlotPoint ret; + PixelsToPlotNative(&ret, x, y, (ImAxis)(-1), (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotPoint PixelsToPlot(float x, float y, ImAxis xAxis) + { + ImPlotPoint ret; + PixelsToPlotNative(&ret, x, y, xAxis, (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ImPlotPointPtr pOut, float x, float y) + { + PixelsToPlotNative(pOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static ImPlotPoint PixelsToPlot(float x, float y, ImAxis xAxis, ImAxis yAxis) + { + ImPlotPoint ret; + PixelsToPlotNative(&ret, x, y, xAxis, yAxis); + return ret; + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ImPlotPointPtr pOut, float x, float y, ImAxis xAxis, ImAxis yAxis) + { + PixelsToPlotNative(pOut, x, y, xAxis, yAxis); + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ImPlotPointPtr pOut, float x, float y, ImAxis xAxis) + { + PixelsToPlotNative(pOut, x, y, xAxis, (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ref ImPlotPoint pOut, float x, float y, ImAxis xAxis, ImAxis yAxis) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + PixelsToPlotNative((ImPlotPoint*)ppOut, x, y, xAxis, yAxis); + } + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ref ImPlotPoint pOut, float x, float y, ImAxis xAxis) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + PixelsToPlotNative((ImPlotPoint*)ppOut, x, y, xAxis, (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + public static void PixelsToPlot(ref ImPlotPoint pOut, float x, float y) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + PixelsToPlotNative((ImPlotPoint*)ppOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotToPixelsNative(Vector2* pOut, ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[273])(pOut, plt, xAxis, yAxis); + #else + ((delegate* unmanaged[Cdecl])funcTable[273])((nint)pOut, plt, xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 PlotToPixels(ImPlotPoint plt) + { + Vector2 ret; + PlotToPixelsNative(&ret, plt, (ImAxis)(-1), (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 PlotToPixels(ImPlotPoint plt, ImAxis xAxis) + { + Vector2 ret; + PlotToPixelsNative(&ret, plt, xAxis, (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static void PlotToPixels(Vector2* pOut, ImPlotPoint plt) + { + PlotToPixelsNative(pOut, plt, (ImAxis)(-1), (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static Vector2 PlotToPixels(ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) + { + Vector2 ret; + PlotToPixelsNative(&ret, plt, xAxis, yAxis); + return ret; + } + + /// + /// To be documented. + /// + public static void PlotToPixels(Vector2* pOut, ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) + { + PlotToPixelsNative(pOut, plt, xAxis, yAxis); + } + + /// + /// To be documented. + /// + public static void PlotToPixels(Vector2* pOut, ImPlotPoint plt, ImAxis xAxis) + { + PlotToPixelsNative(pOut, plt, xAxis, (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static void PlotToPixels(ref Vector2 pOut, ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) + { + fixed (Vector2* ppOut = &pOut) + { + PlotToPixelsNative((Vector2*)ppOut, plt, xAxis, yAxis); + } + } + + /// + /// To be documented. + /// + public static void PlotToPixels(ref Vector2 pOut, ImPlotPoint plt, ImAxis xAxis) + { + fixed (Vector2* ppOut = &pOut) + { + PlotToPixelsNative((Vector2*)ppOut, plt, xAxis, (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + public static void PlotToPixels(ref Vector2 pOut, ImPlotPoint plt) + { + fixed (Vector2* ppOut = &pOut) + { + PlotToPixelsNative((Vector2*)ppOut, plt, (ImAxis)(-1), (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotToPixelsNative(Vector2* pOut, double x, double y, ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[274])(pOut, x, y, xAxis, yAxis); + #else + ((delegate* unmanaged[Cdecl])funcTable[274])((nint)pOut, x, y, xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 PlotToPixels(double x, double y) + { + Vector2 ret; + PlotToPixelsNative(&ret, x, y, (ImAxis)(-1), (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 PlotToPixels(double x, double y, ImAxis xAxis) + { + Vector2 ret; + PlotToPixelsNative(&ret, x, y, xAxis, (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static void PlotToPixels(Vector2* pOut, double x, double y) + { + PlotToPixelsNative(pOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static Vector2 PlotToPixels(double x, double y, ImAxis xAxis, ImAxis yAxis) + { + Vector2 ret; + PlotToPixelsNative(&ret, x, y, xAxis, yAxis); + return ret; + } + + /// + /// To be documented. + /// + public static void PlotToPixels(Vector2* pOut, double x, double y, ImAxis xAxis, ImAxis yAxis) + { + PlotToPixelsNative(pOut, x, y, xAxis, yAxis); + } + + /// + /// To be documented. + /// + public static void PlotToPixels(Vector2* pOut, double x, double y, ImAxis xAxis) + { + PlotToPixelsNative(pOut, x, y, xAxis, (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static void PlotToPixels(ref Vector2 pOut, double x, double y, ImAxis xAxis, ImAxis yAxis) + { + fixed (Vector2* ppOut = &pOut) + { + PlotToPixelsNative((Vector2*)ppOut, x, y, xAxis, yAxis); + } + } + + /// + /// To be documented. + /// + public static void PlotToPixels(ref Vector2 pOut, double x, double y, ImAxis xAxis) + { + fixed (Vector2* ppOut = &pOut) + { + PlotToPixelsNative((Vector2*)ppOut, x, y, xAxis, (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + public static void PlotToPixels(ref Vector2 pOut, double x, double y) + { + fixed (Vector2* ppOut = &pOut) + { + PlotToPixelsNative((Vector2*)ppOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetPlotPosNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[275])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[275])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetPlotPos() + { + Vector2 ret; + GetPlotPosNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetPlotPos(Vector2* pOut) + { + GetPlotPosNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetPlotPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetPlotPosNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetPlotSizeNative(Vector2* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[276])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[276])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetPlotSize() + { + Vector2 ret; + GetPlotSizeNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetPlotSize(Vector2* pOut) + { + GetPlotSizeNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetPlotSize(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + GetPlotSizeNative((Vector2*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetPlotMousePosNative(ImPlotPoint* pOut, ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[277])(pOut, xAxis, yAxis); + #else + ((delegate* unmanaged[Cdecl])funcTable[277])((nint)pOut, xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPoint GetPlotMousePos() + { + ImPlotPoint ret; + GetPlotMousePosNative(&ret, (ImAxis)(-1), (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotPoint GetPlotMousePos(ImAxis xAxis) + { + ImPlotPoint ret; + GetPlotMousePosNative(&ret, xAxis, (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static void GetPlotMousePos(ImPlotPointPtr pOut) + { + GetPlotMousePosNative(pOut, (ImAxis)(-1), (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static ImPlotPoint GetPlotMousePos(ImAxis xAxis, ImAxis yAxis) + { + ImPlotPoint ret; + GetPlotMousePosNative(&ret, xAxis, yAxis); + return ret; + } + + /// + /// To be documented. + /// + public static void GetPlotMousePos(ImPlotPointPtr pOut, ImAxis xAxis, ImAxis yAxis) + { + GetPlotMousePosNative(pOut, xAxis, yAxis); + } + + /// + /// To be documented. + /// + public static void GetPlotMousePos(ImPlotPointPtr pOut, ImAxis xAxis) + { + GetPlotMousePosNative(pOut, xAxis, (ImAxis)(-1)); + } + + /// + /// To be documented. + /// + public static void GetPlotMousePos(ref ImPlotPoint pOut, ImAxis xAxis, ImAxis yAxis) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + GetPlotMousePosNative((ImPlotPoint*)ppOut, xAxis, yAxis); + } + } + + /// + /// To be documented. + /// + public static void GetPlotMousePos(ref ImPlotPoint pOut, ImAxis xAxis) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + GetPlotMousePosNative((ImPlotPoint*)ppOut, xAxis, (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + public static void GetPlotMousePos(ref ImPlotPoint pOut) + { + fixed (ImPlotPoint* ppOut = &pOut) + { + GetPlotMousePosNative((ImPlotPoint*)ppOut, (ImAxis)(-1), (ImAxis)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotRect GetPlotLimitsNative(ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[278])(xAxis, yAxis); + #else + return (ImPlotRect)((delegate* unmanaged[Cdecl])funcTable[278])(xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotRect GetPlotLimits(ImAxis xAxis, ImAxis yAxis) + { + ImPlotRect ret = GetPlotLimitsNative(xAxis, yAxis); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotRect GetPlotLimits(ImAxis xAxis) + { + ImPlotRect ret = GetPlotLimitsNative(xAxis, (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotRect GetPlotLimits() + { + ImPlotRect ret = GetPlotLimitsNative((ImAxis)(-1), (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsPlotHoveredNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[279])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[279])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsPlotHovered() + { + byte ret = IsPlotHoveredNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsAxisHoveredNative(ImAxis axis) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[280])(axis); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[280])(axis); + #endif + } + + /// + /// To be documented. + /// + public static bool IsAxisHovered(ImAxis axis) + { + byte ret = IsAxisHoveredNative(axis); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsSubplotsHoveredNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[281])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[281])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsSubplotsHovered() + { + byte ret = IsSubplotsHoveredNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsPlotSelectedNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[282])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[282])(); + #endif + } + + /// + /// To be documented. + /// + public static bool IsPlotSelected() + { + byte ret = IsPlotSelectedNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotRect GetPlotSelectionNative(ImAxis xAxis, ImAxis yAxis) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[283])(xAxis, yAxis); + #else + return (ImPlotRect)((delegate* unmanaged[Cdecl])funcTable[283])(xAxis, yAxis); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotRect GetPlotSelection(ImAxis xAxis, ImAxis yAxis) + { + ImPlotRect ret = GetPlotSelectionNative(xAxis, yAxis); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotRect GetPlotSelection(ImAxis xAxis) + { + ImPlotRect ret = GetPlotSelectionNative(xAxis, (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotRect GetPlotSelection() + { + ImPlotRect ret = GetPlotSelectionNative((ImAxis)(-1), (ImAxis)(-1)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void CancelPlotSelectionNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[284])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[284])(); + #endif + } + + /// + /// To be documented. + /// + public static void CancelPlotSelection() + { + CancelPlotSelectionNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void HideNextItemNative(byte hidden, ImPlotCond cond) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[285])(hidden, cond); + #else + ((delegate* unmanaged[Cdecl])funcTable[285])(hidden, cond); + #endif + } + + /// + /// To be documented. + /// + public static void HideNextItem(bool hidden, ImPlotCond cond) + { + HideNextItemNative(hidden ? (byte)1 : (byte)0, cond); + } + + /// + /// To be documented. + /// + public static void HideNextItem(bool hidden) + { + HideNextItemNative(hidden ? (byte)1 : (byte)0, (ImPlotCond)(ImPlotCond.Once)); + } + + /// + /// To be documented. + /// + public static void HideNextItem() + { + HideNextItemNative((byte)(1), (ImPlotCond)(ImPlotCond.Once)); + } + + /// + /// To be documented. + /// + public static void HideNextItem(ImPlotCond cond) + { + HideNextItemNative((byte)(1), cond); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginAlignedPlotsNative(byte* groupId, byte vertical) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[286])(groupId, vertical); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[286])((nint)groupId, vertical); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(byte* groupId, bool vertical) + { + byte ret = BeginAlignedPlotsNative(groupId, vertical ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(byte* groupId) + { + byte ret = BeginAlignedPlotsNative(groupId, (byte)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(ref byte groupId, bool vertical) + { + fixed (byte* pgroupId = &groupId) + { + byte ret = BeginAlignedPlotsNative((byte*)pgroupId, vertical ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(ref byte groupId) + { + fixed (byte* pgroupId = &groupId) + { + byte ret = BeginAlignedPlotsNative((byte*)pgroupId, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(ReadOnlySpan groupId, bool vertical) + { + fixed (byte* pgroupId = groupId) + { + byte ret = BeginAlignedPlotsNative((byte*)pgroupId, vertical ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(ReadOnlySpan groupId) + { + fixed (byte* pgroupId = groupId) + { + byte ret = BeginAlignedPlotsNative((byte*)pgroupId, (byte)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(string groupId, bool vertical) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (groupId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(groupId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(groupId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginAlignedPlotsNative(pStr0, vertical ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginAlignedPlots(string groupId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (groupId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(groupId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(groupId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginAlignedPlotsNative(pStr0, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndAlignedPlotsNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[287])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[287])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndAlignedPlots() + { + EndAlignedPlotsNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginLegendPopupNative(byte* labelId, ImGuiMouseButton mouseButton) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[288])(labelId, mouseButton); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[288])((nint)labelId, mouseButton); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(byte* labelId, ImGuiMouseButton mouseButton) + { + byte ret = BeginLegendPopupNative(labelId, mouseButton); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(byte* labelId) + { + byte ret = BeginLegendPopupNative(labelId, (ImGuiMouseButton)(1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(ref byte labelId, ImGuiMouseButton mouseButton) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginLegendPopupNative((byte*)plabelId, mouseButton); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginLegendPopupNative((byte*)plabelId, (ImGuiMouseButton)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(ReadOnlySpan labelId, ImGuiMouseButton mouseButton) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginLegendPopupNative((byte*)plabelId, mouseButton); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginLegendPopupNative((byte*)plabelId, (ImGuiMouseButton)(1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(string labelId, ImGuiMouseButton mouseButton) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginLegendPopupNative(pStr0, mouseButton); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.129.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.129.cs new file mode 100644 index 000000000..9091f6cf3 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.129.cs @@ -0,0 +1,5032 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static bool BeginLegendPopup(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginLegendPopupNative(pStr0, (ImGuiMouseButton)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndLegendPopupNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[289])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[289])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndLegendPopup() + { + EndLegendPopupNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsLegendEntryHoveredNative(byte* labelId) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[290])(labelId); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[290])((nint)labelId); + #endif + } + + /// + /// To be documented. + /// + public static bool IsLegendEntryHovered(byte* labelId) + { + byte ret = IsLegendEntryHoveredNative(labelId); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsLegendEntryHovered(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + byte ret = IsLegendEntryHoveredNative((byte*)plabelId); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsLegendEntryHovered(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + byte ret = IsLegendEntryHoveredNative((byte*)plabelId); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool IsLegendEntryHovered(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = IsLegendEntryHoveredNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropTargetPlotNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[291])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[291])(); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropTargetPlot() + { + byte ret = BeginDragDropTargetPlotNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropTargetAxisNative(ImAxis axis) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[292])(axis); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[292])(axis); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropTargetAxis(ImAxis axis) + { + byte ret = BeginDragDropTargetAxisNative(axis); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropTargetLegendNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[293])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[293])(); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropTargetLegend() + { + byte ret = BeginDragDropTargetLegendNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndDragDropTargetNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[294])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[294])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndDragDropTarget() + { + EndDragDropTargetNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropSourcePlotNative(ImGuiDragDropFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[295])(flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[295])(flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags) + { + byte ret = BeginDragDropSourcePlotNative(flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourcePlot() + { + byte ret = BeginDragDropSourcePlotNative((ImGuiDragDropFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropSourceAxisNative(ImAxis axis, ImGuiDragDropFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[296])(axis, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[296])(axis, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags) + { + byte ret = BeginDragDropSourceAxisNative(axis, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceAxis(ImAxis axis) + { + byte ret = BeginDragDropSourceAxisNative(axis, (ImGuiDragDropFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginDragDropSourceItemNative(byte* labelId, ImGuiDragDropFlags flags) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[297])(labelId, flags); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[297])((nint)labelId, flags); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(byte* labelId, ImGuiDragDropFlags flags) + { + byte ret = BeginDragDropSourceItemNative(labelId, flags); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(byte* labelId) + { + byte ret = BeginDragDropSourceItemNative(labelId, (ImGuiDragDropFlags)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(ref byte labelId, ImGuiDragDropFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginDragDropSourceItemNative((byte*)plabelId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginDragDropSourceItemNative((byte*)plabelId, (ImGuiDragDropFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(ReadOnlySpan labelId, ImGuiDragDropFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginDragDropSourceItemNative((byte*)plabelId, flags); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginDragDropSourceItemNative((byte*)plabelId, (ImGuiDragDropFlags)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(string labelId, ImGuiDragDropFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginDragDropSourceItemNative(pStr0, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginDragDropSourceItem(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginDragDropSourceItemNative(pStr0, (ImGuiDragDropFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndDragDropSourceNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[298])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[298])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndDragDropSource() + { + EndDragDropSourceNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotStyle* GetStyleNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[299])(); + #else + return (ImPlotStyle*)((delegate* unmanaged[Cdecl])funcTable[299])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotStylePtr GetStyle() + { + ImPlotStylePtr ret = GetStyleNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StyleColorsAutoNative(ImPlotStyle* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[300])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[300])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void StyleColorsAuto(ImPlotStylePtr dst) + { + StyleColorsAutoNative(dst); + } + + /// + /// To be documented. + /// + public static void StyleColorsAuto() + { + StyleColorsAutoNative((ImPlotStyle*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void StyleColorsAuto(ref ImPlotStyle dst) + { + fixed (ImPlotStyle* pdst = &dst) + { + StyleColorsAutoNative((ImPlotStyle*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StyleColorsClassicNative(ImPlotStyle* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[301])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[301])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void StyleColorsClassic(ImPlotStylePtr dst) + { + StyleColorsClassicNative(dst); + } + + /// + /// To be documented. + /// + public static void StyleColorsClassic() + { + StyleColorsClassicNative((ImPlotStyle*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void StyleColorsClassic(ref ImPlotStyle dst) + { + fixed (ImPlotStyle* pdst = &dst) + { + StyleColorsClassicNative((ImPlotStyle*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StyleColorsDarkNative(ImPlotStyle* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[302])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[302])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void StyleColorsDark(ImPlotStylePtr dst) + { + StyleColorsDarkNative(dst); + } + + /// + /// To be documented. + /// + public static void StyleColorsDark() + { + StyleColorsDarkNative((ImPlotStyle*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void StyleColorsDark(ref ImPlotStyle dst) + { + fixed (ImPlotStyle* pdst = &dst) + { + StyleColorsDarkNative((ImPlotStyle*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void StyleColorsLightNative(ImPlotStyle* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[303])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[303])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void StyleColorsLight(ImPlotStylePtr dst) + { + StyleColorsLightNative(dst); + } + + /// + /// To be documented. + /// + public static void StyleColorsLight() + { + StyleColorsLightNative((ImPlotStyle*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void StyleColorsLight(ref ImPlotStyle dst) + { + fixed (ImPlotStyle* pdst = &dst) + { + StyleColorsLightNative((ImPlotStyle*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleColorNative(ImPlotCol idx, uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[304])(idx, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[304])(idx, col); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleColor(ImPlotCol idx, uint col) + { + PushStyleColorNative(idx, col); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleColorNative(ImPlotCol idx, Vector4 col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[305])(idx, col); + #else + ((delegate* unmanaged[Cdecl])funcTable[305])(idx, col); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleColor(ImPlotCol idx, Vector4 col) + { + PushStyleColorNative(idx, col); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopStyleColorNative(int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[306])(count); + #else + ((delegate* unmanaged[Cdecl])funcTable[306])(count); + #endif + } + + /// + /// To be documented. + /// + public static void PopStyleColor(int count) + { + PopStyleColorNative(count); + } + + /// + /// To be documented. + /// + public static void PopStyleColor() + { + PopStyleColorNative((int)(1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleVarNative(ImPlotStyleVar idx, float val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[307])(idx, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[307])(idx, val); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleVar(ImPlotStyleVar idx, float val) + { + PushStyleVarNative(idx, val); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleVarNative(ImPlotStyleVar idx, int val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[308])(idx, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[308])(idx, val); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleVar(ImPlotStyleVar idx, int val) + { + PushStyleVarNative(idx, val); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushStyleVarNative(ImPlotStyleVar idx, Vector2 val) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[309])(idx, val); + #else + ((delegate* unmanaged[Cdecl])funcTable[309])(idx, val); + #endif + } + + /// + /// To be documented. + /// + public static void PushStyleVar(ImPlotStyleVar idx, Vector2 val) + { + PushStyleVarNative(idx, val); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopStyleVarNative(int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[310])(count); + #else + ((delegate* unmanaged[Cdecl])funcTable[310])(count); + #endif + } + + /// + /// To be documented. + /// + public static void PopStyleVar(int count) + { + PopStyleVarNative(count); + } + + /// + /// To be documented. + /// + public static void PopStyleVar() + { + PopStyleVarNative((int)(1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextLineStyleNative(Vector4 col, float weight) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[311])(col, weight); + #else + ((delegate* unmanaged[Cdecl])funcTable[311])(col, weight); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextLineStyle(Vector4 col, float weight) + { + SetNextLineStyleNative(col, weight); + } + + /// + /// To be documented. + /// + public static void SetNextLineStyle(Vector4 col) + { + SetNextLineStyleNative(col, (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextLineStyle() + { + SetNextLineStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextLineStyle(float weight) + { + SetNextLineStyleNative((Vector4)(new Vector4(0,0,0,-1)), weight); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextFillStyleNative(Vector4 col, float alphaMod) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[312])(col, alphaMod); + #else + ((delegate* unmanaged[Cdecl])funcTable[312])(col, alphaMod); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextFillStyle(Vector4 col, float alphaMod) + { + SetNextFillStyleNative(col, alphaMod); + } + + /// + /// To be documented. + /// + public static void SetNextFillStyle(Vector4 col) + { + SetNextFillStyleNative(col, (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextFillStyle() + { + SetNextFillStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextFillStyle(float alphaMod) + { + SetNextFillStyleNative((Vector4)(new Vector4(0,0,0,-1)), alphaMod); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextMarkerStyleNative(ImPlotMarker marker, float size, Vector4 fill, float weight, Vector4 outline) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[313])(marker, size, fill, weight, outline); + #else + ((delegate* unmanaged[Cdecl])funcTable[313])(marker, size, fill, weight, outline); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, float weight, Vector4 outline) + { + SetNextMarkerStyleNative(marker, size, fill, weight, outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, float weight) + { + SetNextMarkerStyleNative(marker, size, fill, weight, (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill) + { + SetNextMarkerStyleNative(marker, size, fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, float size) + { + SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker) + { + SetNextMarkerStyleNative(marker, (float)(-1), (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle() + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(float size) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill) + { + SetNextMarkerStyleNative(marker, (float)(-1), fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(Vector4 fill) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(float size, Vector4 fill) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, float size, float weight) + { + SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), weight, (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(float size, float weight) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), weight, (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, float weight) + { + SetNextMarkerStyleNative(marker, (float)(-1), fill, weight, (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(Vector4 fill, float weight) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, weight, (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(float size, Vector4 fill, float weight) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, weight, (Vector4)(new Vector4(0,0,0,-1))); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, Vector4 outline) + { + SetNextMarkerStyleNative(marker, size, fill, (float)(-1), outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, Vector4 outline) + { + SetNextMarkerStyleNative(marker, (float)(-1), fill, (float)(-1), outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(Vector4 fill, Vector4 outline) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, (float)(-1), outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(float size, Vector4 fill, Vector4 outline) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, (float)(-1), outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, float size, float weight, Vector4 outline) + { + SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), weight, outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(float size, float weight, Vector4 outline) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), weight, outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, float weight, Vector4 outline) + { + SetNextMarkerStyleNative(marker, (float)(-1), fill, weight, outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(Vector4 fill, float weight, Vector4 outline) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, weight, outline); + } + + /// + /// To be documented. + /// + public static void SetNextMarkerStyle(float size, Vector4 fill, float weight, Vector4 outline) + { + SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, weight, outline); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetNextErrorBarStyleNative(Vector4 col, float size, float weight) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[314])(col, size, weight); + #else + ((delegate* unmanaged[Cdecl])funcTable[314])(col, size, weight); + #endif + } + + /// + /// To be documented. + /// + public static void SetNextErrorBarStyle(Vector4 col, float size, float weight) + { + SetNextErrorBarStyleNative(col, size, weight); + } + + /// + /// To be documented. + /// + public static void SetNextErrorBarStyle(Vector4 col, float size) + { + SetNextErrorBarStyleNative(col, size, (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextErrorBarStyle(Vector4 col) + { + SetNextErrorBarStyleNative(col, (float)(-1), (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextErrorBarStyle() + { + SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextErrorBarStyle(float size) + { + SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), size, (float)(-1)); + } + + /// + /// To be documented. + /// + public static void SetNextErrorBarStyle(float size, float weight) + { + SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), size, weight); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetLastItemColorNative(Vector4* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[315])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[315])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector4 GetLastItemColor() + { + Vector4 ret; + GetLastItemColorNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void GetLastItemColor(Vector4* pOut) + { + GetLastItemColorNative(pOut); + } + + /// + /// To be documented. + /// + public static void GetLastItemColor(ref Vector4 pOut) + { + fixed (Vector4* ppOut = &pOut) + { + GetLastItemColorNative((Vector4*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetStyleColorNameNative(ImPlotCol idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[316])(idx); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[316])(idx); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetStyleColorName(ImPlotCol idx) + { + byte* ret = GetStyleColorNameNative(idx); + return ret; + } + + /// + /// To be documented. + /// + public static string GetStyleColorNameS(ImPlotCol idx) + { + string ret = Utils.DecodeStringUTF8(GetStyleColorNameNative(idx)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetMarkerNameNative(ImPlotMarker idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[317])(idx); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[317])(idx); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetMarkerName(ImPlotMarker idx) + { + byte* ret = GetMarkerNameNative(idx); + return ret; + } + + /// + /// To be documented. + /// + public static string GetMarkerNameS(ImPlotMarker idx) + { + string ret = Utils.DecodeStringUTF8(GetMarkerNameNative(idx)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotColormap AddColormapNative(byte* name, Vector4* cols, int size, byte qual) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[318])(name, cols, size, qual); + #else + return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[318])((nint)name, (nint)cols, size, qual); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, Vector4* cols, int size, bool qual) + { + ImPlotColormap ret = AddColormapNative(name, cols, size, qual ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, Vector4* cols, int size) + { + ImPlotColormap ret = AddColormapNative(name, cols, size, (byte)(1)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, Vector4* cols, int size, bool qual) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, Vector4* cols, int size) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, Vector4* cols, int size, bool qual) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, Vector4* cols, int size) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, Vector4* cols, int size, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = AddColormapNative(pStr0, cols, size, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, Vector4* cols, int size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = AddColormapNative(pStr0, cols, size, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, ref Vector4 cols, int size, bool qual) + { + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(name, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, ref Vector4 cols, int size) + { + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(name, (Vector4*)pcols, size, (byte)(1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, ref Vector4 cols, int size, bool qual) + { + fixed (byte* pname = &name) + { + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, ref Vector4 cols, int size) + { + fixed (byte* pname = &name) + { + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, (byte)(1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size, bool qual) + { + fixed (byte* pname = name) + { + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size) + { + fixed (byte* pname = name) + { + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, (byte)(1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(pStr0, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(pStr0, (Vector4*)pcols, size, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotColormap AddColormapNative(byte* name, uint* cols, int size, byte qual) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[319])(name, cols, size, qual); + #else + return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[319])((nint)name, (nint)cols, size, qual); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, uint* cols, int size, bool qual) + { + ImPlotColormap ret = AddColormapNative(name, cols, size, qual ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, uint* cols, int size) + { + ImPlotColormap ret = AddColormapNative(name, cols, size, (byte)(1)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, uint* cols, int size, bool qual) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, uint* cols, int size) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, uint* cols, int size, bool qual) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, uint* cols, int size) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, uint* cols, int size, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = AddColormapNative(pStr0, cols, size, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, uint* cols, int size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = AddColormapNative(pStr0, cols, size, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, ref uint cols, int size, bool qual) + { + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(name, (uint*)pcols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(byte* name, ref uint cols, int size) + { + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(name, (uint*)pcols, size, (byte)(1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, ref uint cols, int size, bool qual) + { + fixed (byte* pname = &name) + { + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ref byte name, ref uint cols, int size) + { + fixed (byte* pname = &name) + { + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, (byte)(1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size, bool qual) + { + fixed (byte* pname = name) + { + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size) + { + fixed (byte* pname = name) + { + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, (byte)(1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, ref uint cols, int size, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(pStr0, (uint*)pcols, size, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap AddColormap(string name, ref uint cols, int size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pcols = &cols) + { + ImPlotColormap ret = AddColormapNative(pStr0, (uint*)pcols, size, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetColormapCountNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[320])(); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[320])(); + #endif + } + + /// + /// To be documented. + /// + public static int GetColormapCount() + { + int ret = GetColormapCountNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetColormapNameNative(ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[321])(cmap); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[321])(cmap); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetColormapName(ImPlotColormap cmap) + { + byte* ret = GetColormapNameNative(cmap); + return ret; + } + + /// + /// To be documented. + /// + public static string GetColormapNameS(ImPlotColormap cmap) + { + string ret = Utils.DecodeStringUTF8(GetColormapNameNative(cmap)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotColormap GetColormapIndexNative(byte* name) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[322])(name); + #else + return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[322])((nint)name); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetColormapIndex(byte* name) + { + ImPlotColormap ret = GetColormapIndexNative(name); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetColormapIndex(ref byte name) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = GetColormapIndexNative((byte*)pname); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetColormapIndex(ReadOnlySpan name) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = GetColormapIndexNative((byte*)pname); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetColormapIndex(string name) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = GetColormapIndexNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushColormapNative(ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[323])(cmap); + #else + ((delegate* unmanaged[Cdecl])funcTable[323])(cmap); + #endif + } + + /// + /// To be documented. + /// + public static void PushColormap(ImPlotColormap cmap) + { + PushColormapNative(cmap); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushColormapNative(byte* name) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[324])(name); + #else + ((delegate* unmanaged[Cdecl])funcTable[324])((nint)name); + #endif + } + + /// + /// To be documented. + /// + public static void PushColormap(byte* name) + { + PushColormapNative(name); + } + + /// + /// To be documented. + /// + public static void PushColormap(ref byte name) + { + fixed (byte* pname = &name) + { + PushColormapNative((byte*)pname); + } + } + + /// + /// To be documented. + /// + public static void PushColormap(ReadOnlySpan name) + { + fixed (byte* pname = name) + { + PushColormapNative((byte*)pname); + } + } + + /// + /// To be documented. + /// + public static void PushColormap(string name) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PushColormapNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopColormapNative(int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[325])(count); + #else + ((delegate* unmanaged[Cdecl])funcTable[325])(count); + #endif + } + + /// + /// To be documented. + /// + public static void PopColormap(int count) + { + PopColormapNative(count); + } + + /// + /// To be documented. + /// + public static void PopColormap() + { + PopColormapNative((int)(1)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void NextColormapColorNative(Vector4* pOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[326])(pOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[326])((nint)pOut); + #endif + } + + /// + /// To be documented. + /// + public static Vector4 NextColormapColor() + { + Vector4 ret; + NextColormapColorNative(&ret); + return ret; + } + + /// + /// To be documented. + /// + public static void NextColormapColor(Vector4* pOut) + { + NextColormapColorNative(pOut); + } + + /// + /// To be documented. + /// + public static void NextColormapColor(ref Vector4 pOut) + { + fixed (Vector4* ppOut = &pOut) + { + NextColormapColorNative((Vector4*)ppOut); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetColormapSizeNative(ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[327])(cmap); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[327])(cmap); + #endif + } + + /// + /// To be documented. + /// + public static int GetColormapSize(ImPlotColormap cmap) + { + int ret = GetColormapSizeNative(cmap); + return ret; + } + + /// + /// To be documented. + /// + public static int GetColormapSize() + { + int ret = GetColormapSizeNative((ImPlotColormap)(-1)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetColormapColorNative(Vector4* pOut, int idx, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[328])(pOut, idx, cmap); + #else + ((delegate* unmanaged[Cdecl])funcTable[328])((nint)pOut, idx, cmap); + #endif + } + + /// + /// To be documented. + /// + public static Vector4 GetColormapColor(int idx) + { + Vector4 ret; + GetColormapColorNative(&ret, idx, (ImPlotColormap)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector4 GetColormapColor(int idx, ImPlotColormap cmap) + { + Vector4 ret; + GetColormapColorNative(&ret, idx, cmap); + return ret; + } + + /// + /// To be documented. + /// + public static void GetColormapColor(Vector4* pOut, int idx, ImPlotColormap cmap) + { + GetColormapColorNative(pOut, idx, cmap); + } + + /// + /// To be documented. + /// + public static void GetColormapColor(Vector4* pOut, int idx) + { + GetColormapColorNative(pOut, idx, (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void GetColormapColor(ref Vector4 pOut, int idx, ImPlotColormap cmap) + { + fixed (Vector4* ppOut = &pOut) + { + GetColormapColorNative((Vector4*)ppOut, idx, cmap); + } + } + + /// + /// To be documented. + /// + public static void GetColormapColor(ref Vector4 pOut, int idx) + { + fixed (Vector4* ppOut = &pOut) + { + GetColormapColorNative((Vector4*)ppOut, idx, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SampleColormapNative(Vector4* pOut, float t, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[329])(pOut, t, cmap); + #else + ((delegate* unmanaged[Cdecl])funcTable[329])((nint)pOut, t, cmap); + #endif + } + + /// + /// To be documented. + /// + public static Vector4 SampleColormap(float t) + { + Vector4 ret; + SampleColormapNative(&ret, t, (ImPlotColormap)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static Vector4 SampleColormap(float t, ImPlotColormap cmap) + { + Vector4 ret; + SampleColormapNative(&ret, t, cmap); + return ret; + } + + /// + /// To be documented. + /// + public static void SampleColormap(Vector4* pOut, float t, ImPlotColormap cmap) + { + SampleColormapNative(pOut, t, cmap); + } + + /// + /// To be documented. + /// + public static void SampleColormap(Vector4* pOut, float t) + { + SampleColormapNative(pOut, t, (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void SampleColormap(ref Vector4 pOut, float t, ImPlotColormap cmap) + { + fixed (Vector4* ppOut = &pOut) + { + SampleColormapNative((Vector4*)ppOut, t, cmap); + } + } + + /// + /// To be documented. + /// + public static void SampleColormap(ref Vector4 pOut, float t) + { + fixed (Vector4* ppOut = &pOut) + { + SampleColormapNative((Vector4*)ppOut, t, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ColormapScaleNative(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[330])(label, scaleMin, scaleMax, size, format, flags, cmap); + #else + ((delegate* unmanaged[Cdecl])funcTable[330])((nint)label, scaleMin, scaleMax, size, (nint)format, flags, cmap); + #endif + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, format, flags, cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size) + { + ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax) + { + ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) + { + ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) + { + ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) + { + ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormap cmap) + { + ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", flags, cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* pformat = format) + { + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, flags, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, flags, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, flags, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, flags, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.130.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.130.cs new file mode 100644 index 000000000..2142f0f07 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.130.cs @@ -0,0 +1,5071 @@ +// ------------------------------------------------------------------------------ +// +// 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 ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ColormapSliderNative(byte* label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[331])(label, t, output, format, cmap); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[331])((nint)label, (nint)t, (nint)output, (nint)format, cmap); + #endif + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) + { + byte ret = ColormapSliderNative(label, t, output, format, cmap); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, byte* format) + { + byte ret = ColormapSliderNative(label, t, output, format, (ImPlotColormap)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output) + { + bool ret = ColormapSlider(label, t, output, (string)"", (ImPlotColormap)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t) + { + bool ret = ColormapSlider(label, t, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, byte* format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, ImPlotColormap cmap) + { + bool ret = ColormapSlider(label, t, output, (string)"", cmap); + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ImPlotColormap cmap) + { + bool ret = ColormapSlider(label, t, (Vector4*)(((void*)0)), (string)"", cmap); + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, byte* format, ImPlotColormap cmap) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), format, cmap); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, format, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output) + { + fixed (byte* plabel = &label) + { + bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t) + { + fixed (byte* plabel = &label) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, byte* format) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(((void*)0)), (string)"", cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), format, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, format, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output) + { + fixed (byte* plabel = label) + { + bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t) + { + fixed (byte* plabel = label) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, byte* format) + { + fixed (byte* plabel = label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(((void*)0)), (string)"", cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), format, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, output, format, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, output, format, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = ColormapSlider(pStr0, t, output, (string)"", (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = ColormapSlider(pStr0, t, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = ColormapSlider(pStr0, t, output, (string)"", cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + bool ret = ColormapSlider(pStr0, t, (Vector4*)(((void*)0)), (string)"", cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), format, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(label, (float*)pt, output, format, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, byte* format) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(label, (float*)pt, output, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider(label, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider(label, (float*)pt, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, byte* format) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider(label, (float*)pt, output, (string)"", cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider(label, (float*)pt, (Vector4*)(((void*)0)), (string)"", cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, byte* format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), format, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", cmap); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (string)"", cmap); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), format, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", cmap); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (string)"", cmap); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), format, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, format, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, format, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + bool ret = ColormapSlider(pStr0, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)(((void*)0)), (string)"", (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), format, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + bool ret = ColormapSlider(pStr0, (float*)pt, output, (string)"", cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)(((void*)0)), (string)"", cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), format, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, format, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, byte* format) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(label, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ImPlotColormap cmap) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(label, t, (Vector4*)poutput, (string)"", cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", cmap); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, byte* format) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", cmap); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, format, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(pStr0, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(pStr0, t, (Vector4*)poutput, (string)"", cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, format, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, byte* format) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(label, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(label, (float*)pt, (Vector4*)poutput, (string)"", cmap); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, byte* format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", cmap); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, byte* format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", cmap); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, format, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, byte* format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)poutput, (string)"", cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref byte format) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref byte format, ImPlotColormap cmap) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ReadOnlySpan format) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, t, output, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, Vector4* output, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, t, output, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, t, (Vector4*)(((void*)0)), pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, output, pStr1, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, output, pStr1, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), pStr1, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), pStr1, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, Vector4* output, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, string format) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, string format) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(((void*)0)), pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, Vector4* output, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ref byte format) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref byte format) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref byte format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ReadOnlySpan format) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ReadOnlySpan format) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, string format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, (float*)pt, output, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, Vector4* output, string format) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, (float*)pt, output, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, string format) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, string format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(((void*)0)), pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, pStr1, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, pStr1, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), pStr1, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), pStr1, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(((void*)0)), pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, Vector4* output, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(((void*)0)), (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ref byte format) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ReadOnlySpan format) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, string format) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, pStr1, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.131.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.131.cs new file mode 100644 index 000000000..cd4e500a7 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.131.cs @@ -0,0 +1,5024 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, pStr1, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, string format) + { + fixed (byte* plabel = &label) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, string format) + { + fixed (byte* plabel = label) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, float* t, ref Vector4 output, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ref byte format) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ReadOnlySpan format) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, string format) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ref byte format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ReadOnlySpan format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, pStr1, cmap); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, string format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr1 = null; + int pStrSize1 = 0; + if (format != null) + { + pStrSize1 = Utils.GetByteCountUTF8(format); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + pStr1 = Utils.Alloc(pStrSize1 + 1); + } + else + { + byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; + pStr1 = pStrStack1; + } + int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); + pStr1[pStrOffset1] = 0; + } + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, pStr1, (ImPlotColormap)(-1)); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ReadOnlySpan format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, string format) + { + fixed (byte* plabel = &label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ref byte format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, string format) + { + fixed (byte* plabel = label) + { + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (format != null) + { + pStrSize0 = Utils.GetByteCountUTF8(format); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ref byte format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = &format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ReadOnlySpan format) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (float* pt = &t) + { + fixed (Vector4* poutput = &output) + { + fixed (byte* pformat = format) + { + byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ColormapButtonNative(byte* label, Vector2 size, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[332])(label, size, cmap); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[332])((nint)label, size, cmap); + #endif + } + + /// + /// To be documented. + /// + public static bool ColormapButton(byte* label, Vector2 size, ImPlotColormap cmap) + { + byte ret = ColormapButtonNative(label, size, cmap); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapButton(byte* label, Vector2 size) + { + byte ret = ColormapButtonNative(label, size, (ImPlotColormap)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapButton(byte* label) + { + byte ret = ColormapButtonNative(label, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapButton(byte* label, ImPlotColormap cmap) + { + byte ret = ColormapButtonNative(label, (Vector2)(new Vector2(0,0)), cmap); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ref byte label, Vector2 size, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapButtonNative((byte*)plabel, size, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ref byte label, Vector2 size) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapButtonNative((byte*)plabel, size, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ref byte label, ImPlotColormap cmap) + { + fixed (byte* plabel = &label) + { + byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ReadOnlySpan label, Vector2 size, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte ret = ColormapButtonNative((byte*)plabel, size, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ReadOnlySpan label, Vector2 size) + { + fixed (byte* plabel = label) + { + byte ret = ColormapButtonNative((byte*)plabel, size, (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(ReadOnlySpan label, ImPlotColormap cmap) + { + fixed (byte* plabel = label) + { + byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ColormapButton(string label, Vector2 size, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapButtonNative(pStr0, size, cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapButton(string label, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapButtonNative(pStr0, size, (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapButton(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapButtonNative(pStr0, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ColormapButton(string label, ImPlotColormap cmap) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ColormapButtonNative(pStr0, (Vector2)(new Vector2(0,0)), cmap); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BustColorCacheNative(byte* plotTitleId) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[333])(plotTitleId); + #else + ((delegate* unmanaged[Cdecl])funcTable[333])((nint)plotTitleId); + #endif + } + + /// + /// To be documented. + /// + public static void BustColorCache(byte* plotTitleId) + { + BustColorCacheNative(plotTitleId); + } + + /// + /// To be documented. + /// + public static void BustColorCache() + { + BustColorCacheNative((byte*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void BustColorCache(ref byte plotTitleId) + { + fixed (byte* pplotTitleId = &plotTitleId) + { + BustColorCacheNative((byte*)pplotTitleId); + } + } + + /// + /// To be documented. + /// + public static void BustColorCache(ReadOnlySpan plotTitleId) + { + fixed (byte* pplotTitleId = plotTitleId) + { + BustColorCacheNative((byte*)pplotTitleId); + } + } + + /// + /// To be documented. + /// + public static void BustColorCache(string plotTitleId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (plotTitleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(plotTitleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(plotTitleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + BustColorCacheNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotInputMap* GetInputMapNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[334])(); + #else + return (ImPlotInputMap*)((delegate* unmanaged[Cdecl])funcTable[334])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotInputMapPtr GetInputMap() + { + ImPlotInputMapPtr ret = GetInputMapNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void MapInputDefaultNative(ImPlotInputMap* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[335])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[335])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void MapInputDefault(ImPlotInputMapPtr dst) + { + MapInputDefaultNative(dst); + } + + /// + /// To be documented. + /// + public static void MapInputDefault() + { + MapInputDefaultNative((ImPlotInputMap*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void MapInputDefault(ref ImPlotInputMap dst) + { + fixed (ImPlotInputMap* pdst = &dst) + { + MapInputDefaultNative((ImPlotInputMap*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void MapInputReverseNative(ImPlotInputMap* dst) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[336])(dst); + #else + ((delegate* unmanaged[Cdecl])funcTable[336])((nint)dst); + #endif + } + + /// + /// To be documented. + /// + public static void MapInputReverse(ImPlotInputMapPtr dst) + { + MapInputReverseNative(dst); + } + + /// + /// To be documented. + /// + public static void MapInputReverse() + { + MapInputReverseNative((ImPlotInputMap*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void MapInputReverse(ref ImPlotInputMap dst) + { + fixed (ImPlotInputMap* pdst = &dst) + { + MapInputReverseNative((ImPlotInputMap*)pdst); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ItemIconNative(Vector4 col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[337])(col); + #else + ((delegate* unmanaged[Cdecl])funcTable[337])(col); + #endif + } + + /// + /// To be documented. + /// + public static void ItemIcon(Vector4 col) + { + ItemIconNative(col); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ItemIconNative(uint col) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[338])(col); + #else + ((delegate* unmanaged[Cdecl])funcTable[338])(col); + #endif + } + + /// + /// To be documented. + /// + public static void ItemIcon(uint col) + { + ItemIconNative(col); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ColormapIconNative(ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[339])(cmap); + #else + ((delegate* unmanaged[Cdecl])funcTable[339])(cmap); + #endif + } + + /// + /// To be documented. + /// + public static void ColormapIcon(ImPlotColormap cmap) + { + ColormapIconNative(cmap); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImDrawList* GetPlotDrawListNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[340])(); + #else + return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[340])(); + #endif + } + + /// + /// To be documented. + /// + public static ImDrawListPtr GetPlotDrawList() + { + ImDrawListPtr ret = GetPlotDrawListNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushPlotClipRectNative(float expand) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[341])(expand); + #else + ((delegate* unmanaged[Cdecl])funcTable[341])(expand); + #endif + } + + /// + /// To be documented. + /// + public static void PushPlotClipRect(float expand) + { + PushPlotClipRectNative(expand); + } + + /// + /// To be documented. + /// + public static void PushPlotClipRect() + { + PushPlotClipRectNative((float)(0)); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PopPlotClipRectNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[342])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[342])(); + #endif + } + + /// + /// To be documented. + /// + public static void PopPlotClipRect() + { + PopPlotClipRectNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ShowStyleSelectorNative(byte* label) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[343])(label); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[343])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(byte* label) + { + byte ret = ShowStyleSelectorNative(label); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = ShowStyleSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = ShowStyleSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowStyleSelector(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ShowStyleSelectorNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ShowColormapSelectorNative(byte* label) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[344])(label); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[344])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static bool ShowColormapSelector(byte* label) + { + byte ret = ShowColormapSelectorNative(label); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowColormapSelector(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = ShowColormapSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowColormapSelector(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = ShowColormapSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowColormapSelector(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ShowColormapSelectorNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ShowInputMapSelectorNative(byte* label) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[345])(label); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[345])((nint)label); + #endif + } + + /// + /// To be documented. + /// + public static bool ShowInputMapSelector(byte* label) + { + byte ret = ShowInputMapSelectorNative(label); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowInputMapSelector(ref byte label) + { + fixed (byte* plabel = &label) + { + byte ret = ShowInputMapSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowInputMapSelector(ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + byte ret = ShowInputMapSelectorNative((byte*)plabel); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowInputMapSelector(string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = ShowInputMapSelectorNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowStyleEditorNative(ImPlotStyle* reference) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[346])(reference); + #else + ((delegate* unmanaged[Cdecl])funcTable[346])((nint)reference); + #endif + } + + /// + /// To be documented. + /// + public static void ShowStyleEditor(ImPlotStylePtr reference) + { + ShowStyleEditorNative(reference); + } + + /// + /// To be documented. + /// + public static void ShowStyleEditor() + { + ShowStyleEditorNative((ImPlotStyle*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void ShowStyleEditor(ref ImPlotStyle reference) + { + fixed (ImPlotStyle* preference = &reference) + { + ShowStyleEditorNative((ImPlotStyle*)preference); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowUserGuideNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[347])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[347])(); + #endif + } + + /// + /// To be documented. + /// + public static void ShowUserGuide() + { + ShowUserGuideNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowMetricsWindowNative(bool* pPopen) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[348])(pPopen); + #else + ((delegate* unmanaged[Cdecl])funcTable[348])((nint)pPopen); + #endif + } + + /// + /// To be documented. + /// + public static void ShowMetricsWindow(bool* pPopen) + { + ShowMetricsWindowNative(pPopen); + } + + /// + /// To be documented. + /// + public static void ShowMetricsWindow() + { + ShowMetricsWindowNative((bool*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void ShowMetricsWindow(ref bool pPopen) + { + fixed (bool* ppPopen = &pPopen) + { + ShowMetricsWindowNative((bool*)ppPopen); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowDemoWindowNative(bool* pOpen) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[349])(pOpen); + #else + ((delegate* unmanaged[Cdecl])funcTable[349])((nint)pOpen); + #endif + } + + /// + /// To be documented. + /// + public static void ShowDemoWindow(bool* pOpen) + { + ShowDemoWindowNative(pOpen); + } + + /// + /// To be documented. + /// + public static void ShowDemoWindow() + { + ShowDemoWindowNative((bool*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void ShowDemoWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ShowDemoWindowNative((bool*)ppOpen); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImLog10Native(float x) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[350])(x); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[350])(x); + #endif + } + + /// + /// To be documented. + /// + public static float ImLog10(float x) + { + float ret = ImLog10Native(x); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImLog10Native(double x) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[351])(x); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[351])(x); + #endif + } + + /// + /// To be documented. + /// + public static double ImLog10(double x) + { + double ret = ImLog10Native(x); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImSinhNative(float x) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[352])(x); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[352])(x); + #endif + } + + /// + /// To be documented. + /// + public static float ImSinh(float x) + { + float ret = ImSinhNative(x); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImSinhNative(double x) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[353])(x); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[353])(x); + #endif + } + + /// + /// To be documented. + /// + public static double ImSinh(double x) + { + double ret = ImSinhNative(x); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImAsinhNative(float x) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[354])(x); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[354])(x); + #endif + } + + /// + /// To be documented. + /// + public static float ImAsinh(float x) + { + float ret = ImAsinhNative(x); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImAsinhNative(double x) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[355])(x); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[355])(x); + #endif + } + + /// + /// To be documented. + /// + public static double ImAsinh(double x) + { + double ret = ImAsinhNative(x); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImRemapNative(float x, float x0, float x1, float y0, float y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[356])(x, x0, x1, y0, y1); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[356])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static float ImRemap(float x, float x0, float x1, float y0, float y1) + { + float ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImRemapNative(double x, double x0, double x1, double y0, double y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[357])(x, x0, x1, y0, y1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[357])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static double ImRemap(double x, double x0, double x1, double y0, double y1) + { + double ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImRemapNative(byte x, byte x0, byte x1, byte y0, byte y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[358])(x, x0, x1, y0, y1); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[358])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static byte ImRemap(byte x, byte x0, byte x1, byte y0, byte y1) + { + byte ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static short ImRemapNative(short x, short x0, short x1, short y0, short y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[359])(x, x0, x1, y0, y1); + #else + return (short)((delegate* unmanaged[Cdecl])funcTable[359])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static short ImRemap(short x, short x0, short x1, short y0, short y1) + { + short ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort ImRemapNative(ushort x, ushort x0, ushort x1, ushort y0, ushort y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[360])(x, x0, x1, y0, y1); + #else + return (ushort)((delegate* unmanaged[Cdecl])funcTable[360])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static ushort ImRemap(ushort x, ushort x0, ushort x1, ushort y0, ushort y1) + { + ushort ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int ImRemapNative(int x, int x0, int x1, int y0, int y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[361])(x, x0, x1, y0, y1); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[361])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static int ImRemap(int x, int x0, int x1, int y0, int y1) + { + int ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImRemapNative(uint x, uint x0, uint x1, uint y0, uint y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[362])(x, x0, x1, y0, y1); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[362])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static uint ImRemap(uint x, uint x0, uint x1, uint y0, uint y1) + { + uint ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static long ImRemapNative(long x, long x0, long x1, long y0, long y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[363])(x, x0, x1, y0, y1); + #else + return (long)((delegate* unmanaged[Cdecl])funcTable[363])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static long ImRemap(long x, long x0, long x1, long y0, long y1) + { + long ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ulong ImRemapNative(ulong x, ulong x0, ulong x1, ulong y0, ulong y1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[364])(x, x0, x1, y0, y1); + #else + return (ulong)((delegate* unmanaged[Cdecl])funcTable[364])(x, x0, x1, y0, y1); + #endif + } + + /// + /// To be documented. + /// + public static ulong ImRemap(ulong x, ulong x0, ulong x1, ulong y0, ulong y1) + { + ulong ret = ImRemapNative(x, x0, x1, y0, y1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImRemap01Native(float x, float x0, float x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[365])(x, x0, x1); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[365])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static float ImRemap01(float x, float x0, float x1) + { + float ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImRemap01Native(double x, double x0, double x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[366])(x, x0, x1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[366])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static double ImRemap01(double x, double x0, double x1) + { + double ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImRemap01Native(byte x, byte x0, byte x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[367])(x, x0, x1); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[367])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static byte ImRemap01(byte x, byte x0, byte x1) + { + byte ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static short ImRemap01Native(short x, short x0, short x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[368])(x, x0, x1); + #else + return (short)((delegate* unmanaged[Cdecl])funcTable[368])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static short ImRemap01(short x, short x0, short x1) + { + short ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort ImRemap01Native(ushort x, ushort x0, ushort x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[369])(x, x0, x1); + #else + return (ushort)((delegate* unmanaged[Cdecl])funcTable[369])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static ushort ImRemap01(ushort x, ushort x0, ushort x1) + { + ushort ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int ImRemap01Native(int x, int x0, int x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[370])(x, x0, x1); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[370])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static int ImRemap01(int x, int x0, int x1) + { + int ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImRemap01Native(uint x, uint x0, uint x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[371])(x, x0, x1); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[371])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static uint ImRemap01(uint x, uint x0, uint x1) + { + uint ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static long ImRemap01Native(long x, long x0, long x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[372])(x, x0, x1); + #else + return (long)((delegate* unmanaged[Cdecl])funcTable[372])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static long ImRemap01(long x, long x0, long x1) + { + long ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ulong ImRemap01Native(ulong x, ulong x0, ulong x1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[373])(x, x0, x1); + #else + return (ulong)((delegate* unmanaged[Cdecl])funcTable[373])(x, x0, x1); + #endif + } + + /// + /// To be documented. + /// + public static ulong ImRemap01(ulong x, ulong x0, ulong x1) + { + ulong ret = ImRemap01Native(x, x0, x1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int ImPosModNative(int l, int r) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[374])(l, r); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[374])(l, r); + #endif + } + + /// + /// To be documented. + /// + public static int ImPosMod(int l, int r) + { + int ret = ImPosModNative(l, r); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImNanNative(double val) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[375])(val); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[375])(val); + #endif + } + + /// + /// To be documented. + /// + public static bool ImNan(double val) + { + byte ret = ImNanNative(val); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImNanOrInfNative(double val) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[376])(val); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[376])(val); + #endif + } + + /// + /// To be documented. + /// + public static bool ImNanOrInf(double val) + { + byte ret = ImNanOrInfNative(val); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImConstrainNanNative(double val) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[377])(val); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[377])(val); + #endif + } + + /// + /// To be documented. + /// + public static double ImConstrainNan(double val) + { + double ret = ImConstrainNanNative(val); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImConstrainInfNative(double val) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[378])(val); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[378])(val); + #endif + } + + /// + /// To be documented. + /// + public static double ImConstrainInf(double val) + { + double ret = ImConstrainInfNative(val); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImConstrainLogNative(double val) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[379])(val); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[379])(val); + #endif + } + + /// + /// To be documented. + /// + public static double ImConstrainLog(double val) + { + double ret = ImConstrainLogNative(val); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImConstrainTimeNative(double val) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[380])(val); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[380])(val); + #endif + } + + /// + /// To be documented. + /// + public static double ImConstrainTime(double val) + { + double ret = ImConstrainTimeNative(val); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImAlmostEqualNative(double v1, double v2, int ulp) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[381])(v1, v2, ulp); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[381])(v1, v2, ulp); + #endif + } + + /// + /// To be documented. + /// + public static bool ImAlmostEqual(double v1, double v2, int ulp) + { + byte ret = ImAlmostEqualNative(v1, v2, ulp); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ImAlmostEqual(double v1, double v2) + { + byte ret = ImAlmostEqualNative(v1, v2, (int)(2)); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImMinArrayNative(float* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[382])(values, count); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[382])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static float ImMinArray(float* values, int count) + { + float ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static float ImMinArray(ref float values, int count) + { + fixed (float* pvalues = &values) + { + float ret = ImMinArrayNative((float*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMinArrayNative(double* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[383])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[383])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMinArray(double* values, int count) + { + double ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMinArray(ref double values, int count) + { + fixed (double* pvalues = &values) + { + double ret = ImMinArrayNative((double*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImMinArrayNative(byte* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[384])(values, count); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[384])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static byte ImMinArray(byte* values, int count) + { + byte ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static byte ImMinArray(ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + byte ret = ImMinArrayNative((byte*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static short ImMinArrayNative(short* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[385])(values, count); + #else + return (short)((delegate* unmanaged[Cdecl])funcTable[385])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static short ImMinArray(short* values, int count) + { + short ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static short ImMinArray(ref short values, int count) + { + fixed (short* pvalues = &values) + { + short ret = ImMinArrayNative((short*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort ImMinArrayNative(ushort* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[386])(values, count); + #else + return (ushort)((delegate* unmanaged[Cdecl])funcTable[386])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static ushort ImMinArray(ushort* values, int count) + { + ushort ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static ushort ImMinArray(ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + ushort ret = ImMinArrayNative((ushort*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int ImMinArrayNative(int* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[387])(values, count); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[387])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static int ImMinArray(int* values, int count) + { + int ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static int ImMinArray(ref int values, int count) + { + fixed (int* pvalues = &values) + { + int ret = ImMinArrayNative((int*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImMinArrayNative(uint* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[388])(values, count); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[388])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static uint ImMinArray(uint* values, int count) + { + uint ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static uint ImMinArray(ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + uint ret = ImMinArrayNative((uint*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static long ImMinArrayNative(long* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[389])(values, count); + #else + return (long)((delegate* unmanaged[Cdecl])funcTable[389])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static long ImMinArray(long* values, int count) + { + long ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static long ImMinArray(ref long values, int count) + { + fixed (long* pvalues = &values) + { + long ret = ImMinArrayNative((long*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ulong ImMinArrayNative(ulong* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[390])(values, count); + #else + return (ulong)((delegate* unmanaged[Cdecl])funcTable[390])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static ulong ImMinArray(ulong* values, int count) + { + ulong ret = ImMinArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static ulong ImMinArray(ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + ulong ret = ImMinArrayNative((ulong*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImMaxArrayNative(float* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[391])(values, count); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[391])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static float ImMaxArray(float* values, int count) + { + float ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static float ImMaxArray(ref float values, int count) + { + fixed (float* pvalues = &values) + { + float ret = ImMaxArrayNative((float*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMaxArrayNative(double* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[392])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[392])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMaxArray(double* values, int count) + { + double ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMaxArray(ref double values, int count) + { + fixed (double* pvalues = &values) + { + double ret = ImMaxArrayNative((double*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImMaxArrayNative(byte* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[393])(values, count); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[393])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static byte ImMaxArray(byte* values, int count) + { + byte ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static byte ImMaxArray(ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + byte ret = ImMaxArrayNative((byte*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static short ImMaxArrayNative(short* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[394])(values, count); + #else + return (short)((delegate* unmanaged[Cdecl])funcTable[394])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static short ImMaxArray(short* values, int count) + { + short ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static short ImMaxArray(ref short values, int count) + { + fixed (short* pvalues = &values) + { + short ret = ImMaxArrayNative((short*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort ImMaxArrayNative(ushort* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[395])(values, count); + #else + return (ushort)((delegate* unmanaged[Cdecl])funcTable[395])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static ushort ImMaxArray(ushort* values, int count) + { + ushort ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static ushort ImMaxArray(ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + ushort ret = ImMaxArrayNative((ushort*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int ImMaxArrayNative(int* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[396])(values, count); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[396])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static int ImMaxArray(int* values, int count) + { + int ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static int ImMaxArray(ref int values, int count) + { + fixed (int* pvalues = &values) + { + int ret = ImMaxArrayNative((int*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImMaxArrayNative(uint* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[397])(values, count); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[397])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static uint ImMaxArray(uint* values, int count) + { + uint ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static uint ImMaxArray(ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + uint ret = ImMaxArrayNative((uint*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static long ImMaxArrayNative(long* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[398])(values, count); + #else + return (long)((delegate* unmanaged[Cdecl])funcTable[398])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static long ImMaxArray(long* values, int count) + { + long ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static long ImMaxArray(ref long values, int count) + { + fixed (long* pvalues = &values) + { + long ret = ImMaxArrayNative((long*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ulong ImMaxArrayNative(ulong* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[399])(values, count); + #else + return (ulong)((delegate* unmanaged[Cdecl])funcTable[399])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static ulong ImMaxArray(ulong* values, int count) + { + ulong ret = ImMaxArrayNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static ulong ImMaxArray(ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + ulong ret = ImMaxArrayNative((ulong*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(float* values, int count, float* minOut, float* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[400])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[400])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(float* values, int count, float* minOut, float* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref float values, int count, float* minOut, float* maxOut) + { + fixed (float* pvalues = &values) + { + ImMinMaxArrayNative((float*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(float* values, int count, ref float minOut, float* maxOut) + { + fixed (float* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (float*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref float values, int count, ref float minOut, float* maxOut) + { + fixed (float* pvalues = &values) + { + fixed (float* pminOut = &minOut) + { + ImMinMaxArrayNative((float*)pvalues, count, (float*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(float* values, int count, float* minOut, ref float maxOut) + { + fixed (float* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (float*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref float values, int count, float* minOut, ref float maxOut) + { + fixed (float* pvalues = &values) + { + fixed (float* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((float*)pvalues, count, minOut, (float*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(float* values, int count, ref float minOut, ref float maxOut) + { + fixed (float* pminOut = &minOut) + { + fixed (float* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (float*)pminOut, (float*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref float values, int count, ref float minOut, ref float maxOut) + { + fixed (float* pvalues = &values) + { + fixed (float* pminOut = &minOut) + { + fixed (float* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((float*)pvalues, count, (float*)pminOut, (float*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(double* values, int count, double* minOut, double* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[401])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[401])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(double* values, int count, double* minOut, double* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref double values, int count, double* minOut, double* maxOut) + { + fixed (double* pvalues = &values) + { + ImMinMaxArrayNative((double*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(double* values, int count, ref double minOut, double* maxOut) + { + fixed (double* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (double*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref double values, int count, ref double minOut, double* maxOut) + { + fixed (double* pvalues = &values) + { + fixed (double* pminOut = &minOut) + { + ImMinMaxArrayNative((double*)pvalues, count, (double*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(double* values, int count, double* minOut, ref double maxOut) + { + fixed (double* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (double*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref double values, int count, double* minOut, ref double maxOut) + { + fixed (double* pvalues = &values) + { + fixed (double* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((double*)pvalues, count, minOut, (double*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(double* values, int count, ref double minOut, ref double maxOut) + { + fixed (double* pminOut = &minOut) + { + fixed (double* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (double*)pminOut, (double*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref double values, int count, ref double minOut, ref double maxOut) + { + fixed (double* pvalues = &values) + { + fixed (double* pminOut = &minOut) + { + fixed (double* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((double*)pvalues, count, (double*)pminOut, (double*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(byte* values, int count, byte* minOut, byte* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[402])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[402])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(byte* values, int count, byte* minOut, byte* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref byte values, int count, byte* minOut, byte* maxOut) + { + fixed (byte* pvalues = &values) + { + ImMinMaxArrayNative((byte*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(byte* values, int count, ref byte minOut, byte* maxOut) + { + fixed (byte* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (byte*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref byte values, int count, ref byte minOut, byte* maxOut) + { + fixed (byte* pvalues = &values) + { + fixed (byte* pminOut = &minOut) + { + ImMinMaxArrayNative((byte*)pvalues, count, (byte*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(byte* values, int count, byte* minOut, ref byte maxOut) + { + fixed (byte* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (byte*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref byte values, int count, byte* minOut, ref byte maxOut) + { + fixed (byte* pvalues = &values) + { + fixed (byte* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((byte*)pvalues, count, minOut, (byte*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(byte* values, int count, ref byte minOut, ref byte maxOut) + { + fixed (byte* pminOut = &minOut) + { + fixed (byte* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (byte*)pminOut, (byte*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref byte values, int count, ref byte minOut, ref byte maxOut) + { + fixed (byte* pvalues = &values) + { + fixed (byte* pminOut = &minOut) + { + fixed (byte* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((byte*)pvalues, count, (byte*)pminOut, (byte*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(short* values, int count, short* minOut, short* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[403])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[403])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(short* values, int count, short* minOut, short* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref short values, int count, short* minOut, short* maxOut) + { + fixed (short* pvalues = &values) + { + ImMinMaxArrayNative((short*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(short* values, int count, ref short minOut, short* maxOut) + { + fixed (short* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (short*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref short values, int count, ref short minOut, short* maxOut) + { + fixed (short* pvalues = &values) + { + fixed (short* pminOut = &minOut) + { + ImMinMaxArrayNative((short*)pvalues, count, (short*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(short* values, int count, short* minOut, ref short maxOut) + { + fixed (short* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (short*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref short values, int count, short* minOut, ref short maxOut) + { + fixed (short* pvalues = &values) + { + fixed (short* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((short*)pvalues, count, minOut, (short*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(short* values, int count, ref short minOut, ref short maxOut) + { + fixed (short* pminOut = &minOut) + { + fixed (short* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (short*)pminOut, (short*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref short values, int count, ref short minOut, ref short maxOut) + { + fixed (short* pvalues = &values) + { + fixed (short* pminOut = &minOut) + { + fixed (short* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((short*)pvalues, count, (short*)pminOut, (short*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(ushort* values, int count, ushort* minOut, ushort* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[404])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[404])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ushort* values, int count, ushort* minOut, ushort* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ushort values, int count, ushort* minOut, ushort* maxOut) + { + fixed (ushort* pvalues = &values) + { + ImMinMaxArrayNative((ushort*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ushort* values, int count, ref ushort minOut, ushort* maxOut) + { + fixed (ushort* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (ushort*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ushort values, int count, ref ushort minOut, ushort* maxOut) + { + fixed (ushort* pvalues = &values) + { + fixed (ushort* pminOut = &minOut) + { + ImMinMaxArrayNative((ushort*)pvalues, count, (ushort*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ushort* values, int count, ushort* minOut, ref ushort maxOut) + { + fixed (ushort* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (ushort*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ushort values, int count, ushort* minOut, ref ushort maxOut) + { + fixed (ushort* pvalues = &values) + { + fixed (ushort* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((ushort*)pvalues, count, minOut, (ushort*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ushort* values, int count, ref ushort minOut, ref ushort maxOut) + { + fixed (ushort* pminOut = &minOut) + { + fixed (ushort* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (ushort*)pminOut, (ushort*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ushort values, int count, ref ushort minOut, ref ushort maxOut) + { + fixed (ushort* pvalues = &values) + { + fixed (ushort* pminOut = &minOut) + { + fixed (ushort* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((ushort*)pvalues, count, (ushort*)pminOut, (ushort*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(int* values, int count, int* minOut, int* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[405])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[405])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(int* values, int count, int* minOut, int* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref int values, int count, int* minOut, int* maxOut) + { + fixed (int* pvalues = &values) + { + ImMinMaxArrayNative((int*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(int* values, int count, ref int minOut, int* maxOut) + { + fixed (int* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (int*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref int values, int count, ref int minOut, int* maxOut) + { + fixed (int* pvalues = &values) + { + fixed (int* pminOut = &minOut) + { + ImMinMaxArrayNative((int*)pvalues, count, (int*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(int* values, int count, int* minOut, ref int maxOut) + { + fixed (int* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (int*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref int values, int count, int* minOut, ref int maxOut) + { + fixed (int* pvalues = &values) + { + fixed (int* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((int*)pvalues, count, minOut, (int*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(int* values, int count, ref int minOut, ref int maxOut) + { + fixed (int* pminOut = &minOut) + { + fixed (int* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (int*)pminOut, (int*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref int values, int count, ref int minOut, ref int maxOut) + { + fixed (int* pvalues = &values) + { + fixed (int* pminOut = &minOut) + { + fixed (int* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((int*)pvalues, count, (int*)pminOut, (int*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(uint* values, int count, uint* minOut, uint* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[406])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[406])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(uint* values, int count, uint* minOut, uint* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref uint values, int count, uint* minOut, uint* maxOut) + { + fixed (uint* pvalues = &values) + { + ImMinMaxArrayNative((uint*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(uint* values, int count, ref uint minOut, uint* maxOut) + { + fixed (uint* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (uint*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref uint values, int count, ref uint minOut, uint* maxOut) + { + fixed (uint* pvalues = &values) + { + fixed (uint* pminOut = &minOut) + { + ImMinMaxArrayNative((uint*)pvalues, count, (uint*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(uint* values, int count, uint* minOut, ref uint maxOut) + { + fixed (uint* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (uint*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref uint values, int count, uint* minOut, ref uint maxOut) + { + fixed (uint* pvalues = &values) + { + fixed (uint* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((uint*)pvalues, count, minOut, (uint*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(uint* values, int count, ref uint minOut, ref uint maxOut) + { + fixed (uint* pminOut = &minOut) + { + fixed (uint* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (uint*)pminOut, (uint*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref uint values, int count, ref uint minOut, ref uint maxOut) + { + fixed (uint* pvalues = &values) + { + fixed (uint* pminOut = &minOut) + { + fixed (uint* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((uint*)pvalues, count, (uint*)pminOut, (uint*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(long* values, int count, long* minOut, long* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[407])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[407])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(long* values, int count, long* minOut, long* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref long values, int count, long* minOut, long* maxOut) + { + fixed (long* pvalues = &values) + { + ImMinMaxArrayNative((long*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(long* values, int count, ref long minOut, long* maxOut) + { + fixed (long* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (long*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref long values, int count, ref long minOut, long* maxOut) + { + fixed (long* pvalues = &values) + { + fixed (long* pminOut = &minOut) + { + ImMinMaxArrayNative((long*)pvalues, count, (long*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(long* values, int count, long* minOut, ref long maxOut) + { + fixed (long* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (long*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref long values, int count, long* minOut, ref long maxOut) + { + fixed (long* pvalues = &values) + { + fixed (long* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((long*)pvalues, count, minOut, (long*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(long* values, int count, ref long minOut, ref long maxOut) + { + fixed (long* pminOut = &minOut) + { + fixed (long* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (long*)pminOut, (long*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref long values, int count, ref long minOut, ref long maxOut) + { + fixed (long* pvalues = &values) + { + fixed (long* pminOut = &minOut) + { + fixed (long* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((long*)pvalues, count, (long*)pminOut, (long*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ImMinMaxArrayNative(ulong* values, int count, ulong* minOut, ulong* maxOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[408])(values, count, minOut, maxOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[408])((nint)values, count, (nint)minOut, (nint)maxOut); + #endif + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ulong* values, int count, ulong* minOut, ulong* maxOut) + { + ImMinMaxArrayNative(values, count, minOut, maxOut); + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ulong values, int count, ulong* minOut, ulong* maxOut) + { + fixed (ulong* pvalues = &values) + { + ImMinMaxArrayNative((ulong*)pvalues, count, minOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ulong* values, int count, ref ulong minOut, ulong* maxOut) + { + fixed (ulong* pminOut = &minOut) + { + ImMinMaxArrayNative(values, count, (ulong*)pminOut, maxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ulong values, int count, ref ulong minOut, ulong* maxOut) + { + fixed (ulong* pvalues = &values) + { + fixed (ulong* pminOut = &minOut) + { + ImMinMaxArrayNative((ulong*)pvalues, count, (ulong*)pminOut, maxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ulong* values, int count, ulong* minOut, ref ulong maxOut) + { + fixed (ulong* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, minOut, (ulong*)pmaxOut); + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ulong values, int count, ulong* minOut, ref ulong maxOut) + { + fixed (ulong* pvalues = &values) + { + fixed (ulong* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((ulong*)pvalues, count, minOut, (ulong*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ulong* values, int count, ref ulong minOut, ref ulong maxOut) + { + fixed (ulong* pminOut = &minOut) + { + fixed (ulong* pmaxOut = &maxOut) + { + ImMinMaxArrayNative(values, count, (ulong*)pminOut, (ulong*)pmaxOut); + } + } + } + + /// + /// To be documented. + /// + public static void ImMinMaxArray(ref ulong values, int count, ref ulong minOut, ref ulong maxOut) + { + fixed (ulong* pvalues = &values) + { + fixed (ulong* pminOut = &minOut) + { + fixed (ulong* pmaxOut = &maxOut) + { + ImMinMaxArrayNative((ulong*)pvalues, count, (ulong*)pminOut, (ulong*)pmaxOut); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float ImSumNative(float* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[409])(values, count); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[409])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static float ImSum(float* values, int count) + { + float ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static float ImSum(ref float values, int count) + { + fixed (float* pvalues = &values) + { + float ret = ImSumNative((float*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImSumNative(double* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[410])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[410])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImSum(double* values, int count) + { + double ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImSum(ref double values, int count) + { + fixed (double* pvalues = &values) + { + double ret = ImSumNative((double*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImSumNative(byte* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[411])(values, count); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[411])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static byte ImSum(byte* values, int count) + { + byte ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static byte ImSum(ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + byte ret = ImSumNative((byte*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static short ImSumNative(short* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[412])(values, count); + #else + return (short)((delegate* unmanaged[Cdecl])funcTable[412])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static short ImSum(short* values, int count) + { + short ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static short ImSum(ref short values, int count) + { + fixed (short* pvalues = &values) + { + short ret = ImSumNative((short*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ushort ImSumNative(ushort* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[413])(values, count); + #else + return (ushort)((delegate* unmanaged[Cdecl])funcTable[413])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static ushort ImSum(ushort* values, int count) + { + ushort ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static ushort ImSum(ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + ushort ret = ImSumNative((ushort*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int ImSumNative(int* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[414])(values, count); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[414])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static int ImSum(int* values, int count) + { + int ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static int ImSum(ref int values, int count) + { + fixed (int* pvalues = &values) + { + int ret = ImSumNative((int*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImSumNative(uint* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[415])(values, count); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[415])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static uint ImSum(uint* values, int count) + { + uint ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static uint ImSum(ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + uint ret = ImSumNative((uint*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static long ImSumNative(long* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[416])(values, count); + #else + return (long)((delegate* unmanaged[Cdecl])funcTable[416])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static long ImSum(long* values, int count) + { + long ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static long ImSum(ref long values, int count) + { + fixed (long* pvalues = &values) + { + long ret = ImSumNative((long*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ulong ImSumNative(ulong* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[417])(values, count); + #else + return (ulong)((delegate* unmanaged[Cdecl])funcTable[417])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static ulong ImSum(ulong* values, int count) + { + ulong ret = ImSumNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static ulong ImSum(ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + ulong ret = ImSumNative((ulong*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(float* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[418])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[418])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(float* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref float values, int count) + { + fixed (float* pvalues = &values) + { + double ret = ImMeanNative((float*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(double* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[419])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[419])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(double* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref double values, int count) + { + fixed (double* pvalues = &values) + { + double ret = ImMeanNative((double*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(byte* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[420])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[420])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(byte* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + double ret = ImMeanNative((byte*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(short* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[421])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[421])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(short* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref short values, int count) + { + fixed (short* pvalues = &values) + { + double ret = ImMeanNative((short*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(ushort* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[422])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[422])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(ushort* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + double ret = ImMeanNative((ushort*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(int* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[423])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[423])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(int* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref int values, int count) + { + fixed (int* pvalues = &values) + { + double ret = ImMeanNative((int*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(uint* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[424])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[424])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(uint* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + double ret = ImMeanNative((uint*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(long* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[425])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[425])((nint)values, count); + #endif + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.132.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.132.cs new file mode 100644 index 000000000..86bcd6bdb --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.132.cs @@ -0,0 +1,5032 @@ +// ------------------------------------------------------------------------------ +// +// 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 double ImMean(long* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref long values, int count) + { + fixed (long* pvalues = &values) + { + double ret = ImMeanNative((long*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImMeanNative(ulong* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[426])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[426])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImMean(ulong* values, int count) + { + double ret = ImMeanNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImMean(ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + double ret = ImMeanNative((ulong*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(float* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[427])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[427])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(float* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref float values, int count) + { + fixed (float* pvalues = &values) + { + double ret = ImStdDevNative((float*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(double* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[428])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[428])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(double* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref double values, int count) + { + fixed (double* pvalues = &values) + { + double ret = ImStdDevNative((double*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(byte* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[429])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[429])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(byte* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref byte values, int count) + { + fixed (byte* pvalues = &values) + { + double ret = ImStdDevNative((byte*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(short* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[430])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[430])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(short* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref short values, int count) + { + fixed (short* pvalues = &values) + { + double ret = ImStdDevNative((short*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(ushort* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[431])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[431])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(ushort* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref ushort values, int count) + { + fixed (ushort* pvalues = &values) + { + double ret = ImStdDevNative((ushort*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(int* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[432])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[432])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(int* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref int values, int count) + { + fixed (int* pvalues = &values) + { + double ret = ImStdDevNative((int*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(uint* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[433])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[433])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(uint* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref uint values, int count) + { + fixed (uint* pvalues = &values) + { + double ret = ImStdDevNative((uint*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(long* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[434])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[434])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(long* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref long values, int count) + { + fixed (long* pvalues = &values) + { + double ret = ImStdDevNative((long*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ImStdDevNative(ulong* values, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[435])(values, count); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[435])((nint)values, count); + #endif + } + + /// + /// To be documented. + /// + public static double ImStdDev(ulong* values, int count) + { + double ret = ImStdDevNative(values, count); + return ret; + } + + /// + /// To be documented. + /// + public static double ImStdDev(ref ulong values, int count) + { + fixed (ulong* pvalues = &values) + { + double ret = ImStdDevNative((ulong*)pvalues, count); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImMixU32Native(uint a, uint b, uint s) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[436])(a, b, s); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[436])(a, b, s); + #endif + } + + /// + /// To be documented. + /// + public static uint ImMixU32(uint a, uint b, uint s) + { + uint ret = ImMixU32Native(a, b, s); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImLerpU32Native(uint* colors, int size, float t) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[437])(colors, size, t); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[437])((nint)colors, size, t); + #endif + } + + /// + /// To be documented. + /// + public static uint ImLerpU32(uint* colors, int size, float t) + { + uint ret = ImLerpU32Native(colors, size, t); + return ret; + } + + /// + /// To be documented. + /// + public static uint ImLerpU32(ref uint colors, int size, float t) + { + fixed (uint* pcolors = &colors) + { + uint ret = ImLerpU32Native((uint*)pcolors, size, t); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint ImAlphaU32Native(uint col, float alpha) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[438])(col, alpha); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[438])(col, alpha); + #endif + } + + /// + /// To be documented. + /// + public static uint ImAlphaU32(uint col, float alpha) + { + uint ret = ImAlphaU32Native(col, alpha); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(float minA, float maxA, float minB, float maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[439])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[439])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(float minA, float maxA, float minB, float maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(double minA, double maxA, double minB, double maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[440])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[440])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(double minA, double maxA, double minB, double maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(byte minA, byte maxA, byte minB, byte maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[441])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[441])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(byte minA, byte maxA, byte minB, byte maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(short minA, short maxA, short minB, short maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[442])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[442])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(short minA, short maxA, short minB, short maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(ushort minA, ushort maxA, ushort minB, ushort maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[443])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[443])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(ushort minA, ushort maxA, ushort minB, ushort maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(int minA, int maxA, int minB, int maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[444])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[444])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(int minA, int maxA, int minB, int maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(uint minA, uint maxA, uint minB, uint maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[445])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[445])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(uint minA, uint maxA, uint minB, uint maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(long minA, long maxA, long minB, long maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[446])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[446])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(long minA, long maxA, long minB, long maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ImOverlapsNative(ulong minA, ulong maxA, ulong minB, ulong maxB) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[447])(minA, maxA, minB, maxB); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[447])(minA, maxA, minB, maxB); + #endif + } + + /// + /// To be documented. + /// + public static bool ImOverlaps(ulong minA, ulong maxA, ulong minB, ulong maxB) + { + byte ret = ImOverlapsNative(minA, maxA, minB, maxB); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotDateTimeSpec* ImPlotDateTimeSpecNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[448])(); + #else + return (ImPlotDateTimeSpec*)((delegate* unmanaged[Cdecl])funcTable[448])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec() + { + ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotDateTimeSpec* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[449])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[449])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotDateTimeSpecPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotDateTimeSpec self) + { + fixed (ImPlotDateTimeSpec* pself = &self) + { + DestroyNative((ImPlotDateTimeSpec*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotDateTimeSpec* ImPlotDateTimeSpecNative(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt, byte use24HrClk, byte useIso8601) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[450])(dateFmt, timeFmt, use24HrClk, useIso8601); + #else + return (ImPlotDateTimeSpec*)((delegate* unmanaged[Cdecl])funcTable[450])(dateFmt, timeFmt, use24HrClk, useIso8601); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt, bool use24HrClk, bool useIso8601) + { + ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(dateFmt, timeFmt, use24HrClk ? (byte)1 : (byte)0, useIso8601 ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt, bool use24HrClk) + { + ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(dateFmt, timeFmt, use24HrClk ? (byte)1 : (byte)0, (byte)(0)); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt) + { + ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(dateFmt, timeFmt, (byte)(0), (byte)(0)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTime* ImPlotTimeNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[451])(); + #else + return (ImPlotTime*)((delegate* unmanaged[Cdecl])funcTable[451])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTimePtr ImPlotTime() + { + ImPlotTimePtr ret = ImPlotTimeNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotTime* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[452])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[452])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotTimePtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotTime self) + { + fixed (ImPlotTime* pself = &self) + { + DestroyNative((ImPlotTime*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTime* ImPlotTimeNative(long s, int us) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[453])(s, us); + #else + return (ImPlotTime*)((delegate* unmanaged[Cdecl])funcTable[453])(s, us); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTimePtr ImPlotTime(long s, int us) + { + ImPlotTimePtr ret = ImPlotTimeNative(s, us); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotTimePtr ImPlotTime(long s) + { + ImPlotTimePtr ret = ImPlotTimeNative(s, (int)(0)); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void RollOverNative(ImPlotTime* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[454])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[454])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void RollOver(ImPlotTimePtr self) + { + RollOverNative(self); + } + + /// + /// To be documented. + /// + public static void RollOver(ref ImPlotTime self) + { + fixed (ImPlotTime* pself = &self) + { + RollOverNative((ImPlotTime*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double ToDoubleNative(ImPlotTime* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[455])(self); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[455])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static double ToDouble(ImPlotTimePtr self) + { + double ret = ToDoubleNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static double ToDouble(ref ImPlotTime self) + { + fixed (ImPlotTime* pself = &self) + { + double ret = ToDoubleNative((ImPlotTime*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void FromDoubleNative(ImPlotTime* pOut, double t) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[456])(pOut, t); + #else + ((delegate* unmanaged[Cdecl])funcTable[456])((nint)pOut, t); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTime FromDouble(double t) + { + ImPlotTime ret; + FromDoubleNative(&ret, t); + return ret; + } + + /// + /// To be documented. + /// + public static void FromDouble(ImPlotTimePtr pOut, double t) + { + FromDoubleNative(pOut, t); + } + + /// + /// To be documented. + /// + public static void FromDouble(ref ImPlotTime pOut, double t) + { + fixed (ImPlotTime* ppOut = &pOut) + { + FromDoubleNative((ImPlotTime*)ppOut, t); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotColormapData* ImPlotColormapDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[457])(); + #else + return (ImPlotColormapData*)((delegate* unmanaged[Cdecl])funcTable[457])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotColormapDataPtr ImPlotColormapData() + { + ImPlotColormapDataPtr ret = ImPlotColormapDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotColormapData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[458])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[458])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotColormapDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotColormapData self) + { + fixed (ImPlotColormapData* pself = &self) + { + DestroyNative((ImPlotColormapData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int AppendNative(ImPlotColormapData* self, byte* name, uint* keys, int count, byte qual) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[459])(self, name, keys, count, qual); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[459])((nint)self, (nint)name, (nint)keys, count, qual); + #endif + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, byte* name, uint* keys, int count, bool qual) + { + int ret = AppendNative(self, name, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, byte* name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + int ret = AppendNative((ImPlotColormapData*)pself, name, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, ref byte name, uint* keys, int count, bool qual) + { + fixed (byte* pname = &name) + { + int ret = AppendNative(self, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, ReadOnlySpan name, uint* keys, int count, bool qual) + { + fixed (byte* pname = name) + { + int ret = AppendNative(self, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, string name, uint* keys, int count, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + int ret = AppendNative(self, pStr0, keys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, ref byte name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + fixed (byte* pname = &name) + { + int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, ReadOnlySpan name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + fixed (byte* pname = name) + { + int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, string name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + int ret = AppendNative((ImPlotColormapData*)pself, pStr0, keys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, byte* name, ref uint keys, int count, bool qual) + { + fixed (uint* pkeys = &keys) + { + int ret = AppendNative(self, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, byte* name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + fixed (uint* pkeys = &keys) + { + int ret = AppendNative((ImPlotColormapData*)pself, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, ref byte name, ref uint keys, int count, bool qual) + { + fixed (byte* pname = &name) + { + fixed (uint* pkeys = &keys) + { + int ret = AppendNative(self, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, ReadOnlySpan name, ref uint keys, int count, bool qual) + { + fixed (byte* pname = name) + { + fixed (uint* pkeys = &keys) + { + int ret = AppendNative(self, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static int Append(ImPlotColormapDataPtr self, string name, ref uint keys, int count, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pkeys = &keys) + { + int ret = AppendNative(self, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, ref byte name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + fixed (byte* pname = &name) + { + fixed (uint* pkeys = &keys) + { + int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, ReadOnlySpan name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + fixed (byte* pname = name) + { + fixed (uint* pkeys = &keys) + { + int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public static int Append(ref ImPlotColormapData self, string name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pkeys = &keys) + { + int ret = AppendNative((ImPlotColormapData*)pself, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void _AppendTableNative(ImPlotColormapData* self, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[460])(self, cmap); + #else + ((delegate* unmanaged[Cdecl])funcTable[460])((nint)self, cmap); + #endif + } + + /// + /// To be documented. + /// + public static void _AppendTable(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + _AppendTableNative(self, cmap); + } + + /// + /// To be documented. + /// + public static void _AppendTable(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + _AppendTableNative((ImPlotColormapData*)pself, cmap); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void RebuildTablesNative(ImPlotColormapData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[461])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[461])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void RebuildTables(ImPlotColormapDataPtr self) + { + RebuildTablesNative(self); + } + + /// + /// To be documented. + /// + public static void RebuildTables(ref ImPlotColormapData self) + { + fixed (ImPlotColormapData* pself = &self) + { + RebuildTablesNative((ImPlotColormapData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsQualNative(ImPlotColormapData* self, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[462])(self, cmap); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[462])((nint)self, cmap); + #endif + } + + /// + /// To be documented. + /// + public static bool IsQual(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + byte ret = IsQualNative(self, cmap); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsQual(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + byte ret = IsQualNative((ImPlotColormapData*)pself, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetNameNative(ImPlotColormapData* self, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[463])(self, cmap); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[463])((nint)self, cmap); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetName(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + byte* ret = GetNameNative(self, cmap); + return ret; + } + + /// + /// To be documented. + /// + public static string GetNameS(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + string ret = Utils.DecodeStringUTF8(GetNameNative(self, cmap)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetName(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + byte* ret = GetNameNative((ImPlotColormapData*)pself, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetNameS(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetNameNative((ImPlotColormapData*)pself, cmap)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotColormap GetIndexNative(ImPlotColormapData* self, byte* name) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[464])(self, name); + #else + return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[464])((nint)self, (nint)name); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, byte* name) + { + ImPlotColormap ret = GetIndexNative(self, name); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ref ImPlotColormapData self, byte* name) + { + fixed (ImPlotColormapData* pself = &self) + { + ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, name); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, ref byte name) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = GetIndexNative(self, (byte*)pname); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, ReadOnlySpan name) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = GetIndexNative(self, (byte*)pname); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, string name) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = GetIndexNative(self, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ref ImPlotColormapData self, ref byte name) + { + fixed (ImPlotColormapData* pself = &self) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, (byte*)pname); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ref ImPlotColormapData self, ReadOnlySpan name) + { + fixed (ImPlotColormapData* pself = &self) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, (byte*)pname); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotColormap GetIndex(ref ImPlotColormapData self, string name) + { + fixed (ImPlotColormapData* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint* GetKeysNative(ImPlotColormapData* self, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[465])(self, cmap); + #else + return (uint*)((delegate* unmanaged[Cdecl])funcTable[465])((nint)self, cmap); + #endif + } + + /// + /// To be documented. + /// + public static uint* GetKeys(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + uint* ret = GetKeysNative(self, cmap); + return ret; + } + + /// + /// To be documented. + /// + public static uint* GetKeys(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + uint* ret = GetKeysNative((ImPlotColormapData*)pself, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetKeyCountNative(ImPlotColormapData* self, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[466])(self, cmap); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[466])((nint)self, cmap); + #endif + } + + /// + /// To be documented. + /// + public static int GetKeyCount(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + int ret = GetKeyCountNative(self, cmap); + return ret; + } + + /// + /// To be documented. + /// + public static int GetKeyCount(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + int ret = GetKeyCountNative((ImPlotColormapData*)pself, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetKeyColorNative(ImPlotColormapData* self, ImPlotColormap cmap, int idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[467])(self, cmap, idx); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[467])((nint)self, cmap, idx); + #endif + } + + /// + /// To be documented. + /// + public static uint GetKeyColor(ImPlotColormapDataPtr self, ImPlotColormap cmap, int idx) + { + uint ret = GetKeyColorNative(self, cmap, idx); + return ret; + } + + /// + /// To be documented. + /// + public static uint GetKeyColor(ref ImPlotColormapData self, ImPlotColormap cmap, int idx) + { + fixed (ImPlotColormapData* pself = &self) + { + uint ret = GetKeyColorNative((ImPlotColormapData*)pself, cmap, idx); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetKeyColorNative(ImPlotColormapData* self, ImPlotColormap cmap, int idx, uint value) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[468])(self, cmap, idx, value); + #else + ((delegate* unmanaged[Cdecl])funcTable[468])((nint)self, cmap, idx, value); + #endif + } + + /// + /// To be documented. + /// + public static void SetKeyColor(ImPlotColormapDataPtr self, ImPlotColormap cmap, int idx, uint value) + { + SetKeyColorNative(self, cmap, idx, value); + } + + /// + /// To be documented. + /// + public static void SetKeyColor(ref ImPlotColormapData self, ImPlotColormap cmap, int idx, uint value) + { + fixed (ImPlotColormapData* pself = &self) + { + SetKeyColorNative((ImPlotColormapData*)pself, cmap, idx, value); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint* GetTableNative(ImPlotColormapData* self, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[469])(self, cmap); + #else + return (uint*)((delegate* unmanaged[Cdecl])funcTable[469])((nint)self, cmap); + #endif + } + + /// + /// To be documented. + /// + public static uint* GetTable(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + uint* ret = GetTableNative(self, cmap); + return ret; + } + + /// + /// To be documented. + /// + public static uint* GetTable(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + uint* ret = GetTableNative((ImPlotColormapData*)pself, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetTableSizeNative(ImPlotColormapData* self, ImPlotColormap cmap) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[470])(self, cmap); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[470])((nint)self, cmap); + #endif + } + + /// + /// To be documented. + /// + public static int GetTableSize(ImPlotColormapDataPtr self, ImPlotColormap cmap) + { + int ret = GetTableSizeNative(self, cmap); + return ret; + } + + /// + /// To be documented. + /// + public static int GetTableSize(ref ImPlotColormapData self, ImPlotColormap cmap) + { + fixed (ImPlotColormapData* pself = &self) + { + int ret = GetTableSizeNative((ImPlotColormapData*)pself, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetTableColorNative(ImPlotColormapData* self, ImPlotColormap cmap, int idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[471])(self, cmap, idx); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[471])((nint)self, cmap, idx); + #endif + } + + /// + /// To be documented. + /// + public static uint GetTableColor(ImPlotColormapDataPtr self, ImPlotColormap cmap, int idx) + { + uint ret = GetTableColorNative(self, cmap, idx); + return ret; + } + + /// + /// To be documented. + /// + public static uint GetTableColor(ref ImPlotColormapData self, ImPlotColormap cmap, int idx) + { + fixed (ImPlotColormapData* pself = &self) + { + uint ret = GetTableColorNative((ImPlotColormapData*)pself, cmap, idx); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint LerpTableNative(ImPlotColormapData* self, ImPlotColormap cmap, float t) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[472])(self, cmap, t); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[472])((nint)self, cmap, t); + #endif + } + + /// + /// To be documented. + /// + public static uint LerpTable(ImPlotColormapDataPtr self, ImPlotColormap cmap, float t) + { + uint ret = LerpTableNative(self, cmap, t); + return ret; + } + + /// + /// To be documented. + /// + public static uint LerpTable(ref ImPlotColormapData self, ImPlotColormap cmap, float t) + { + fixed (ImPlotColormapData* pself = &self) + { + uint ret = LerpTableNative((ImPlotColormapData*)pself, cmap, t); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotPointError* ImPlotPointErrorNative(double x, double y, double neg, double pos) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[473])(x, y, neg, pos); + #else + return (ImPlotPointError*)((delegate* unmanaged[Cdecl])funcTable[473])(x, y, neg, pos); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPointErrorPtr ImPlotPointError(double x, double y, double neg, double pos) + { + ImPlotPointErrorPtr ret = ImPlotPointErrorNative(x, y, neg, pos); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotPointError* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[474])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[474])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotPointErrorPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotPointError self) + { + fixed (ImPlotPointError* pself = &self) + { + DestroyNative((ImPlotPointError*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotAnnotationCollection* ImPlotAnnotationCollectionNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[475])(); + #else + return (ImPlotAnnotationCollection*)((delegate* unmanaged[Cdecl])funcTable[475])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotAnnotationCollectionPtr ImPlotAnnotationCollection() + { + ImPlotAnnotationCollectionPtr ret = ImPlotAnnotationCollectionNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotAnnotationCollection* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[476])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[476])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotAnnotationCollectionPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotAnnotationCollection self) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + DestroyNative((ImPlotAnnotationCollection*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AppendVNative(ImPlotAnnotationCollection* self, Vector2 pos, Vector2 off, uint bg, uint fg, byte clamp, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[477])(self, pos, off, bg, fg, clamp, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[477])((nint)self, pos, off, bg, fg, clamp, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) + { + AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + fixed (byte* pfmt = &fmt) + { + AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + fixed (byte* pfmt = fmt) + { + AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AppendNative(ImPlotAnnotationCollection* self, Vector2 pos, Vector2 off, uint bg, uint fg, byte clamp, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[478])(self, pos, off, bg, fg, clamp, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[478])((nint)self, pos, off, bg, fg, clamp, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) + { + AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); + } + } + + /// + /// To be documented. + /// + public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + fixed (byte* pfmt = &fmt) + { + AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + fixed (byte* pfmt = fmt) + { + AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetTextNative(ImPlotAnnotationCollection* self, int idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[479])(self, idx); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[479])((nint)self, idx); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetText(ImPlotAnnotationCollectionPtr self, int idx) + { + byte* ret = GetTextNative(self, idx); + return ret; + } + + /// + /// To be documented. + /// + public static string GetTextS(ImPlotAnnotationCollectionPtr self, int idx) + { + string ret = Utils.DecodeStringUTF8(GetTextNative(self, idx)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetText(ref ImPlotAnnotationCollection self, int idx) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + byte* ret = GetTextNative((ImPlotAnnotationCollection*)pself, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetTextS(ref ImPlotAnnotationCollection self, int idx) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotAnnotationCollection*)pself, idx)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotAnnotationCollection* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[480])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[480])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotAnnotationCollectionPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotAnnotationCollection self) + { + fixed (ImPlotAnnotationCollection* pself = &self) + { + ResetNative((ImPlotAnnotationCollection*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTagCollection* ImPlotTagCollectionNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[481])(); + #else + return (ImPlotTagCollection*)((delegate* unmanaged[Cdecl])funcTable[481])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTagCollectionPtr ImPlotTagCollection() + { + ImPlotTagCollectionPtr ret = ImPlotTagCollectionNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotTagCollection* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[482])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[482])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotTagCollectionPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotTagCollection self) + { + fixed (ImPlotTagCollection* pself = &self) + { + DestroyNative((ImPlotTagCollection*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AppendVNative(ImPlotTagCollection* self, ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[483])(self, axis, value, bg, fg, fmt, args); + #else + ((delegate* unmanaged[Cdecl])funcTable[483])((nint)self, axis, value, bg, fg, (nint)fmt, args); + #endif + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) + { + AppendVNative(self, axis, value, bg, fg, fmt, args); + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) + { + fixed (ImPlotTagCollection* pself = &self) + { + AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, fmt, args); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + AppendVNative(self, axis, value, bg, fg, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + AppendVNative(self, axis, value, bg, fg, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendVNative(self, axis, value, bg, fg, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) + { + fixed (ImPlotTagCollection* pself = &self) + { + fixed (byte* pfmt = &fmt) + { + AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) + { + fixed (ImPlotTagCollection* pself = &self) + { + fixed (byte* pfmt = fmt) + { + AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) + { + fixed (ImPlotTagCollection* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AppendNative(ImPlotTagCollection* self, ImAxis axis, double value, uint bg, uint fg, byte* fmt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[484])(self, axis, value, bg, fg, fmt); + #else + ((delegate* unmanaged[Cdecl])funcTable[484])((nint)self, axis, value, bg, fg, (nint)fmt); + #endif + } + + /// + /// To be documented. + /// + public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, byte* fmt) + { + AppendNative(self, axis, value, bg, fg, fmt); + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, byte* fmt) + { + fixed (ImPlotTagCollection* pself = &self) + { + AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, fmt); + } + } + + /// + /// To be documented. + /// + public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + AppendNative(self, axis, value, bg, fg, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + AppendNative(self, axis, value, bg, fg, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendNative(self, axis, value, bg, fg, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt) + { + fixed (ImPlotTagCollection* pself = &self) + { + fixed (byte* pfmt = &fmt) + { + AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) + { + fixed (ImPlotTagCollection* pself = &self) + { + fixed (byte* pfmt = fmt) + { + AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, string fmt) + { + fixed (ImPlotTagCollection* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetTextNative(ImPlotTagCollection* self, int idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[485])(self, idx); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[485])((nint)self, idx); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetText(ImPlotTagCollectionPtr self, int idx) + { + byte* ret = GetTextNative(self, idx); + return ret; + } + + /// + /// To be documented. + /// + public static string GetTextS(ImPlotTagCollectionPtr self, int idx) + { + string ret = Utils.DecodeStringUTF8(GetTextNative(self, idx)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetText(ref ImPlotTagCollection self, int idx) + { + fixed (ImPlotTagCollection* pself = &self) + { + byte* ret = GetTextNative((ImPlotTagCollection*)pself, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetTextS(ref ImPlotTagCollection self, int idx) + { + fixed (ImPlotTagCollection* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotTagCollection*)pself, idx)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotTagCollection* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[486])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[486])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotTagCollectionPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotTagCollection self) + { + fixed (ImPlotTagCollection* pself = &self) + { + ResetNative((ImPlotTagCollection*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTick* ImPlotTickNative(double value, byte major, int level, byte showLabel) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[487])(value, major, level, showLabel); + #else + return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[487])(value, major, level, showLabel); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr ImPlotTick(double value, bool major, int level, bool showLabel) + { + ImPlotTickPtr ret = ImPlotTickNative(value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotTick* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[488])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[488])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotTickPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotTick self) + { + fixed (ImPlotTick* pself = &self) + { + DestroyNative((ImPlotTick*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTicker* ImPlotTickerNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[489])(); + #else + return (ImPlotTicker*)((delegate* unmanaged[Cdecl])funcTable[489])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTickerPtr ImPlotTicker() + { + ImPlotTickerPtr ret = ImPlotTickerNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotTicker* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[490])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[490])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotTickerPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotTicker self) + { + fixed (ImPlotTicker* pself = &self) + { + DestroyNative((ImPlotTicker*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTick* AddTickNative(ImPlotTicker* self, double value, byte major, int level, byte showLabel, byte* label) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[491])(self, value, major, level, showLabel, label); + #else + return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[491])((nint)self, value, major, level, showLabel, (nint)label); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, byte* label) + { + ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, byte* label) + { + fixed (ImPlotTicker* pself = &self) + { + ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, ref byte label) + { + fixed (byte* plabel = &label) + { + ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, ref byte label) + { + fixed (ImPlotTicker* pself = &self) + { + fixed (byte* plabel = &label) + { + ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, ReadOnlySpan label) + { + fixed (ImPlotTicker* pself = &self) + { + fixed (byte* plabel = label) + { + ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, string label) + { + fixed (ImPlotTicker* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTick* AddTickNative(ImPlotTicker* self, double value, byte major, int level, byte showLabel, ImPlotFormatter formatter, void* data) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl], void*, ImPlotTick*>)funcTable[492])(self, value, major, level, showLabel, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), data); + #else + return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[492])((nint)self, value, major, level, showLabel, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)data); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) + { + ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) + { + fixed (ImPlotTicker* pself = &self) + { + ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotTick* AddTickNative(ImPlotTicker* self, ImPlotTick tick) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[493])(self, tick); + #else + return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[493])((nint)self, tick); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, ImPlotTick tick) + { + ImPlotTickPtr ret = AddTickNative(self, tick); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotTickPtr AddTick(ref ImPlotTicker self, ImPlotTick tick) + { + fixed (ImPlotTicker* pself = &self) + { + ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, tick); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetTextNative(ImPlotTicker* self, int idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[494])(self, idx); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[494])((nint)self, idx); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetText(ImPlotTickerPtr self, int idx) + { + byte* ret = GetTextNative(self, idx); + return ret; + } + + /// + /// To be documented. + /// + public static string GetTextS(ImPlotTickerPtr self, int idx) + { + string ret = Utils.DecodeStringUTF8(GetTextNative(self, idx)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetText(ref ImPlotTicker self, int idx) + { + fixed (ImPlotTicker* pself = &self) + { + byte* ret = GetTextNative((ImPlotTicker*)pself, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetTextS(ref ImPlotTicker self, int idx) + { + fixed (ImPlotTicker* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotTicker*)pself, idx)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetTextNative(ImPlotTicker* self, ImPlotTick tick) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[495])(self, tick); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[495])((nint)self, tick); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetText(ImPlotTickerPtr self, ImPlotTick tick) + { + byte* ret = GetTextNative(self, tick); + return ret; + } + + /// + /// To be documented. + /// + public static string GetTextS(ImPlotTickerPtr self, ImPlotTick tick) + { + string ret = Utils.DecodeStringUTF8(GetTextNative(self, tick)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetText(ref ImPlotTicker self, ImPlotTick tick) + { + fixed (ImPlotTicker* pself = &self) + { + byte* ret = GetTextNative((ImPlotTicker*)pself, tick); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetTextS(ref ImPlotTicker self, ImPlotTick tick) + { + fixed (ImPlotTicker* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotTicker*)pself, tick)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void OverrideSizeLateNative(ImPlotTicker* self, Vector2 size) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[496])(self, size); + #else + ((delegate* unmanaged[Cdecl])funcTable[496])((nint)self, size); + #endif + } + + /// + /// To be documented. + /// + public static void OverrideSizeLate(ImPlotTickerPtr self, Vector2 size) + { + OverrideSizeLateNative(self, size); + } + + /// + /// To be documented. + /// + public static void OverrideSizeLate(ref ImPlotTicker self, Vector2 size) + { + fixed (ImPlotTicker* pself = &self) + { + OverrideSizeLateNative((ImPlotTicker*)pself, size); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotTicker* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[497])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[497])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotTickerPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotTicker self) + { + fixed (ImPlotTicker* pself = &self) + { + ResetNative((ImPlotTicker*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int TickCountNative(ImPlotTicker* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[498])(self); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[498])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static int TickCount(ImPlotTickerPtr self) + { + int ret = TickCountNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static int TickCount(ref ImPlotTicker self) + { + fixed (ImPlotTicker* pself = &self) + { + int ret = TickCountNative((ImPlotTicker*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotAxis* ImPlotAxisNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[499])(); + #else + return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[499])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr ImPlotAxis() + { + ImPlotAxisPtr ret = ImPlotAxisNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[500])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[500])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotAxisPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + DestroyNative((ImPlotAxis*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[501])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[501])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotAxisPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + ResetNative((ImPlotAxis*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SetMinNative(ImPlotAxis* self, double min, byte force) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[502])(self, min, force); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[502])((nint)self, min, force); + #endif + } + + /// + /// To be documented. + /// + public static bool SetMin(ImPlotAxisPtr self, double min, bool force) + { + byte ret = SetMinNative(self, min, force ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetMin(ImPlotAxisPtr self, double min) + { + byte ret = SetMinNative(self, min, (byte)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetMin(ref ImPlotAxis self, double min, bool force) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = SetMinNative((ImPlotAxis*)pself, min, force ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetMin(ref ImPlotAxis self, double min) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = SetMinNative((ImPlotAxis*)pself, min, (byte)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte SetMaxNative(ImPlotAxis* self, double max, byte force) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[503])(self, max, force); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[503])((nint)self, max, force); + #endif + } + + /// + /// To be documented. + /// + public static bool SetMax(ImPlotAxisPtr self, double max, bool force) + { + byte ret = SetMaxNative(self, max, force ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetMax(ImPlotAxisPtr self, double max) + { + byte ret = SetMaxNative(self, max, (byte)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool SetMax(ref ImPlotAxis self, double max, bool force) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = SetMaxNative((ImPlotAxis*)pself, max, force ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool SetMax(ref ImPlotAxis self, double max) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = SetMaxNative((ImPlotAxis*)pself, max, (byte)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetRangeNative(ImPlotAxis* self, double v1, double v2) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[504])(self, v1, v2); + #else + ((delegate* unmanaged[Cdecl])funcTable[504])((nint)self, v1, v2); + #endif + } + + /// + /// To be documented. + /// + public static void SetRange(ImPlotAxisPtr self, double v1, double v2) + { + SetRangeNative(self, v1, v2); + } + + /// + /// To be documented. + /// + public static void SetRange(ref ImPlotAxis self, double v1, double v2) + { + fixed (ImPlotAxis* pself = &self) + { + SetRangeNative((ImPlotAxis*)pself, v1, v2); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetRangeNative(ImPlotAxis* self, ImPlotRange range) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[505])(self, range); + #else + ((delegate* unmanaged[Cdecl])funcTable[505])((nint)self, range); + #endif + } + + /// + /// To be documented. + /// + public static void SetRange(ImPlotAxisPtr self, ImPlotRange range) + { + SetRangeNative(self, range); + } + + /// + /// To be documented. + /// + public static void SetRange(ref ImPlotAxis self, ImPlotRange range) + { + fixed (ImPlotAxis* pself = &self) + { + SetRangeNative((ImPlotAxis*)pself, range); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetAspectNative(ImPlotAxis* self, double unitPerPix) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[506])(self, unitPerPix); + #else + ((delegate* unmanaged[Cdecl])funcTable[506])((nint)self, unitPerPix); + #endif + } + + /// + /// To be documented. + /// + public static void SetAspect(ImPlotAxisPtr self, double unitPerPix) + { + SetAspectNative(self, unitPerPix); + } + + /// + /// To be documented. + /// + public static void SetAspect(ref ImPlotAxis self, double unitPerPix) + { + fixed (ImPlotAxis* pself = &self) + { + SetAspectNative((ImPlotAxis*)pself, unitPerPix); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float PixelSizeNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[507])(self); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[507])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static float PixelSize(ImPlotAxisPtr self) + { + float ret = PixelSizeNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static float PixelSize(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + float ret = PixelSizeNative((ImPlotAxis*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double GetAspectNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[508])(self); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[508])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static double GetAspect(ImPlotAxisPtr self) + { + double ret = GetAspectNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static double GetAspect(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + double ret = GetAspectNative((ImPlotAxis*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ConstrainNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[509])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[509])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Constrain(ImPlotAxisPtr self) + { + ConstrainNative(self); + } + + /// + /// To be documented. + /// + public static void Constrain(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + ConstrainNative((ImPlotAxis*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void UpdateTransformCacheNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[510])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[510])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void UpdateTransformCache(ImPlotAxisPtr self) + { + UpdateTransformCacheNative(self); + } + + /// + /// To be documented. + /// + public static void UpdateTransformCache(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + UpdateTransformCacheNative((ImPlotAxis*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static float PlotToPixelsNative(ImPlotAxis* self, double plt) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[511])(self, plt); + #else + return (float)((delegate* unmanaged[Cdecl])funcTable[511])((nint)self, plt); + #endif + } + + /// + /// To be documented. + /// + public static float PlotToPixels(ImPlotAxisPtr self, double plt) + { + float ret = PlotToPixelsNative(self, plt); + return ret; + } + + /// + /// To be documented. + /// + public static float PlotToPixels(ref ImPlotAxis self, double plt) + { + fixed (ImPlotAxis* pself = &self) + { + float ret = PlotToPixelsNative((ImPlotAxis*)pself, plt); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double PixelsToPlotNative(ImPlotAxis* self, float pix) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[512])(self, pix); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[512])((nint)self, pix); + #endif + } + + /// + /// To be documented. + /// + public static double PixelsToPlot(ImPlotAxisPtr self, float pix) + { + double ret = PixelsToPlotNative(self, pix); + return ret; + } + + /// + /// To be documented. + /// + public static double PixelsToPlot(ref ImPlotAxis self, float pix) + { + fixed (ImPlotAxis* pself = &self) + { + double ret = PixelsToPlotNative((ImPlotAxis*)pself, pix); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ExtendFitNative(ImPlotAxis* self, double v) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[513])(self, v); + #else + ((delegate* unmanaged[Cdecl])funcTable[513])((nint)self, v); + #endif + } + + /// + /// To be documented. + /// + public static void ExtendFit(ImPlotAxisPtr self, double v) + { + ExtendFitNative(self, v); + } + + /// + /// To be documented. + /// + public static void ExtendFit(ref ImPlotAxis self, double v) + { + fixed (ImPlotAxis* pself = &self) + { + ExtendFitNative((ImPlotAxis*)pself, v); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ExtendFitWithNative(ImPlotAxis* self, ImPlotAxis* alt, double v, double vAlt) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[514])(self, alt, v, vAlt); + #else + ((delegate* unmanaged[Cdecl])funcTable[514])((nint)self, (nint)alt, v, vAlt); + #endif + } + + /// + /// To be documented. + /// + public static void ExtendFitWith(ImPlotAxisPtr self, ImPlotAxisPtr alt, double v, double vAlt) + { + ExtendFitWithNative(self, alt, v, vAlt); + } + + /// + /// To be documented. + /// + public static void ExtendFitWith(ref ImPlotAxis self, ImPlotAxisPtr alt, double v, double vAlt) + { + fixed (ImPlotAxis* pself = &self) + { + ExtendFitWithNative((ImPlotAxis*)pself, alt, v, vAlt); + } + } + + /// + /// To be documented. + /// + public static void ExtendFitWith(ImPlotAxisPtr self, ref ImPlotAxis alt, double v, double vAlt) + { + fixed (ImPlotAxis* palt = &alt) + { + ExtendFitWithNative(self, (ImPlotAxis*)palt, v, vAlt); + } + } + + /// + /// To be documented. + /// + public static void ExtendFitWith(ref ImPlotAxis self, ref ImPlotAxis alt, double v, double vAlt) + { + fixed (ImPlotAxis* pself = &self) + { + fixed (ImPlotAxis* palt = &alt) + { + ExtendFitWithNative((ImPlotAxis*)pself, (ImPlotAxis*)palt, v, vAlt); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ApplyFitNative(ImPlotAxis* self, float padding) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[515])(self, padding); + #else + ((delegate* unmanaged[Cdecl])funcTable[515])((nint)self, padding); + #endif + } + + /// + /// To be documented. + /// + public static void ApplyFit(ImPlotAxisPtr self, float padding) + { + ApplyFitNative(self, padding); + } + + /// + /// To be documented. + /// + public static void ApplyFit(ref ImPlotAxis self, float padding) + { + fixed (ImPlotAxis* pself = &self) + { + ApplyFitNative((ImPlotAxis*)pself, padding); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte HasLabelNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[516])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[516])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool HasLabel(ImPlotAxisPtr self) + { + byte ret = HasLabelNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool HasLabel(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = HasLabelNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte HasGridLinesNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[517])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[517])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool HasGridLines(ImPlotAxisPtr self) + { + byte ret = HasGridLinesNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool HasGridLines(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = HasGridLinesNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte HasTickLabelsNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[518])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[518])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool HasTickLabels(ImPlotAxisPtr self) + { + byte ret = HasTickLabelsNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool HasTickLabels(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = HasTickLabelsNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte HasTickMarksNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[519])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[519])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool HasTickMarks(ImPlotAxisPtr self) + { + byte ret = HasTickMarksNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool HasTickMarks(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = HasTickMarksNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte WillRenderNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[520])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[520])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool WillRender(ImPlotAxisPtr self) + { + byte ret = WillRenderNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool WillRender(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = WillRenderNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsOppositeNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[521])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[521])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsOpposite(ImPlotAxisPtr self) + { + byte ret = IsOppositeNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsOpposite(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsOppositeNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsInvertedNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[522])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[522])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsInverted(ImPlotAxisPtr self) + { + byte ret = IsInvertedNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsInverted(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsInvertedNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsForegroundNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[523])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[523])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsForeground(ImPlotAxisPtr self) + { + byte ret = IsForegroundNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsForeground(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsForegroundNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsAutoFittingNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[524])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[524])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsAutoFitting(ImPlotAxisPtr self) + { + byte ret = IsAutoFittingNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsAutoFitting(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsAutoFittingNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte CanInitFitNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[525])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[525])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool CanInitFit(ImPlotAxisPtr self) + { + byte ret = CanInitFitNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool CanInitFit(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = CanInitFitNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsRangeLockedNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[526])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[526])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsRangeLocked(ImPlotAxisPtr self) + { + byte ret = IsRangeLockedNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsRangeLocked(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsRangeLockedNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsLockedMinNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[527])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[527])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsLockedMin(ImPlotAxisPtr self) + { + byte ret = IsLockedMinNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsLockedMin(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsLockedMinNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsLockedMaxNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[528])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[528])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsLockedMax(ImPlotAxisPtr self) + { + byte ret = IsLockedMaxNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsLockedMax(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsLockedMaxNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsLockedNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[529])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[529])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsLocked(ImPlotAxisPtr self) + { + byte ret = IsLockedNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsLocked(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsLockedNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsInputLockedMinNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[530])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[530])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsInputLockedMin(ImPlotAxisPtr self) + { + byte ret = IsInputLockedMinNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsInputLockedMin(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsInputLockedMinNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsInputLockedMaxNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[531])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[531])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsInputLockedMax(ImPlotAxisPtr self) + { + byte ret = IsInputLockedMaxNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsInputLockedMax(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsInputLockedMaxNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsInputLockedNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[532])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[532])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsInputLocked(ImPlotAxisPtr self) + { + byte ret = IsInputLockedNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsInputLocked(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsInputLockedNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte HasMenusNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[533])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[533])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool HasMenus(ImPlotAxisPtr self) + { + byte ret = HasMenusNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool HasMenus(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = HasMenusNative((ImPlotAxis*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsPanLockedNative(ImPlotAxis* self, byte increasing) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[534])(self, increasing); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[534])((nint)self, increasing); + #endif + } + + /// + /// To be documented. + /// + public static bool IsPanLocked(ImPlotAxisPtr self, bool increasing) + { + byte ret = IsPanLockedNative(self, increasing ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsPanLocked(ref ImPlotAxis self, bool increasing) + { + fixed (ImPlotAxis* pself = &self) + { + byte ret = IsPanLockedNative((ImPlotAxis*)pself, increasing ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PushLinksNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[535])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[535])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void PushLinks(ImPlotAxisPtr self) + { + PushLinksNative(self); + } + + /// + /// To be documented. + /// + public static void PushLinks(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + PushLinksNative((ImPlotAxis*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PullLinksNative(ImPlotAxis* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[536])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[536])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void PullLinks(ImPlotAxisPtr self) + { + PullLinksNative(self); + } + + /// + /// To be documented. + /// + public static void PullLinks(ref ImPlotAxis self) + { + fixed (ImPlotAxis* pself = &self) + { + PullLinksNative((ImPlotAxis*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotAlignmentData* ImPlotAlignmentDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[537])(); + #else + return (ImPlotAlignmentData*)((delegate* unmanaged[Cdecl])funcTable[537])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotAlignmentDataPtr ImPlotAlignmentData() + { + ImPlotAlignmentDataPtr ret = ImPlotAlignmentDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotAlignmentData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[538])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[538])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotAlignmentDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotAlignmentData self) + { + fixed (ImPlotAlignmentData* pself = &self) + { + DestroyNative((ImPlotAlignmentData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BeginNative(ImPlotAlignmentData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[539])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[539])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Begin(ImPlotAlignmentDataPtr self) + { + BeginNative(self); + } + + /// + /// To be documented. + /// + public static void Begin(ref ImPlotAlignmentData self) + { + fixed (ImPlotAlignmentData* pself = &self) + { + BeginNative((ImPlotAlignmentData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void UpdateNative(ImPlotAlignmentData* self, float* padA, float* padB, float* deltaA, float* deltaB) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[540])(self, padA, padB, deltaA, deltaB); + #else + ((delegate* unmanaged[Cdecl])funcTable[540])((nint)self, (nint)padA, (nint)padB, (nint)deltaA, (nint)deltaB); + #endif + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, float* deltaA, float* deltaB) + { + UpdateNative(self, padA, padB, deltaA, deltaB); + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, padB, deltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, float* deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + UpdateNative(self, (float*)ppadA, padB, deltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, deltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (float* ppadB = &padB) + { + UpdateNative(self, padA, (float*)ppadB, deltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadB = &padB) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, deltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + UpdateNative(self, (float*)ppadA, (float*)ppadB, deltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, deltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative(self, padA, padB, (float*)pdeltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, padB, (float*)pdeltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative(self, (float*)ppadA, padB, (float*)pdeltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, (float*)pdeltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative(self, padA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative(self, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, padA, padB, deltaA, (float*)pdeltaB); + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, padB, deltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, (float*)ppadA, padB, deltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, deltaA, (float*)pdeltaB); + } + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.133.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.133.cs new file mode 100644 index 000000000..ab35abd9f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.133.cs @@ -0,0 +1,5031 @@ +// ------------------------------------------------------------------------------ +// +// 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 Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, padA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, padA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative(self, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* pself = &self) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndNative(ImPlotAlignmentData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[541])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[541])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void End(ImPlotAlignmentDataPtr self) + { + EndNative(self); + } + + /// + /// To be documented. + /// + public static void End(ref ImPlotAlignmentData self) + { + fixed (ImPlotAlignmentData* pself = &self) + { + EndNative((ImPlotAlignmentData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotAlignmentData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[542])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[542])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotAlignmentDataPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotAlignmentData self) + { + fixed (ImPlotAlignmentData* pself = &self) + { + ResetNative((ImPlotAlignmentData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* ImPlotItemNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[543])(); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[543])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr ImPlotItem() + { + ImPlotItemPtr ret = ImPlotItemNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotItem* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[544])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[544])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotItemPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotItem self) + { + fixed (ImPlotItem* pself = &self) + { + DestroyNative((ImPlotItem*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotLegend* ImPlotLegendNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[545])(); + #else + return (ImPlotLegend*)((delegate* unmanaged[Cdecl])funcTable[545])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotLegendPtr ImPlotLegend() + { + ImPlotLegendPtr ret = ImPlotLegendNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotLegend* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[546])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[546])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotLegendPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotLegend self) + { + fixed (ImPlotLegend* pself = &self) + { + DestroyNative((ImPlotLegend*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotLegend* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[547])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[547])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotLegendPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotLegend self) + { + fixed (ImPlotLegend* pself = &self) + { + ResetNative((ImPlotLegend*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItemGroup* ImPlotItemGroupNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[548])(); + #else + return (ImPlotItemGroup*)((delegate* unmanaged[Cdecl])funcTable[548])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemGroupPtr ImPlotItemGroup() + { + ImPlotItemGroupPtr ret = ImPlotItemGroupNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotItemGroup* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[549])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[549])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotItemGroupPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotItemGroup self) + { + fixed (ImPlotItemGroup* pself = &self) + { + DestroyNative((ImPlotItemGroup*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetItemCountNative(ImPlotItemGroup* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[550])(self); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[550])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static int GetItemCount(ImPlotItemGroupPtr self) + { + int ret = GetItemCountNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static int GetItemCount(ref ImPlotItemGroup self) + { + fixed (ImPlotItemGroup* pself = &self) + { + int ret = GetItemCountNative((ImPlotItemGroup*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetItemIDNative(ImPlotItemGroup* self, byte* labelId) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[551])(self, labelId); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[551])((nint)self, (nint)labelId); + #endif + } + + /// + /// To be documented. + /// + public static uint GetItemID(ImPlotItemGroupPtr self, byte* labelId) + { + uint ret = GetItemIDNative(self, labelId); + return ret; + } + + /// + /// To be documented. + /// + public static uint GetItemID(ref ImPlotItemGroup self, byte* labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + uint ret = GetItemIDNative((ImPlotItemGroup*)pself, labelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetItemID(ImPlotItemGroupPtr self, ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + uint ret = GetItemIDNative(self, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetItemID(ImPlotItemGroupPtr self, ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + uint ret = GetItemIDNative(self, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static uint GetItemID(ImPlotItemGroupPtr self, string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = GetItemIDNative(self, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static uint GetItemID(ref ImPlotItemGroup self, ref byte labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + fixed (byte* plabelId = &labelId) + { + uint ret = GetItemIDNative((ImPlotItemGroup*)pself, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static uint GetItemID(ref ImPlotItemGroup self, ReadOnlySpan labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + fixed (byte* plabelId = labelId) + { + uint ret = GetItemIDNative((ImPlotItemGroup*)pself, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static uint GetItemID(ref ImPlotItemGroup self, string labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = GetItemIDNative((ImPlotItemGroup*)pself, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* GetItemNative(ImPlotItemGroup* self, uint id) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[552])(self, id); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[552])((nint)self, id); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, uint id) + { + ImPlotItemPtr ret = GetItemNative(self, id); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, uint id) + { + fixed (ImPlotItemGroup* pself = &self) + { + ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, id); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* GetItemNative(ImPlotItemGroup* self, byte* labelId) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[553])(self, labelId); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[553])((nint)self, (nint)labelId); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, byte* labelId) + { + ImPlotItemPtr ret = GetItemNative(self, labelId); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, byte* labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, labelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + ImPlotItemPtr ret = GetItemNative(self, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + ImPlotItemPtr ret = GetItemNative(self, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotItemPtr ret = GetItemNative(self, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, ref byte labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + fixed (byte* plabelId = &labelId) + { + ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, ReadOnlySpan labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + fixed (byte* plabelId = labelId) + { + ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, string labelId) + { + fixed (ImPlotItemGroup* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* GetOrAddItemNative(ImPlotItemGroup* self, uint id) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[554])(self, id); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[554])((nint)self, id); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetOrAddItem(ImPlotItemGroupPtr self, uint id) + { + ImPlotItemPtr ret = GetOrAddItemNative(self, id); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetOrAddItem(ref ImPlotItemGroup self, uint id) + { + fixed (ImPlotItemGroup* pself = &self) + { + ImPlotItemPtr ret = GetOrAddItemNative((ImPlotItemGroup*)pself, id); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* GetItemByIndexNative(ImPlotItemGroup* self, int i) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[555])(self, i); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[555])((nint)self, i); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItemByIndex(ImPlotItemGroupPtr self, int i) + { + ImPlotItemPtr ret = GetItemByIndexNative(self, i); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItemByIndex(ref ImPlotItemGroup self, int i) + { + fixed (ImPlotItemGroup* pself = &self) + { + ImPlotItemPtr ret = GetItemByIndexNative((ImPlotItemGroup*)pself, i); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetItemIndexNative(ImPlotItemGroup* self, ImPlotItem* item) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[556])(self, item); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[556])((nint)self, (nint)item); + #endif + } + + /// + /// To be documented. + /// + public static int GetItemIndex(ImPlotItemGroupPtr self, ImPlotItemPtr item) + { + int ret = GetItemIndexNative(self, item); + return ret; + } + + /// + /// To be documented. + /// + public static int GetItemIndex(ref ImPlotItemGroup self, ImPlotItemPtr item) + { + fixed (ImPlotItemGroup* pself = &self) + { + int ret = GetItemIndexNative((ImPlotItemGroup*)pself, item); + return ret; + } + } + + /// + /// To be documented. + /// + public static int GetItemIndex(ImPlotItemGroupPtr self, ref ImPlotItem item) + { + fixed (ImPlotItem* pitem = &item) + { + int ret = GetItemIndexNative(self, (ImPlotItem*)pitem); + return ret; + } + } + + /// + /// To be documented. + /// + public static int GetItemIndex(ref ImPlotItemGroup self, ref ImPlotItem item) + { + fixed (ImPlotItemGroup* pself = &self) + { + fixed (ImPlotItem* pitem = &item) + { + int ret = GetItemIndexNative((ImPlotItemGroup*)pself, (ImPlotItem*)pitem); + return ret; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int GetLegendCountNative(ImPlotItemGroup* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[557])(self); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[557])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static int GetLegendCount(ImPlotItemGroupPtr self) + { + int ret = GetLegendCountNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static int GetLegendCount(ref ImPlotItemGroup self) + { + fixed (ImPlotItemGroup* pself = &self) + { + int ret = GetLegendCountNative((ImPlotItemGroup*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* GetLegendItemNative(ImPlotItemGroup* self, int i) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[558])(self, i); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[558])((nint)self, i); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetLegendItem(ImPlotItemGroupPtr self, int i) + { + ImPlotItemPtr ret = GetLegendItemNative(self, i); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetLegendItem(ref ImPlotItemGroup self, int i) + { + fixed (ImPlotItemGroup* pself = &self) + { + ImPlotItemPtr ret = GetLegendItemNative((ImPlotItemGroup*)pself, i); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetLegendLabelNative(ImPlotItemGroup* self, int i) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[559])(self, i); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[559])((nint)self, i); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetLegendLabel(ImPlotItemGroupPtr self, int i) + { + byte* ret = GetLegendLabelNative(self, i); + return ret; + } + + /// + /// To be documented. + /// + public static string GetLegendLabelS(ImPlotItemGroupPtr self, int i) + { + string ret = Utils.DecodeStringUTF8(GetLegendLabelNative(self, i)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetLegendLabel(ref ImPlotItemGroup self, int i) + { + fixed (ImPlotItemGroup* pself = &self) + { + byte* ret = GetLegendLabelNative((ImPlotItemGroup*)pself, i); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetLegendLabelS(ref ImPlotItemGroup self, int i) + { + fixed (ImPlotItemGroup* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetLegendLabelNative((ImPlotItemGroup*)pself, i)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotItemGroup* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[560])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[560])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotItemGroupPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotItemGroup self) + { + fixed (ImPlotItemGroup* pself = &self) + { + ResetNative((ImPlotItemGroup*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotPlot* ImPlotPlotNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[561])(); + #else + return (ImPlotPlot*)((delegate* unmanaged[Cdecl])funcTable[561])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPlotPtr ImPlotPlot() + { + ImPlotPlotPtr ret = ImPlotPlotNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotPlot* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[562])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[562])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotPlotPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + DestroyNative((ImPlotPlot*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsInputLockedNative(ImPlotPlot* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[563])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[563])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool IsInputLocked(ImPlotPlotPtr self) + { + byte ret = IsInputLockedNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool IsInputLocked(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + byte ret = IsInputLockedNative((ImPlotPlot*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ClearTextBufferNative(ImPlotPlot* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[564])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[564])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void ClearTextBuffer(ImPlotPlotPtr self) + { + ClearTextBufferNative(self); + } + + /// + /// To be documented. + /// + public static void ClearTextBuffer(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + ClearTextBufferNative((ImPlotPlot*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetTitleNative(ImPlotPlot* self, byte* title) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[565])(self, title); + #else + ((delegate* unmanaged[Cdecl])funcTable[565])((nint)self, (nint)title); + #endif + } + + /// + /// To be documented. + /// + public static void SetTitle(ImPlotPlotPtr self, byte* title) + { + SetTitleNative(self, title); + } + + /// + /// To be documented. + /// + public static void SetTitle(ref ImPlotPlot self, byte* title) + { + fixed (ImPlotPlot* pself = &self) + { + SetTitleNative((ImPlotPlot*)pself, title); + } + } + + /// + /// To be documented. + /// + public static void SetTitle(ImPlotPlotPtr self, ref byte title) + { + fixed (byte* ptitle = &title) + { + SetTitleNative(self, (byte*)ptitle); + } + } + + /// + /// To be documented. + /// + public static void SetTitle(ImPlotPlotPtr self, ReadOnlySpan title) + { + fixed (byte* ptitle = title) + { + SetTitleNative(self, (byte*)ptitle); + } + } + + /// + /// To be documented. + /// + public static void SetTitle(ImPlotPlotPtr self, string title) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (title != null) + { + pStrSize0 = Utils.GetByteCountUTF8(title); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetTitleNative(self, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetTitle(ref ImPlotPlot self, ref byte title) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (byte* ptitle = &title) + { + SetTitleNative((ImPlotPlot*)pself, (byte*)ptitle); + } + } + } + + /// + /// To be documented. + /// + public static void SetTitle(ref ImPlotPlot self, ReadOnlySpan title) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (byte* ptitle = title) + { + SetTitleNative((ImPlotPlot*)pself, (byte*)ptitle); + } + } + } + + /// + /// To be documented. + /// + public static void SetTitle(ref ImPlotPlot self, string title) + { + fixed (ImPlotPlot* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (title != null) + { + pStrSize0 = Utils.GetByteCountUTF8(title); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetTitleNative((ImPlotPlot*)pself, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte HasTitleNative(ImPlotPlot* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[566])(self); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[566])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static bool HasTitle(ImPlotPlotPtr self) + { + byte ret = HasTitleNative(self); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool HasTitle(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + byte ret = HasTitleNative((ImPlotPlot*)pself); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetTitleNative(ImPlotPlot* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[567])(self); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[567])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetTitle(ImPlotPlotPtr self) + { + byte* ret = GetTitleNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static string GetTitleS(ImPlotPlotPtr self) + { + string ret = Utils.DecodeStringUTF8(GetTitleNative(self)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetTitle(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + byte* ret = GetTitleNative((ImPlotPlot*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetTitleS(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetTitleNative((ImPlotPlot*)pself)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotAxis* XAxisNative(ImPlotPlot* self, int i) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[568])(self, i); + #else + return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[568])((nint)self, i); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr XAxis(ImPlotPlotPtr self, int i) + { + ImPlotAxisPtr ret = XAxisNative(self, i); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr XAxis(ref ImPlotPlot self, int i) + { + fixed (ImPlotPlot* pself = &self) + { + ImPlotAxisPtr ret = XAxisNative((ImPlotPlot*)pself, i); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotAxis* ImPlotPlotXAxisConstNative(ImPlotPlot* self, int i) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[569])(self, i); + #else + return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[569])((nint)self, i); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr ImPlotPlotXAxisConst(ImPlotPlotPtr self, int i) + { + ImPlotAxisPtr ret = ImPlotPlotXAxisConstNative(self, i); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr ImPlotPlotXAxisConst(ref ImPlotPlot self, int i) + { + fixed (ImPlotPlot* pself = &self) + { + ImPlotAxisPtr ret = ImPlotPlotXAxisConstNative((ImPlotPlot*)pself, i); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotAxis* YAxisNative(ImPlotPlot* self, int i) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[570])(self, i); + #else + return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[570])((nint)self, i); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr YAxis(ImPlotPlotPtr self, int i) + { + ImPlotAxisPtr ret = YAxisNative(self, i); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr YAxis(ref ImPlotPlot self, int i) + { + fixed (ImPlotPlot* pself = &self) + { + ImPlotAxisPtr ret = YAxisNative((ImPlotPlot*)pself, i); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotAxis* ImPlotPlotYAxisConstNative(ImPlotPlot* self, int i) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[571])(self, i); + #else + return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[571])((nint)self, i); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr ImPlotPlotYAxisConst(ImPlotPlotPtr self, int i) + { + ImPlotAxisPtr ret = ImPlotPlotYAxisConstNative(self, i); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotAxisPtr ImPlotPlotYAxisConst(ref ImPlotPlot self, int i) + { + fixed (ImPlotPlot* pself = &self) + { + ImPlotAxisPtr ret = ImPlotPlotYAxisConstNative((ImPlotPlot*)pself, i); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int EnabledAxesXNative(ImPlotPlot* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[572])(self); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[572])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static int EnabledAxesX(ImPlotPlotPtr self) + { + int ret = EnabledAxesXNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static int EnabledAxesX(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + int ret = EnabledAxesXNative((ImPlotPlot*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int EnabledAxesYNative(ImPlotPlot* self) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[573])(self); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[573])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static int EnabledAxesY(ImPlotPlotPtr self) + { + int ret = EnabledAxesYNative(self); + return ret; + } + + /// + /// To be documented. + /// + public static int EnabledAxesY(ref ImPlotPlot self) + { + fixed (ImPlotPlot* pself = &self) + { + int ret = EnabledAxesYNative((ImPlotPlot*)pself); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetAxisLabelNative(ImPlotPlot* self, ImPlotAxis* axis, byte* label) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[574])(self, axis, label); + #else + ((delegate* unmanaged[Cdecl])funcTable[574])((nint)self, (nint)axis, (nint)label); + #endif + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, byte* label) + { + SetAxisLabelNative(self, axis, label); + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, byte* label) + { + fixed (ImPlotPlot* pself = &self) + { + SetAxisLabelNative((ImPlotPlot*)pself, axis, label); + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, byte* label) + { + fixed (ImPlotAxis* paxis = &axis) + { + SetAxisLabelNative(self, (ImPlotAxis*)paxis, label); + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, byte* label) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (ImPlotAxis* paxis = &axis) + { + SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, label); + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, ref byte label) + { + fixed (byte* plabel = &label) + { + SetAxisLabelNative(self, axis, (byte*)plabel); + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + SetAxisLabelNative(self, axis, (byte*)plabel); + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetAxisLabelNative(self, axis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, ref byte label) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (byte* plabel = &label) + { + SetAxisLabelNative((ImPlotPlot*)pself, axis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, ReadOnlySpan label) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (byte* plabel = label) + { + SetAxisLabelNative((ImPlotPlot*)pself, axis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, string label) + { + fixed (ImPlotPlot* pself = &self) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetAxisLabelNative((ImPlotPlot*)pself, axis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, ref byte label) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = &label) + { + SetAxisLabelNative(self, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, ReadOnlySpan label) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = label) + { + SetAxisLabelNative(self, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, string label) + { + fixed (ImPlotAxis* paxis = &axis) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetAxisLabelNative(self, (ImPlotAxis*)paxis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, ref byte label) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = &label) + { + SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, ReadOnlySpan label) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = label) + { + SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + } + + /// + /// To be documented. + /// + public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, string label) + { + fixed (ImPlotPlot* pself = &self) + { + fixed (ImPlotAxis* paxis = &axis) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte* GetAxisLabelNative(ImPlotPlot* self, ImPlotAxis axis) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[575])(self, axis); + #else + return (byte*)((delegate* unmanaged[Cdecl])funcTable[575])((nint)self, axis); + #endif + } + + /// + /// To be documented. + /// + public static byte* GetAxisLabel(ImPlotPlotPtr self, ImPlotAxis axis) + { + byte* ret = GetAxisLabelNative(self, axis); + return ret; + } + + /// + /// To be documented. + /// + public static string GetAxisLabelS(ImPlotPlotPtr self, ImPlotAxis axis) + { + string ret = Utils.DecodeStringUTF8(GetAxisLabelNative(self, axis)); + return ret; + } + + /// + /// To be documented. + /// + public static byte* GetAxisLabel(ref ImPlotPlot self, ImPlotAxis axis) + { + fixed (ImPlotPlot* pself = &self) + { + byte* ret = GetAxisLabelNative((ImPlotPlot*)pself, axis); + return ret; + } + } + + /// + /// To be documented. + /// + public static string GetAxisLabelS(ref ImPlotPlot self, ImPlotAxis axis) + { + fixed (ImPlotPlot* pself = &self) + { + string ret = Utils.DecodeStringUTF8(GetAxisLabelNative((ImPlotPlot*)pself, axis)); + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotSubplot* ImPlotSubplotNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[576])(); + #else + return (ImPlotSubplot*)((delegate* unmanaged[Cdecl])funcTable[576])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotSubplotPtr ImPlotSubplot() + { + ImPlotSubplotPtr ret = ImPlotSubplotNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotSubplot* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[577])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[577])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotSubplotPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotSubplot self) + { + fixed (ImPlotSubplot* pself = &self) + { + DestroyNative((ImPlotSubplot*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotNextPlotData* ImPlotNextPlotDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[578])(); + #else + return (ImPlotNextPlotData*)((delegate* unmanaged[Cdecl])funcTable[578])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotNextPlotDataPtr ImPlotNextPlotData() + { + ImPlotNextPlotDataPtr ret = ImPlotNextPlotDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotNextPlotData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[579])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[579])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotNextPlotDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotNextPlotData self) + { + fixed (ImPlotNextPlotData* pself = &self) + { + DestroyNative((ImPlotNextPlotData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotNextPlotData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[580])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[580])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotNextPlotDataPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotNextPlotData self) + { + fixed (ImPlotNextPlotData* pself = &self) + { + ResetNative((ImPlotNextPlotData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotNextItemData* ImPlotNextItemDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[581])(); + #else + return (ImPlotNextItemData*)((delegate* unmanaged[Cdecl])funcTable[581])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotNextItemDataPtr ImPlotNextItemData() + { + ImPlotNextItemDataPtr ret = ImPlotNextItemDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void DestroyNative(ImPlotNextItemData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[582])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[582])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Destroy(ImPlotNextItemDataPtr self) + { + DestroyNative(self); + } + + /// + /// To be documented. + /// + public static void Destroy(ref ImPlotNextItemData self) + { + fixed (ImPlotNextItemData* pself = &self) + { + DestroyNative((ImPlotNextItemData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetNative(ImPlotNextItemData* self) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[583])(self); + #else + ((delegate* unmanaged[Cdecl])funcTable[583])((nint)self); + #endif + } + + /// + /// To be documented. + /// + public static void Reset(ImPlotNextItemDataPtr self) + { + ResetNative(self); + } + + /// + /// To be documented. + /// + public static void Reset(ref ImPlotNextItemData self) + { + fixed (ImPlotNextItemData* pself = &self) + { + ResetNative((ImPlotNextItemData*)pself); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void InitializeNative(ImPlotContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[584])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[584])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void Initialize(ImPlotContextPtr ctx) + { + InitializeNative(ctx); + } + + /// + /// To be documented. + /// + public static void Initialize(ref ImPlotContext ctx) + { + fixed (ImPlotContext* pctx = &ctx) + { + InitializeNative((ImPlotContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetCtxForNextPlotNative(ImPlotContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[585])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[585])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void ResetCtxForNextPlot(ImPlotContextPtr ctx) + { + ResetCtxForNextPlotNative(ctx); + } + + /// + /// To be documented. + /// + public static void ResetCtxForNextPlot(ref ImPlotContext ctx) + { + fixed (ImPlotContext* pctx = &ctx) + { + ResetCtxForNextPlotNative((ImPlotContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetCtxForNextAlignedPlotsNative(ImPlotContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[586])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[586])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void ResetCtxForNextAlignedPlots(ImPlotContextPtr ctx) + { + ResetCtxForNextAlignedPlotsNative(ctx); + } + + /// + /// To be documented. + /// + public static void ResetCtxForNextAlignedPlots(ref ImPlotContext ctx) + { + fixed (ImPlotContext* pctx = &ctx) + { + ResetCtxForNextAlignedPlotsNative((ImPlotContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ResetCtxForNextSubplotNative(ImPlotContext* ctx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[587])(ctx); + #else + ((delegate* unmanaged[Cdecl])funcTable[587])((nint)ctx); + #endif + } + + /// + /// To be documented. + /// + public static void ResetCtxForNextSubplot(ImPlotContextPtr ctx) + { + ResetCtxForNextSubplotNative(ctx); + } + + /// + /// To be documented. + /// + public static void ResetCtxForNextSubplot(ref ImPlotContext ctx) + { + fixed (ImPlotContext* pctx = &ctx) + { + ResetCtxForNextSubplotNative((ImPlotContext*)pctx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotPlot* GetPlotNative(byte* title) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[588])(title); + #else + return (ImPlotPlot*)((delegate* unmanaged[Cdecl])funcTable[588])((nint)title); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPlotPtr GetPlot(byte* title) + { + ImPlotPlotPtr ret = GetPlotNative(title); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotPlotPtr GetPlot(ref byte title) + { + fixed (byte* ptitle = &title) + { + ImPlotPlotPtr ret = GetPlotNative((byte*)ptitle); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotPlotPtr GetPlot(ReadOnlySpan title) + { + fixed (byte* ptitle = title) + { + ImPlotPlotPtr ret = GetPlotNative((byte*)ptitle); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotPlotPtr GetPlot(string title) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (title != null) + { + pStrSize0 = Utils.GetByteCountUTF8(title); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotPlotPtr ret = GetPlotNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotPlot* GetCurrentPlotNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[589])(); + #else + return (ImPlotPlot*)((delegate* unmanaged[Cdecl])funcTable[589])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotPlotPtr GetCurrentPlot() + { + ImPlotPlotPtr ret = GetCurrentPlotNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BustPlotCacheNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[590])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[590])(); + #endif + } + + /// + /// To be documented. + /// + public static void BustPlotCache() + { + BustPlotCacheNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowPlotContextMenuNative(ImPlotPlot* plot) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[591])(plot); + #else + ((delegate* unmanaged[Cdecl])funcTable[591])((nint)plot); + #endif + } + + /// + /// To be documented. + /// + public static void ShowPlotContextMenu(ImPlotPlotPtr plot) + { + ShowPlotContextMenuNative(plot); + } + + /// + /// To be documented. + /// + public static void ShowPlotContextMenu(ref ImPlotPlot plot) + { + fixed (ImPlotPlot* pplot = &plot) + { + ShowPlotContextMenuNative((ImPlotPlot*)pplot); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SetupLockNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[592])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[592])(); + #endif + } + + /// + /// To be documented. + /// + public static void SetupLock() + { + SetupLockNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void SubplotNextCellNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[593])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[593])(); + #endif + } + + /// + /// To be documented. + /// + public static void SubplotNextCell() + { + SubplotNextCellNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowSubplotsContextMenuNative(ImPlotSubplot* subplot) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[594])(subplot); + #else + ((delegate* unmanaged[Cdecl])funcTable[594])((nint)subplot); + #endif + } + + /// + /// To be documented. + /// + public static void ShowSubplotsContextMenu(ImPlotSubplotPtr subplot) + { + ShowSubplotsContextMenuNative(subplot); + } + + /// + /// To be documented. + /// + public static void ShowSubplotsContextMenu(ref ImPlotSubplot subplot) + { + fixed (ImPlotSubplot* psubplot = &subplot) + { + ShowSubplotsContextMenuNative((ImPlotSubplot*)psubplot); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte BeginItemNative(byte* labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[595])(labelId, flags, recolorFrom); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[595])((nint)labelId, flags, recolorFrom); + #endif + } + + /// + /// To be documented. + /// + public static bool BeginItem(byte* labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) + { + byte ret = BeginItemNative(labelId, flags, recolorFrom); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginItem(byte* labelId, ImPlotItemFlags flags) + { + byte ret = BeginItemNative(labelId, flags, (ImPlotCol)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginItem(byte* labelId) + { + byte ret = BeginItemNative(labelId, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginItem(byte* labelId, ImPlotCol recolorFrom) + { + byte ret = BeginItemNative(labelId, (ImPlotItemFlags)(0), recolorFrom); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginItem(ref byte labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginItemNative((byte*)plabelId, flags, recolorFrom); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(ref byte labelId, ImPlotItemFlags flags) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginItemNative((byte*)plabelId, flags, (ImPlotCol)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(ref byte labelId, ImPlotCol recolorFrom) + { + fixed (byte* plabelId = &labelId) + { + byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), recolorFrom); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(ReadOnlySpan labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginItemNative((byte*)plabelId, flags, recolorFrom); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(ReadOnlySpan labelId, ImPlotItemFlags flags) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginItemNative((byte*)plabelId, flags, (ImPlotCol)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(ReadOnlySpan labelId, ImPlotCol recolorFrom) + { + fixed (byte* plabelId = labelId) + { + byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), recolorFrom); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool BeginItem(string labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginItemNative(pStr0, flags, recolorFrom); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginItem(string labelId, ImPlotItemFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginItemNative(pStr0, flags, (ImPlotCol)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginItem(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginItemNative(pStr0, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool BeginItem(string labelId, ImPlotCol recolorFrom) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + byte ret = BeginItemNative(pStr0, (ImPlotItemFlags)(0), recolorFrom); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void EndItemNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[596])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[596])(); + #endif + } + + /// + /// To be documented. + /// + public static void EndItem() + { + EndItemNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* RegisterOrGetItemNative(byte* labelId, ImPlotItemFlags flags, bool* justCreated) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[597])(labelId, flags, justCreated); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[597])((nint)labelId, flags, (nint)justCreated); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(byte* labelId, ImPlotItemFlags flags, bool* justCreated) + { + ImPlotItemPtr ret = RegisterOrGetItemNative(labelId, flags, justCreated); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(byte* labelId, ImPlotItemFlags flags) + { + ImPlotItemPtr ret = RegisterOrGetItemNative(labelId, flags, (bool*)(((void*)0))); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(ref byte labelId, ImPlotItemFlags flags, bool* justCreated) + { + fixed (byte* plabelId = &labelId) + { + ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, justCreated); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(ref byte labelId, ImPlotItemFlags flags) + { + fixed (byte* plabelId = &labelId) + { + ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)(((void*)0))); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(ReadOnlySpan labelId, ImPlotItemFlags flags, bool* justCreated) + { + fixed (byte* plabelId = labelId) + { + ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, justCreated); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(ReadOnlySpan labelId, ImPlotItemFlags flags) + { + fixed (byte* plabelId = labelId) + { + ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)(((void*)0))); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(string labelId, ImPlotItemFlags flags, bool* justCreated) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotItemPtr ret = RegisterOrGetItemNative(pStr0, flags, justCreated); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(string labelId, ImPlotItemFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotItemPtr ret = RegisterOrGetItemNative(pStr0, flags, (bool*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(byte* labelId, ImPlotItemFlags flags, ref bool justCreated) + { + fixed (bool* pjustCreated = &justCreated) + { + ImPlotItemPtr ret = RegisterOrGetItemNative(labelId, flags, (bool*)pjustCreated); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(ref byte labelId, ImPlotItemFlags flags, ref bool justCreated) + { + fixed (byte* plabelId = &labelId) + { + fixed (bool* pjustCreated = &justCreated) + { + ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)pjustCreated); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(ReadOnlySpan labelId, ImPlotItemFlags flags, ref bool justCreated) + { + fixed (byte* plabelId = labelId) + { + fixed (bool* pjustCreated = &justCreated) + { + ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)pjustCreated); + return ret; + } + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr RegisterOrGetItem(string labelId, ImPlotItemFlags flags, ref bool justCreated) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (bool* pjustCreated = &justCreated) + { + ImPlotItemPtr ret = RegisterOrGetItemNative(pStr0, flags, (bool*)pjustCreated); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* GetItemNative(byte* labelId) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[598])(labelId); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[598])((nint)labelId); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(byte* labelId) + { + ImPlotItemPtr ret = GetItemNative(labelId); + return ret; + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + ImPlotItemPtr ret = GetItemNative((byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + ImPlotItemPtr ret = GetItemNative((byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetItem(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotItemPtr ret = GetItemNative(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotItem* GetCurrentItemNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[599])(); + #else + return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[599])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotItemPtr GetCurrentItem() + { + ImPlotItemPtr ret = GetCurrentItemNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void BustItemCacheNative() + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[600])(); + #else + ((delegate* unmanaged[Cdecl])funcTable[600])(); + #endif + } + + /// + /// To be documented. + /// + public static void BustItemCache() + { + BustItemCacheNative(); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte AnyAxesInputLockedNative(ImPlotAxis* axes, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[601])(axes, count); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[601])((nint)axes, count); + #endif + } + + /// + /// To be documented. + /// + public static bool AnyAxesInputLocked(ImPlotAxisPtr axes, int count) + { + byte ret = AnyAxesInputLockedNative(axes, count); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool AnyAxesInputLocked(ref ImPlotAxis axes, int count) + { + fixed (ImPlotAxis* paxes = &axes) + { + byte ret = AnyAxesInputLockedNative((ImPlotAxis*)paxes, count); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte AllAxesInputLockedNative(ImPlotAxis* axes, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[602])(axes, count); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[602])((nint)axes, count); + #endif + } + + /// + /// To be documented. + /// + public static bool AllAxesInputLocked(ImPlotAxisPtr axes, int count) + { + byte ret = AllAxesInputLockedNative(axes, count); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool AllAxesInputLocked(ref ImPlotAxis axes, int count) + { + fixed (ImPlotAxis* paxes = &axes) + { + byte ret = AllAxesInputLockedNative((ImPlotAxis*)paxes, count); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte AnyAxesHeldNative(ImPlotAxis* axes, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[603])(axes, count); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[603])((nint)axes, count); + #endif + } + + /// + /// To be documented. + /// + public static bool AnyAxesHeld(ImPlotAxisPtr axes, int count) + { + byte ret = AnyAxesHeldNative(axes, count); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool AnyAxesHeld(ref ImPlotAxis axes, int count) + { + fixed (ImPlotAxis* paxes = &axes) + { + byte ret = AnyAxesHeldNative((ImPlotAxis*)paxes, count); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte AnyAxesHoveredNative(ImPlotAxis* axes, int count) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[604])(axes, count); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[604])((nint)axes, count); + #endif + } + + /// + /// To be documented. + /// + public static bool AnyAxesHovered(ImPlotAxisPtr axes, int count) + { + byte ret = AnyAxesHoveredNative(axes, count); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool AnyAxesHovered(ref ImPlotAxis axes, int count) + { + fixed (ImPlotAxis* paxes = &axes) + { + byte ret = AnyAxesHoveredNative((ImPlotAxis*)paxes, count); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte FitThisFrameNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[605])(); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[605])(); + #endif + } + + /// + /// To be documented. + /// + public static bool FitThisFrame() + { + byte ret = FitThisFrameNative(); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void FitPointXNative(double x) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[606])(x); + #else + ((delegate* unmanaged[Cdecl])funcTable[606])(x); + #endif + } + + /// + /// To be documented. + /// + public static void FitPointX(double x) + { + FitPointXNative(x); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void FitPointYNative(double y) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[607])(y); + #else + ((delegate* unmanaged[Cdecl])funcTable[607])(y); + #endif + } + + /// + /// To be documented. + /// + public static void FitPointY(double y) + { + FitPointYNative(y); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void FitPointNative(ImPlotPoint p) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[608])(p); + #else + ((delegate* unmanaged[Cdecl])funcTable[608])(p); + #endif + } + + /// + /// To be documented. + /// + public static void FitPoint(ImPlotPoint p) + { + FitPointNative(p); + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte RangesOverlapNative(ImPlotRange r1, ImPlotRange r2) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[609])(r1, r2); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[609])(r1, r2); + #endif + } + + /// + /// To be documented. + /// + public static bool RangesOverlap(ImPlotRange r1, ImPlotRange r2) + { + byte ret = RangesOverlapNative(r1, r2); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowAxisContextMenuNative(ImPlotAxis* axis, ImPlotAxis* equalAxis, byte timeAllowed) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[610])(axis, equalAxis, timeAllowed); + #else + ((delegate* unmanaged[Cdecl])funcTable[610])((nint)axis, (nint)equalAxis, timeAllowed); + #endif + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ImPlotAxisPtr equalAxis, bool timeAllowed) + { + ShowAxisContextMenuNative(axis, equalAxis, timeAllowed ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ImPlotAxisPtr equalAxis) + { + ShowAxisContextMenuNative(axis, equalAxis, (byte)(0)); + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ref ImPlotAxis axis, ImPlotAxisPtr equalAxis, bool timeAllowed) + { + fixed (ImPlotAxis* paxis = &axis) + { + ShowAxisContextMenuNative((ImPlotAxis*)paxis, equalAxis, timeAllowed ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ref ImPlotAxis axis, ImPlotAxisPtr equalAxis) + { + fixed (ImPlotAxis* paxis = &axis) + { + ShowAxisContextMenuNative((ImPlotAxis*)paxis, equalAxis, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ref ImPlotAxis equalAxis, bool timeAllowed) + { + fixed (ImPlotAxis* pequalAxis = &equalAxis) + { + ShowAxisContextMenuNative(axis, (ImPlotAxis*)pequalAxis, timeAllowed ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ref ImPlotAxis equalAxis) + { + fixed (ImPlotAxis* pequalAxis = &equalAxis) + { + ShowAxisContextMenuNative(axis, (ImPlotAxis*)pequalAxis, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ref ImPlotAxis axis, ref ImPlotAxis equalAxis, bool timeAllowed) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (ImPlotAxis* pequalAxis = &equalAxis) + { + ShowAxisContextMenuNative((ImPlotAxis*)paxis, (ImPlotAxis*)pequalAxis, timeAllowed ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + public static void ShowAxisContextMenu(ref ImPlotAxis axis, ref ImPlotAxis equalAxis) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (ImPlotAxis* pequalAxis = &equalAxis) + { + ShowAxisContextMenuNative((ImPlotAxis*)paxis, (ImPlotAxis*)pequalAxis, (byte)(0)); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetLocationPosNative(Vector2* pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[611])(pOut, outerRect, innerSize, location, pad); + #else + ((delegate* unmanaged[Cdecl])funcTable[611])((nint)pOut, outerRect, innerSize, location, pad); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 GetLocationPos(ImRect outerRect, Vector2 innerSize, ImPlotLocation location) + { + Vector2 ret; + GetLocationPosNative(&ret, outerRect, innerSize, location, (Vector2)(new Vector2(0,0))); + return ret; + } + + /// + /// To be documented. + /// + public static Vector2 GetLocationPos(ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) + { + Vector2 ret; + GetLocationPosNative(&ret, outerRect, innerSize, location, pad); + return ret; + } + + /// + /// To be documented. + /// + public static void GetLocationPos(Vector2* pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) + { + GetLocationPosNative(pOut, outerRect, innerSize, location, pad); + } + + /// + /// To be documented. + /// + public static void GetLocationPos(Vector2* pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location) + { + GetLocationPosNative(pOut, outerRect, innerSize, location, (Vector2)(new Vector2(0,0))); + } + + /// + /// To be documented. + /// + public static void GetLocationPos(ref Vector2 pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) + { + fixed (Vector2* ppOut = &pOut) + { + GetLocationPosNative((Vector2*)ppOut, outerRect, innerSize, location, pad); + } + } + + /// + /// To be documented. + /// + public static void GetLocationPos(ref Vector2 pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location) + { + fixed (Vector2* ppOut = &pOut) + { + GetLocationPosNative((Vector2*)ppOut, outerRect, innerSize, location, (Vector2)(new Vector2(0,0))); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void CalcLegendSizeNative(Vector2* pOut, ImPlotItemGroup* items, Vector2 pad, Vector2 spacing, byte vertical) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[612])(pOut, items, pad, spacing, vertical); + #else + ((delegate* unmanaged[Cdecl])funcTable[612])((nint)pOut, (nint)items, pad, spacing, vertical); + #endif + } + + /// + /// To be documented. + /// + public static Vector2 CalcLegendSize(ImPlotItemGroupPtr items, Vector2 pad, Vector2 spacing, bool vertical) + { + Vector2 ret; + CalcLegendSizeNative(&ret, items, pad, spacing, vertical ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public static void CalcLegendSize(Vector2* pOut, ImPlotItemGroupPtr items, Vector2 pad, Vector2 spacing, bool vertical) + { + CalcLegendSizeNative(pOut, items, pad, spacing, vertical ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void CalcLegendSize(ref Vector2 pOut, ImPlotItemGroupPtr items, Vector2 pad, Vector2 spacing, bool vertical) + { + fixed (Vector2* ppOut = &pOut) + { + CalcLegendSizeNative((Vector2*)ppOut, items, pad, spacing, vertical ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static Vector2 CalcLegendSize(ref ImPlotItemGroup items, Vector2 pad, Vector2 spacing, bool vertical) + { + fixed (ImPlotItemGroup* pitems = &items) + { + Vector2 ret; + CalcLegendSizeNative(&ret, (ImPlotItemGroup*)pitems, pad, spacing, vertical ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public static void CalcLegendSize(Vector2* pOut, ref ImPlotItemGroup items, Vector2 pad, Vector2 spacing, bool vertical) + { + fixed (ImPlotItemGroup* pitems = &items) + { + CalcLegendSizeNative(pOut, (ImPlotItemGroup*)pitems, pad, spacing, vertical ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void CalcLegendSize(ref Vector2 pOut, ref ImPlotItemGroup items, Vector2 pad, Vector2 spacing, bool vertical) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImPlotItemGroup* pitems = &items) + { + CalcLegendSizeNative((Vector2*)ppOut, (ImPlotItemGroup*)pitems, pad, spacing, vertical ? (byte)1 : (byte)0); + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ShowLegendEntriesNative(ImPlotItemGroup* items, ImRect legendBb, byte interactable, Vector2 pad, Vector2 spacing, byte vertical, ImDrawList* drawList) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[613])(items, legendBb, interactable, pad, spacing, vertical, drawList); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[613])((nint)items, legendBb, interactable, pad, spacing, vertical, (nint)drawList); + #endif + } + + /// + /// To be documented. + /// + public static bool ShowLegendEntries(ImPlotItemGroupPtr items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ImDrawListPtr drawList) + { + byte ret = ShowLegendEntriesNative(items, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, drawList); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowLegendEntries(ref ImPlotItemGroup items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ImDrawListPtr drawList) + { + fixed (ImPlotItemGroup* pitems = &items) + { + byte ret = ShowLegendEntriesNative((ImPlotItemGroup*)pitems, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, drawList); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowLegendEntries(ImPlotItemGroupPtr items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ref ImDrawList drawList) + { + fixed (ImDrawList* pdrawList = &drawList) + { + byte ret = ShowLegendEntriesNative(items, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, (ImDrawList*)pdrawList); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowLegendEntries(ref ImPlotItemGroup items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ref ImDrawList drawList) + { + fixed (ImPlotItemGroup* pitems = &items) + { + fixed (ImDrawList* pdrawList = &drawList) + { + byte ret = ShowLegendEntriesNative((ImPlotItemGroup*)pitems, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, (ImDrawList*)pdrawList); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void ShowAltLegendNative(byte* titleId, byte vertical, Vector2 size, byte interactable) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[614])(titleId, vertical, size, interactable); + #else + ((delegate* unmanaged[Cdecl])funcTable[614])((nint)titleId, vertical, size, interactable); + #endif + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(byte* titleId, bool vertical, Vector2 size, bool interactable) + { + ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(byte* titleId, bool vertical, Vector2 size) + { + ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, size, (byte)(1)); + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(byte* titleId, bool vertical) + { + ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(byte* titleId) + { + ShowAltLegendNative(titleId, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(byte* titleId, Vector2 size) + { + ShowAltLegendNative(titleId, (byte)(1), size, (byte)(1)); + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(byte* titleId, bool vertical, bool interactable) + { + ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(byte* titleId, Vector2 size, bool interactable) + { + ShowAltLegendNative(titleId, (byte)(1), size, interactable ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ref byte titleId, bool vertical, Vector2 size, bool interactable) + { + fixed (byte* ptitleId = &titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ref byte titleId, bool vertical, Vector2 size) + { + fixed (byte* ptitleId = &titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ref byte titleId, bool vertical) + { + fixed (byte* ptitleId = &titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ref byte titleId) + { + fixed (byte* ptitleId = &titleId) + { + ShowAltLegendNative((byte*)ptitleId, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ref byte titleId, Vector2 size) + { + fixed (byte* ptitleId = &titleId) + { + ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ref byte titleId, bool vertical, bool interactable) + { + fixed (byte* ptitleId = &titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ref byte titleId, Vector2 size, bool interactable) + { + fixed (byte* ptitleId = &titleId) + { + ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, interactable ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical, Vector2 size, bool interactable) + { + fixed (byte* ptitleId = titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical, Vector2 size) + { + fixed (byte* ptitleId = titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical) + { + fixed (byte* ptitleId = titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ReadOnlySpan titleId) + { + fixed (byte* ptitleId = titleId) + { + ShowAltLegendNative((byte*)ptitleId, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ReadOnlySpan titleId, Vector2 size) + { + fixed (byte* ptitleId = titleId) + { + ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, (byte)(1)); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical, bool interactable) + { + fixed (byte* ptitleId = titleId) + { + ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(ReadOnlySpan titleId, Vector2 size, bool interactable) + { + fixed (byte* ptitleId = titleId) + { + ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, interactable ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(string titleId, bool vertical, Vector2 size, bool interactable) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(string titleId, bool vertical, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, size, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(string titleId, bool vertical) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(string titleId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowAltLegendNative(pStr0, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(string titleId, Vector2 size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowAltLegendNative(pStr0, (byte)(1), size, (byte)(1)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(string titleId, bool vertical, bool interactable) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void ShowAltLegend(string titleId, Vector2 size, bool interactable) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (titleId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(titleId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ShowAltLegendNative(pStr0, (byte)(1), size, interactable ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ShowLegendContextMenuNative(ImPlotLegend* legend, byte visible) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[615])(legend, visible); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[615])((nint)legend, visible); + #endif + } + + /// + /// To be documented. + /// + public static bool ShowLegendContextMenu(ImPlotLegendPtr legend, bool visible) + { + byte ret = ShowLegendContextMenuNative(legend, visible ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowLegendContextMenu(ref ImPlotLegend legend, bool visible) + { + fixed (ImPlotLegend* plegend = &legend) + { + byte ret = ShowLegendContextMenuNative((ImPlotLegend*)plegend, visible ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void LabelAxisValueNative(ImPlotAxis axis, double value, byte* buff, int size, byte round) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[616])(axis, value, buff, size, round); + #else + ((delegate* unmanaged[Cdecl])funcTable[616])(axis, value, (nint)buff, size, round); + #endif + } + + /// + /// To be documented. + /// + public static void LabelAxisValue(ImPlotAxis axis, double value, byte* buff, int size, bool round) + { + LabelAxisValueNative(axis, value, buff, size, round ? (byte)1 : (byte)0); + } + + /// + /// To be documented. + /// + public static void LabelAxisValue(ImPlotAxis axis, double value, byte* buff, int size) + { + LabelAxisValueNative(axis, value, buff, size, (byte)(0)); + } + + /// + /// To be documented. + /// + public static void LabelAxisValue(ImPlotAxis axis, double value, ref byte buff, int size, bool round) + { + fixed (byte* pbuff = &buff) + { + LabelAxisValueNative(axis, value, (byte*)pbuff, size, round ? (byte)1 : (byte)0); + } + } + + /// + /// To be documented. + /// + public static void LabelAxisValue(ImPlotAxis axis, double value, ref byte buff, int size) + { + fixed (byte* pbuff = &buff) + { + LabelAxisValueNative(axis, value, (byte*)pbuff, size, (byte)(0)); + } + } + + /// + /// To be documented. + /// + public static void LabelAxisValue(ImPlotAxis axis, double value, ref string buff, int size, bool round) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (buff != null) + { + pStrSize0 = Utils.GetByteCountUTF8(buff); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelAxisValueNative(axis, value, pStr0, size, round ? (byte)1 : (byte)0); + buff = Utils.DecodeStringUTF8(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void LabelAxisValue(ImPlotAxis axis, double value, ref string buff, int size) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (buff != null) + { + pStrSize0 = Utils.GetByteCountUTF8(buff); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + LabelAxisValueNative(axis, value, pStr0, size, (byte)(0)); + buff = Utils.DecodeStringUTF8(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static ImPlotNextItemData* GetItemDataNative() + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[617])(); + #else + return (ImPlotNextItemData*)((delegate* unmanaged[Cdecl])funcTable[617])(); + #endif + } + + /// + /// To be documented. + /// + public static ImPlotNextItemDataPtr GetItemData() + { + ImPlotNextItemDataPtr ret = GetItemDataNative(); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsColorAutoNative(Vector4 col) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[618])(col); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[618])(col); + #endif + } + + /// + /// To be documented. + /// + public static bool IsColorAuto(Vector4 col) + { + byte ret = IsColorAutoNative(col); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte IsColorAutoNative(ImPlotCol idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[619])(idx); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[619])(idx); + #endif + } + + /// + /// To be documented. + /// + public static bool IsColorAuto(ImPlotCol idx) + { + byte ret = IsColorAutoNative(idx); + return ret != 0; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetAutoColorNative(Vector4* pOut, ImPlotCol idx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[620])(pOut, idx); + #else + ((delegate* unmanaged[Cdecl])funcTable[620])((nint)pOut, idx); + #endif + } + + /// + /// To be documented. + /// + public static Vector4 GetAutoColor(ImPlotCol idx) + { + Vector4 ret; + GetAutoColorNative(&ret, idx); + return ret; + } + + /// + /// To be documented. + /// + public static void GetAutoColor(Vector4* pOut, ImPlotCol idx) + { + GetAutoColorNative(pOut, idx); + } + + /// + /// To be documented. + /// + public static void GetAutoColor(ref Vector4 pOut, ImPlotCol idx) + { + fixed (Vector4* ppOut = &pOut) + { + GetAutoColorNative((Vector4*)ppOut, idx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void GetStyleColorVec4Native(Vector4* pOut, ImPlotCol idx) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[621])(pOut, idx); + #else + ((delegate* unmanaged[Cdecl])funcTable[621])((nint)pOut, idx); + #endif + } + + /// + /// To be documented. + /// + public static Vector4 GetStyleColorVec4(ImPlotCol idx) + { + Vector4 ret; + GetStyleColorVec4Native(&ret, idx); + return ret; + } + + /// + /// To be documented. + /// + public static void GetStyleColorVec4(Vector4* pOut, ImPlotCol idx) + { + GetStyleColorVec4Native(pOut, idx); + } + + /// + /// To be documented. + /// + public static void GetStyleColorVec4(ref Vector4 pOut, ImPlotCol idx) + { + fixed (Vector4* ppOut = &pOut) + { + GetStyleColorVec4Native((Vector4*)ppOut, idx); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static uint GetStyleColorU32Native(ImPlotCol idx) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[622])(idx); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[622])(idx); + #endif + } + + /// + /// To be documented. + /// + public static uint GetStyleColorU32(ImPlotCol idx) + { + uint ret = GetStyleColorU32Native(idx); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddTextVerticalNative(ImDrawList* drawList, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[623])(drawList, pos, col, textBegin, textEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[623])((nint)drawList, pos, col, (nint)textBegin, (nint)textEnd); + #endif + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + AddTextVerticalNative(drawList, pos, col, textBegin, textEnd); + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin) + { + AddTextVerticalNative(drawList, pos, col, textBegin, (byte*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin) + { + fixed (ImDrawList* pdrawList = &drawList) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, (byte*)(((void*)0))); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, string textBegin, 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; + } + AddTextVerticalNative(drawList, pos, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, string textBegin) + { + 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; + } + AddTextVerticalNative(drawList, pos, col, pStr0, (byte*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, string textBegin, 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; + } + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, string textBegin) + { + 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; + } + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, (byte*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextVerticalNative(drawList, pos, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextVerticalNative(drawList, pos, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, string textEnd) + { + 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; + } + AddTextVerticalNative(drawList, pos, col, textBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, 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; + } + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, 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; + } + AddTextVerticalNative(drawList, pos, col, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.134.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.134.cs new file mode 100644 index 000000000..0d193b092 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.134.cs @@ -0,0 +1,5023 @@ +// ------------------------------------------------------------------------------ +// +// 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 AddTextVertical(ImDrawListPtr drawList, Vector2 pos, 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; + } + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, 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; + } + AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, 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) + { + AddTextVerticalNative(drawList, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, 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) + { + AddTextVerticalNative(drawList, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, 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; + } + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, pStr1); + if (pStrSize1 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr1); + } + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, 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; + } + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, 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; + } + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, 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) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, 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) + { + AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, (byte*)ptextEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void AddTextCenteredNative(ImDrawList* drawList, Vector2 topCenter, uint col, byte* textBegin, byte* textEnd) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[624])(drawList, topCenter, col, textBegin, textEnd); + #else + ((delegate* unmanaged[Cdecl])funcTable[624])((nint)drawList, topCenter, col, (nint)textBegin, (nint)textEnd); + #endif + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, byte* textEnd) + { + AddTextCenteredNative(drawList, topCenter, col, textBegin, textEnd); + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin) + { + AddTextCenteredNative(drawList, topCenter, col, textBegin, (byte*)(((void*)0))); + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin) + { + fixed (ImDrawList* pdrawList = &drawList) + { + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, (byte*)(((void*)0))); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, textEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, 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; + } + AddTextCenteredNative(drawList, topCenter, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin) + { + 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; + } + AddTextCenteredNative(drawList, topCenter, col, pStr0, (byte*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = &textBegin) + { + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, byte* textEnd) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, textEnd); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (byte* ptextBegin = textBegin) + { + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)(((void*)0))); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, 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; + } + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, textEnd); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin) + { + 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; + } + AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, (byte*)(((void*)0))); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, ref byte textEnd) + { + fixed (byte* ptextEnd = &textEnd) + { + AddTextCenteredNative(drawList, topCenter, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, ReadOnlySpan textEnd) + { + fixed (byte* ptextEnd = textEnd) + { + AddTextCenteredNative(drawList, topCenter, col, textBegin, (byte*)ptextEnd); + } + } + + /// + /// To be documented. + /// + public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, string textEnd) + { + 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, textBegin, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// 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[625])(pOut, text); + #else + ((delegate* unmanaged[Cdecl])funcTable[625])((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[626])(bg); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[626])(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[627])(bg); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[627])(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[628])(col); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[628])(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[629])(pOut, pos, size, min, max); + #else + ((delegate* unmanaged[Cdecl])funcTable[629])((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[630])(idx, cmap); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[630])(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[631])(); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[631])(); + #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[632])(t, cmap); + #else + return (uint)((delegate* unmanaged[Cdecl])funcTable[632])(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[633])(colors, size, drawList, bounds, vert, reversed, continuous); + #else + ((delegate* unmanaged[Cdecl])funcTable[633])((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(ref uint colors, int size, ImDrawListPtr drawList, ImRect bounds, bool vert, bool reversed, bool continuous) + { + fixed (uint* pcolors = &colors) + { + RenderColorBarNative((uint*)pcolors, 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. + /// + public static void RenderColorBar(ref uint colors, int size, ref ImDrawList drawList, ImRect bounds, bool vert, bool reversed, bool continuous) + { + fixed (uint* pcolors = &colors) + { + fixed (ImDrawList* pdrawList = &drawList) + { + RenderColorBarNative((uint*)pcolors, 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[634])(x, round); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[634])(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[635])(val); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[635])(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[636])(order); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[636])(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[637])(val); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[637])(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[638])(val, prec); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[638])(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[639])(pOut, a1, a2, b1, b2); + #else + ((delegate* unmanaged[Cdecl])funcTable[639])((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[640])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[640])((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[641])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[641])((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, byte vmin, byte vmax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, int, byte, byte, void>)funcTable[642])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[642])((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, byte vmin, byte vmax) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl]*, int, byte, byte, void>)funcTable[643])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[643])((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[644])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[644])((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[645])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[645])((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[646])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[646])((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[647])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[647])((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[648])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[648])((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[649])(buffer, n, vmin, vmax); + #else + ((delegate* unmanaged[Cdecl])funcTable[649])((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[650])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[650])((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[651])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[651])((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(byte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl])funcTable[652])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[652])((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(ref byte values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + fixed (byte* pvalues = &values) + { + CalculateBinsNative((byte*)pvalues, 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(ref byte values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) + { + fixed (byte* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + CalculateBinsNative((byte*)pvalues, 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(ref byte values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) + { + fixed (byte* pvalues = &values) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((byte*)pvalues, 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. + /// + public static void CalculateBins(ref byte values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) + { + fixed (byte* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((byte*)pvalues, 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[653])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[653])((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(ref short values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + fixed (short* pvalues = &values) + { + CalculateBinsNative((short*)pvalues, 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(ref short values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) + { + fixed (short* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + CalculateBinsNative((short*)pvalues, 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(ref short values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) + { + fixed (short* pvalues = &values) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((short*)pvalues, 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. + /// + public static void CalculateBins(ref short values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) + { + fixed (short* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((short*)pvalues, 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[654])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[654])((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(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + fixed (ushort* pvalues = &values) + { + CalculateBinsNative((ushort*)pvalues, 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(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) + { + fixed (ushort* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + CalculateBinsNative((ushort*)pvalues, 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(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) + { + fixed (ushort* pvalues = &values) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((ushort*)pvalues, 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. + /// + public static void CalculateBins(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) + { + fixed (ushort* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((ushort*)pvalues, 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[655])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[655])((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(ref int values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + fixed (int* pvalues = &values) + { + CalculateBinsNative((int*)pvalues, 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(ref int values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) + { + fixed (int* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + CalculateBinsNative((int*)pvalues, 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(ref int values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) + { + fixed (int* pvalues = &values) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((int*)pvalues, 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. + /// + public static void CalculateBins(ref int values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) + { + fixed (int* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((int*)pvalues, 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[656])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[656])((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(ref uint values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + fixed (uint* pvalues = &values) + { + CalculateBinsNative((uint*)pvalues, 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(ref uint values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) + { + fixed (uint* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + CalculateBinsNative((uint*)pvalues, 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(ref uint values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) + { + fixed (uint* pvalues = &values) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((uint*)pvalues, 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. + /// + public static void CalculateBins(ref uint values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) + { + fixed (uint* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((uint*)pvalues, 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[657])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[657])((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(ref long values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + fixed (long* pvalues = &values) + { + CalculateBinsNative((long*)pvalues, 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(ref long values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) + { + fixed (long* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + CalculateBinsNative((long*)pvalues, 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(ref long values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) + { + fixed (long* pvalues = &values) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((long*)pvalues, 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. + /// + public static void CalculateBins(ref long values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) + { + fixed (long* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((long*)pvalues, 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[658])(values, count, meth, range, binsOut, widthOut); + #else + ((delegate* unmanaged[Cdecl])funcTable[658])((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(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) + { + fixed (ulong* pvalues = &values) + { + CalculateBinsNative((ulong*)pvalues, 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(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) + { + fixed (ulong* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + CalculateBinsNative((ulong*)pvalues, 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(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) + { + fixed (ulong* pvalues = &values) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((ulong*)pvalues, 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. + /// + public static void CalculateBins(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) + { + fixed (ulong* pvalues = &values) + { + fixed (int* pbinsOut = &binsOut) + { + fixed (double* pwidthOut = &widthOut) + { + CalculateBinsNative((ulong*)pvalues, 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[659])(year); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[659])(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[660])(year, month); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[660])(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[661])(pOut, ptm); + #else + ((delegate* unmanaged[Cdecl])funcTable[661])((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[662])(t, ptm); + #else + return (Tm*)((delegate* unmanaged[Cdecl])funcTable[662])(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[663])(pOut, ptm); + #else + ((delegate* unmanaged[Cdecl])funcTable[663])((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[664])(t, ptm); + #else + return (Tm*)((delegate* unmanaged[Cdecl])funcTable[664])(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[665])(pOut, year, month, day, hour, min, sec, us); + #else + ((delegate* unmanaged[Cdecl])funcTable[665])((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[666])(t); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[666])(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[667])(pOut, t, unit, count); + #else + ((delegate* unmanaged[Cdecl])funcTable[667])((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[668])(pOut, t, unit); + #else + ((delegate* unmanaged[Cdecl])funcTable[668])((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[669])(pOut, t, unit); + #else + ((delegate* unmanaged[Cdecl])funcTable[669])((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[670])(pOut, t, unit); + #else + ((delegate* unmanaged[Cdecl])funcTable[670])((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[671])(pOut, datePart, timePart); + #else + ((delegate* unmanaged[Cdecl])funcTable[671])((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[672])(t, buffer, size, fmt, use24HrClk); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[672])(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[673])(t, buffer, size, fmt, useIso8601); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[673])(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[674])(t, buffer, size, fmt); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[674])(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[675])(id, level, t, t1, t2); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[675])((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; + } + } + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Functions/Functions.135.cs b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.135.cs new file mode 100644 index 000000000..7b438c47f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Functions/Functions.135.cs @@ -0,0 +1,2476 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + public unsafe partial class ImPlot + { + + /// + /// To be documented. + /// + public static bool 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; + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (int* plevel = &level) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (byte* pid = &id) + { + fixed (int* plevel = &level) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (byte* pid = id) + { + fixed (int* plevel = &level) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(string id, ref 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 (int* plevel = &level) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)pt1, (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, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (ImPlotTime* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (byte* pid = &id) + { + fixed (ImPlotTime* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (byte* pid = id) + { + fixed (ImPlotTime* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(string id, int* level, ref ImPlotTime 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* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (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, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (int* plevel = &level) + { + fixed (ImPlotTime* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (byte* pid = &id) + { + fixed (int* plevel = &level) + { + fixed (ImPlotTime* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) + { + fixed (byte* pid = id) + { + fixed (int* plevel = &level) + { + fixed (ImPlotTime* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + return ret != 0; + } + } + } + } + } + } + + /// + /// To be documented. + /// + public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime 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 (int* plevel = &level) + { + fixed (ImPlotTime* pt = &t) + { + fixed (ImPlotTime* pt1 = &t1) + { + fixed (ImPlotTime* pt2 = &t2) + { + byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + } + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static byte ShowTimePickerNative(byte* id, ImPlotTime* t) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[676])(id, t); + #else + return (byte)((delegate* unmanaged[Cdecl])funcTable[676])((nint)id, (nint)t); + #endif + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(byte* id, ImPlotTimePtr t) + { + byte ret = ShowTimePickerNative(id, t); + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(ref byte id, ImPlotTimePtr t) + { + fixed (byte* pid = &id) + { + byte ret = ShowTimePickerNative((byte*)pid, t); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(ReadOnlySpan id, ImPlotTimePtr t) + { + fixed (byte* pid = id) + { + byte ret = ShowTimePickerNative((byte*)pid, t); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(string id, 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 = ShowTimePickerNative(pStr0, t); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(byte* id, ref ImPlotTime t) + { + fixed (ImPlotTime* pt = &t) + { + byte ret = ShowTimePickerNative(id, (ImPlotTime*)pt); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(ref byte id, ref ImPlotTime t) + { + fixed (byte* pid = &id) + { + fixed (ImPlotTime* pt = &t) + { + byte ret = ShowTimePickerNative((byte*)pid, (ImPlotTime*)pt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(ReadOnlySpan id, ref ImPlotTime t) + { + fixed (byte* pid = id) + { + fixed (ImPlotTime* pt = &t) + { + byte ret = ShowTimePickerNative((byte*)pid, (ImPlotTime*)pt); + return ret != 0; + } + } + } + + /// + /// To be documented. + /// + public static bool ShowTimePicker(string id, 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 = ShowTimePickerNative(pStr0, (ImPlotTime*)pt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret != 0; + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double TransformForward_Log10Native(double v, void* noname1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[677])(v, noname1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[677])(v, (nint)noname1); + #endif + } + + /// + /// To be documented. + /// + public static double TransformForward_Log10(double v, void* noname1) + { + double ret = TransformForward_Log10Native(v, noname1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double TransformInverse_Log10Native(double v, void* noname1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[678])(v, noname1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[678])(v, (nint)noname1); + #endif + } + + /// + /// To be documented. + /// + public static double TransformInverse_Log10(double v, void* noname1) + { + double ret = TransformInverse_Log10Native(v, noname1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double TransformForward_SymLogNative(double v, void* noname1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[679])(v, noname1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[679])(v, (nint)noname1); + #endif + } + + /// + /// To be documented. + /// + public static double TransformForward_SymLog(double v, void* noname1) + { + double ret = TransformForward_SymLogNative(v, noname1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double TransformInverse_SymLogNative(double v, void* noname1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[680])(v, noname1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[680])(v, (nint)noname1); + #endif + } + + /// + /// To be documented. + /// + public static double TransformInverse_SymLog(double v, void* noname1) + { + double ret = TransformInverse_SymLogNative(v, noname1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double TransformForward_LogitNative(double v, void* noname1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[681])(v, noname1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[681])(v, (nint)noname1); + #endif + } + + /// + /// To be documented. + /// + public static double TransformForward_Logit(double v, void* noname1) + { + double ret = TransformForward_LogitNative(v, noname1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static double TransformInverse_LogitNative(double v, void* noname1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[682])(v, noname1); + #else + return (double)((delegate* unmanaged[Cdecl])funcTable[682])(v, (nint)noname1); + #endif + } + + /// + /// To be documented. + /// + public static double TransformInverse_Logit(double v, void* noname1) + { + double ret = TransformInverse_LogitNative(v, noname1); + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int Formatter_DefaultNative(double value, byte* buff, int size, void* data) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[683])(value, buff, size, data); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[683])(value, (nint)buff, size, (nint)data); + #endif + } + + /// + /// To be documented. + /// + public static int Formatter_Default(double value, byte* buff, int size, void* data) + { + int ret = Formatter_DefaultNative(value, buff, size, data); + return ret; + } + + /// + /// To be documented. + /// + public static int Formatter_Default(double value, ref byte buff, int size, void* data) + { + fixed (byte* pbuff = &buff) + { + int ret = Formatter_DefaultNative(value, (byte*)pbuff, size, data); + return ret; + } + } + + /// + /// To be documented. + /// + public static int Formatter_Default(double value, ref string buff, int size, void* data) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (buff != null) + { + pStrSize0 = Utils.GetByteCountUTF8(buff); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + int ret = Formatter_DefaultNative(value, pStr0, size, data); + buff = Utils.DecodeStringUTF8(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int Formatter_LogitNative(double value, byte* buff, int size, void* noname1) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[684])(value, buff, size, noname1); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[684])(value, (nint)buff, size, (nint)noname1); + #endif + } + + /// + /// To be documented. + /// + public static int Formatter_Logit(double value, byte* buff, int size, void* noname1) + { + int ret = Formatter_LogitNative(value, buff, size, noname1); + return ret; + } + + /// + /// To be documented. + /// + public static int Formatter_Logit(double value, ref byte buff, int size, void* noname1) + { + fixed (byte* pbuff = &buff) + { + int ret = Formatter_LogitNative(value, (byte*)pbuff, size, noname1); + return ret; + } + } + + /// + /// To be documented. + /// + public static int Formatter_Logit(double value, ref string buff, int size, void* noname1) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (buff != null) + { + pStrSize0 = Utils.GetByteCountUTF8(buff); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + int ret = Formatter_LogitNative(value, pStr0, size, noname1); + buff = Utils.DecodeStringUTF8(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static int Formatter_TimeNative(double noname1, byte* buff, int size, void* data) + { + #if NET5_0_OR_GREATER + return ((delegate* unmanaged[Cdecl])funcTable[685])(noname1, buff, size, data); + #else + return (int)((delegate* unmanaged[Cdecl])funcTable[685])(noname1, (nint)buff, size, (nint)data); + #endif + } + + /// + /// To be documented. + /// + public static int Formatter_Time(double noname1, byte* buff, int size, void* data) + { + int ret = Formatter_TimeNative(noname1, buff, size, data); + return ret; + } + + /// + /// To be documented. + /// + public static int Formatter_Time(double noname1, ref byte buff, int size, void* data) + { + fixed (byte* pbuff = &buff) + { + int ret = Formatter_TimeNative(noname1, (byte*)pbuff, size, data); + return ret; + } + } + + /// + /// To be documented. + /// + public static int Formatter_Time(double noname1, ref string buff, int size, void* data) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (buff != null) + { + pStrSize0 = Utils.GetByteCountUTF8(buff); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + int ret = Formatter_TimeNative(noname1, pStr0, size, data); + buff = Utils.DecodeStringUTF8(pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void Locator_DefaultNative(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, void>)funcTable[686])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); + #else + ((delegate* unmanaged[Cdecl])funcTable[686])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); + #endif + } + + /// + /// To be documented. + /// + public static void Locator_Default(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + Locator_DefaultNative(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + + /// + /// To be documented. + /// + public static void Locator_Default(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + fixed (ImPlotTicker* pticker = &ticker) + { + Locator_DefaultNative((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void Locator_TimeNative(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, void>)funcTable[687])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); + #else + ((delegate* unmanaged[Cdecl])funcTable[687])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); + #endif + } + + /// + /// To be documented. + /// + public static void Locator_Time(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + Locator_TimeNative(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + + /// + /// To be documented. + /// + public static void Locator_Time(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + fixed (ImPlotTicker* pticker = &ticker) + { + Locator_TimeNative((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void Locator_Log10Native(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, void>)funcTable[688])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); + #else + ((delegate* unmanaged[Cdecl])funcTable[688])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); + #endif + } + + /// + /// To be documented. + /// + public static void Locator_Log10(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + Locator_Log10Native(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + + /// + /// To be documented. + /// + public static void Locator_Log10(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + fixed (ImPlotTicker* pticker = &ticker) + { + Locator_Log10Native((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void Locator_SymLogNative(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, void>)funcTable[689])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); + #else + ((delegate* unmanaged[Cdecl])funcTable[689])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); + #endif + } + + /// + /// To be documented. + /// + public static void Locator_SymLog(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + Locator_SymLogNative(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + + /// + /// To be documented. + /// + public static void Locator_SymLog(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) + { + fixed (ImPlotTicker* pticker = &ticker) + { + Locator_SymLogNative((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); + } + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotLineGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, int, ImPlotLineFlags, void>)funcTable[690])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, flags); + #else + ((delegate* unmanaged[Cdecl])funcTable[690])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, flags); + #endif + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) + { + PlotLineGNative(labelId, getter, data, count, flags); + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(byte* labelId, ImPlotPointGetter getter, void* data, int count) + { + PlotLineGNative(labelId, getter, data, count, (ImPlotLineFlags)(0)); + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = &labelId) + { + PlotLineGNative((byte*)plabelId, getter, data, count, flags); + } + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(ref byte labelId, ImPlotPointGetter getter, void* data, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotLineGNative((byte*)plabelId, getter, data, count, (ImPlotLineFlags)(0)); + } + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) + { + fixed (byte* plabelId = labelId) + { + PlotLineGNative((byte*)plabelId, getter, data, count, flags); + } + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count) + { + fixed (byte* plabelId = labelId) + { + PlotLineGNative((byte*)plabelId, getter, data, count, (ImPlotLineFlags)(0)); + } + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(string labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineGNative(pStr0, getter, data, count, flags); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// ImPlotPoint getters manually wrapped
+ ///
+ public static void PlotLineG(string labelId, ImPlotPointGetter getter, void* data, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotLineGNative(pStr0, getter, data, count, (ImPlotLineFlags)(0)); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotScatterGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, int, void>)funcTable[691])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count); + #else + ((delegate* unmanaged[Cdecl])funcTable[691])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count); + #endif + } + + /// + /// To be documented. + /// + public static void PlotScatterG(byte* labelId, ImPlotPointGetter getter, void* data, int count) + { + PlotScatterGNative(labelId, getter, data, count); + } + + /// + /// To be documented. + /// + public static void PlotScatterG(ref byte labelId, ImPlotPointGetter getter, void* data, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotScatterGNative((byte*)plabelId, getter, data, count); + } + } + + /// + /// To be documented. + /// + public static void PlotScatterG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count) + { + fixed (byte* plabelId = labelId) + { + PlotScatterGNative((byte*)plabelId, getter, data, count); + } + } + + /// + /// To be documented. + /// + public static void PlotScatterG(string labelId, ImPlotPointGetter getter, void* data, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotScatterGNative(pStr0, getter, data, count); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotShadedGNative(byte* labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, delegate*, void*, int, void>)funcTable[692])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter1), data1, (delegate*)Utils.GetFunctionPointerForDelegate(getter2), data2, count); + #else + ((delegate* unmanaged[Cdecl])funcTable[692])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter1), (nint)data1, (nint)Utils.GetFunctionPointerForDelegate(getter2), (nint)data2, count); + #endif + } + + /// + /// To be documented. + /// + public static void PlotShadedG(byte* labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) + { + PlotShadedGNative(labelId, getter1, data1, getter2, data2, count); + } + + /// + /// To be documented. + /// + public static void PlotShadedG(ref byte labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotShadedGNative((byte*)plabelId, getter1, data1, getter2, data2, count); + } + } + + /// + /// To be documented. + /// + public static void PlotShadedG(ReadOnlySpan labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) + { + fixed (byte* plabelId = labelId) + { + PlotShadedGNative((byte*)plabelId, getter1, data1, getter2, data2, count); + } + } + + /// + /// To be documented. + /// + public static void PlotShadedG(string labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotShadedGNative(pStr0, getter1, data1, getter2, data2, count); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotBarsGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count, double width) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, int, double, void>)funcTable[693])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, width); + #else + ((delegate* unmanaged[Cdecl])funcTable[693])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, width); + #endif + } + + /// + /// To be documented. + /// + public static void PlotBarsG(byte* labelId, ImPlotPointGetter getter, void* data, int count, double width) + { + PlotBarsGNative(labelId, getter, data, count, width); + } + + /// + /// To be documented. + /// + public static void PlotBarsG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, double width) + { + fixed (byte* plabelId = &labelId) + { + PlotBarsGNative((byte*)plabelId, getter, data, count, width); + } + } + + /// + /// To be documented. + /// + public static void PlotBarsG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, double width) + { + fixed (byte* plabelId = labelId) + { + PlotBarsGNative((byte*)plabelId, getter, data, count, width); + } + } + + /// + /// To be documented. + /// + public static void PlotBarsG(string labelId, ImPlotPointGetter getter, void* data, int count, double width) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotBarsGNative(pStr0, getter, data, count, width); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// CIMGUI_API void ImPlot_PlotBarsHG(const char* label_id, ImPlotPoint_getter getter, void* data, int count, double height);
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)] + internal static void PlotDigitalGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count) + { + #if NET5_0_OR_GREATER + ((delegate* unmanaged[Cdecl], void*, int, void>)funcTable[694])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count); + #else + ((delegate* unmanaged[Cdecl])funcTable[694])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count); + #endif + } + + /// + /// CIMGUI_API void ImPlot_PlotBarsHG(const char* label_id, ImPlotPoint_getter getter, void* data, int count, double height);
+ ///
+ public static void PlotDigitalG(byte* labelId, ImPlotPointGetter getter, void* data, int count) + { + PlotDigitalGNative(labelId, getter, data, count); + } + + /// + /// CIMGUI_API void ImPlot_PlotBarsHG(const char* label_id, ImPlotPoint_getter getter, void* data, int count, double height);
+ ///
+ public static void PlotDigitalG(ref byte labelId, ImPlotPointGetter getter, void* data, int count) + { + fixed (byte* plabelId = &labelId) + { + PlotDigitalGNative((byte*)plabelId, getter, data, count); + } + } + + /// + /// CIMGUI_API void ImPlot_PlotBarsHG(const char* label_id, ImPlotPoint_getter getter, void* data, int count, double height);
+ ///
+ public static void PlotDigitalG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count) + { + fixed (byte* plabelId = labelId) + { + PlotDigitalGNative((byte*)plabelId, getter, data, count); + } + } + + /// + /// CIMGUI_API void ImPlot_PlotBarsHG(const char* label_id, ImPlotPoint_getter getter, void* data, int count, double height);
+ ///
+ public static void PlotDigitalG(string labelId, ImPlotPointGetter getter, void* data, int count) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + PlotDigitalGNative(pStr0, getter, data, count); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + } +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/FormatterTimeData.cs b/imgui/Dalamud.ImPlot/Generated/Structs/FormatterTimeData.cs new file mode 100644 index 000000000..c93bd849f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/FormatterTimeData.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct FormatterTimeData + { + /// + /// To be documented. + /// + public ImPlotTime Time; + + /// + /// To be documented. + /// + public ImPlotDateTimeSpec Spec; + + /// + /// To be documented. + /// + public unsafe void* UserFormatter; + /// + /// To be documented. + /// + public unsafe void* UserFormatterData; + + + /// + /// To be documented. + /// + public unsafe FormatterTimeData(ImPlotTime time = default, ImPlotDateTimeSpec spec = default, ImPlotFormatter userFormatter = default, void* userFormatterData = default) + { + Time = time; + Spec = spec; + UserFormatter = (void*)Marshal.GetFunctionPointerForDelegate(userFormatter); + UserFormatterData = userFormatterData; + } + + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAlignmentData.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAlignmentData.cs new file mode 100644 index 000000000..ff075394f --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAlignmentData.cs @@ -0,0 +1,702 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotAlignmentData + { + /// + /// To be documented. + /// + public byte Vertical; + + /// + /// To be documented. + /// + public float PadA; + + /// + /// To be documented. + /// + public float PadB; + + /// + /// To be documented. + /// + public float PadAMax; + + /// + /// To be documented. + /// + public float PadBMax; + + + /// + /// To be documented. + /// + public unsafe ImPlotAlignmentData(bool vertical = default, float padA = default, float padB = default, float padAMax = default, float padBMax = default) + { + Vertical = vertical ? (byte)1 : (byte)0; + PadA = padA; + PadB = padB; + PadAMax = padAMax; + PadBMax = padBMax; + } + + + /// + /// To be documented. + /// + public unsafe void Begin() + { + fixed (ImPlotAlignmentData* @this = &this) + { + ImPlot.BeginNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotAlignmentData* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void End() + { + fixed (ImPlotAlignmentData* @this = &this) + { + ImPlot.EndNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotAlignmentData* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + ImPlot.UpdateNative(@this, padA, padB, deltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + ImPlot.UpdateNative(@this, (float*)ppadA, padB, deltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadB = &padB) + { + ImPlot.UpdateNative(@this, padA, (float*)ppadB, deltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, deltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(@this, padA, padB, (float*)pdeltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(@this, (float*)ppadA, padB, (float*)pdeltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(@this, padA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, padA, padB, deltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, (float*)ppadA, padB, deltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, padA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, padA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (ImPlotAlignmentData* @this = &this) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotAlignmentDataPtr : IEquatable + { + public ImPlotAlignmentDataPtr(ImPlotAlignmentData* handle) { Handle = handle; } + + public ImPlotAlignmentData* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotAlignmentDataPtr Null => new ImPlotAlignmentDataPtr(null); + + public ImPlotAlignmentData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotAlignmentDataPtr(ImPlotAlignmentData* handle) => new ImPlotAlignmentDataPtr(handle); + + public static implicit operator ImPlotAlignmentData*(ImPlotAlignmentDataPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotAlignmentDataPtr left, ImPlotAlignmentDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotAlignmentDataPtr left, ImPlotAlignmentDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotAlignmentDataPtr left, ImPlotAlignmentData* right) => left.Handle == right; + + public static bool operator !=(ImPlotAlignmentDataPtr left, ImPlotAlignmentData* right) => left.Handle != right; + + public bool Equals(ImPlotAlignmentDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotAlignmentDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotAlignmentDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref bool Vertical => ref Unsafe.AsRef(&Handle->Vertical); + /// + /// To be documented. + /// + public ref float PadA => ref Unsafe.AsRef(&Handle->PadA); + /// + /// To be documented. + /// + public ref float PadB => ref Unsafe.AsRef(&Handle->PadB); + /// + /// To be documented. + /// + public ref float PadAMax => ref Unsafe.AsRef(&Handle->PadAMax); + /// + /// To be documented. + /// + public ref float PadBMax => ref Unsafe.AsRef(&Handle->PadBMax); + /// + /// To be documented. + /// + public unsafe void Begin() + { + ImPlot.BeginNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void End() + { + ImPlot.EndNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, float* deltaA, float* deltaB) + { + ImPlot.UpdateNative(Handle, padA, padB, deltaA, deltaB); + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, float* deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, padB, deltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (float* ppadB = &padB) + { + ImPlot.UpdateNative(Handle, padA, (float*)ppadB, deltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, float* deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, deltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(Handle, padA, padB, (float*)pdeltaA, deltaB); + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, ref float deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, padB, (float*)pdeltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(Handle, padA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, ref float deltaA, float* deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, padA, padB, deltaA, (float*)pdeltaB); + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, float* deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, padB, deltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, padA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, float* deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, padA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, float* padB, ref float deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(float* padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void Update(ref float padA, ref float padB, ref float deltaA, ref float deltaB) + { + fixed (float* ppadA = &padA) + { + fixed (float* ppadB = &padB) + { + fixed (float* pdeltaA = &deltaA) + { + fixed (float* pdeltaB = &deltaB) + { + ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); + } + } + } + } + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAnnotation.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAnnotation.cs new file mode 100644 index 000000000..2b1748f63 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAnnotation.cs @@ -0,0 +1,140 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotAnnotation + { + /// + /// To be documented. + /// + public Vector2 Pos; + + /// + /// To be documented. + /// + public Vector2 Offset; + + /// + /// To be documented. + /// + public uint ColorBg; + + /// + /// To be documented. + /// + public uint ColorFg; + + /// + /// To be documented. + /// + public int TextOffset; + + /// + /// To be documented. + /// + public byte Clamp; + + + /// + /// To be documented. + /// + public unsafe ImPlotAnnotation(Vector2 pos = default, Vector2 offset = default, uint colorBg = default, uint colorFg = default, int textOffset = default, bool clamp = default) + { + Pos = pos; + Offset = offset; + ColorBg = colorBg; + ColorFg = colorFg; + TextOffset = textOffset; + Clamp = clamp ? (byte)1 : (byte)0; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotAnnotationPtr : IEquatable + { + public ImPlotAnnotationPtr(ImPlotAnnotation* handle) { Handle = handle; } + + public ImPlotAnnotation* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotAnnotationPtr Null => new ImPlotAnnotationPtr(null); + + public ImPlotAnnotation this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotAnnotationPtr(ImPlotAnnotation* handle) => new ImPlotAnnotationPtr(handle); + + public static implicit operator ImPlotAnnotation*(ImPlotAnnotationPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotAnnotationPtr left, ImPlotAnnotationPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotAnnotationPtr left, ImPlotAnnotationPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotAnnotationPtr left, ImPlotAnnotation* right) => left.Handle == right; + + public static bool operator !=(ImPlotAnnotationPtr left, ImPlotAnnotation* right) => left.Handle != right; + + public bool Equals(ImPlotAnnotationPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotAnnotationPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotAnnotationPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + /// + /// To be documented. + /// + public ref Vector2 Offset => ref Unsafe.AsRef(&Handle->Offset); + /// + /// To be documented. + /// + public ref uint ColorBg => ref Unsafe.AsRef(&Handle->ColorBg); + /// + /// To be documented. + /// + public ref uint ColorFg => ref Unsafe.AsRef(&Handle->ColorFg); + /// + /// To be documented. + /// + public ref int TextOffset => ref Unsafe.AsRef(&Handle->TextOffset); + /// + /// To be documented. + /// + public ref bool Clamp => ref Unsafe.AsRef(&Handle->Clamp); + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAnnotationCollection.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAnnotationCollection.cs new file mode 100644 index 000000000..fced27408 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAnnotationCollection.cs @@ -0,0 +1,450 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotAnnotationCollection + { + /// + /// To be documented. + /// + public ImVector Annotations; + + /// + /// To be documented. + /// + public ImGuiTextBuffer TextBuffer; + + /// + /// To be documented. + /// + public int Size; + + + /// + /// To be documented. + /// + public unsafe ImPlotAnnotationCollection(ImVector annotations = default, ImGuiTextBuffer textBuffer = default, int size = default) + { + Annotations = annotations; + TextBuffer = textBuffer; + Size = size; + } + + + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); + } + } + + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(int idx) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + byte* ret = ImPlot.GetTextNative(@this, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(int idx) + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, idx)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotAnnotationCollection* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotAnnotationCollectionPtr : IEquatable + { + public ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* handle) { Handle = handle; } + + public ImPlotAnnotationCollection* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotAnnotationCollectionPtr Null => new ImPlotAnnotationCollectionPtr(null); + + public ImPlotAnnotationCollection this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* handle) => new ImPlotAnnotationCollectionPtr(handle); + + public static implicit operator ImPlotAnnotationCollection*(ImPlotAnnotationCollectionPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollectionPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollectionPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollection* right) => left.Handle == right; + + public static bool operator !=(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollection* right) => left.Handle != right; + + public bool Equals(ImPlotAnnotationCollectionPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotAnnotationCollectionPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotAnnotationCollectionPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Annotations => ref Unsafe.AsRef>(&Handle->Annotations); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); + /// + /// To be documented. + /// + public ref int Size => ref Unsafe.AsRef(&Handle->Size); + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) + { + ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); + } + + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) + { + ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(int idx) + { + byte* ret = ImPlot.GetTextNative(Handle, idx); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(int idx) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, idx)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAxis.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAxis.cs new file mode 100644 index 000000000..a470e5a41 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAxis.cs @@ -0,0 +1,1489 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotAxis + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImPlotAxisFlags Flags; + + /// + /// To be documented. + /// + public ImPlotAxisFlags PreviousFlags; + + /// + /// To be documented. + /// + public ImPlotRange Range; + + /// + /// To be documented. + /// + public ImPlotCond RangeCond; + + /// + /// To be documented. + /// + public ImPlotScale Scale; + + /// + /// To be documented. + /// + public ImPlotRange FitExtents; + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* OrthoAxis; + + /// + /// To be documented. + /// + public ImPlotRange ConstraintRange; + + /// + /// To be documented. + /// + public ImPlotRange ConstraintZoom; + + /// + /// To be documented. + /// + public ImPlotTicker Ticker; + + /// + /// To be documented. + /// + public unsafe void* Formatter; + /// + /// To be documented. + /// + public unsafe void* FormatterData; + + /// + /// To be documented. + /// + public byte FormatSpec_0; + public byte FormatSpec_1; + public byte FormatSpec_2; + public byte FormatSpec_3; + public byte FormatSpec_4; + public byte FormatSpec_5; + public byte FormatSpec_6; + public byte FormatSpec_7; + public byte FormatSpec_8; + public byte FormatSpec_9; + public byte FormatSpec_10; + public byte FormatSpec_11; + public byte FormatSpec_12; + public byte FormatSpec_13; + public byte FormatSpec_14; + public byte FormatSpec_15; + + /// + /// To be documented. + /// + public unsafe void* Locator; + /// + /// To be documented. + /// + public unsafe double* LinkedMin; + + /// + /// To be documented. + /// + public unsafe double* LinkedMax; + + /// + /// To be documented. + /// + public int PickerLevel; + + /// + /// To be documented. + /// + public ImPlotTime PickerTimeMin; + + /// + /// To be documented. + /// + public ImPlotTime PickerTimeMax; + + /// + /// To be documented. + /// + public unsafe void* TransformForward; + /// + /// To be documented. + /// + public unsafe void* TransformInverse; + /// + /// To be documented. + /// + public unsafe void* TransformData; + + /// + /// To be documented. + /// + public float PixelMin; + + /// + /// To be documented. + /// + public float PixelMax; + + /// + /// To be documented. + /// + public double ScaleMin; + + /// + /// To be documented. + /// + public double ScaleMax; + + /// + /// To be documented. + /// + public double ScaleToPixel; + + /// + /// To be documented. + /// + public float Datum1; + + /// + /// To be documented. + /// + public float Datum2; + + /// + /// To be documented. + /// + public ImRect HoverRect; + + /// + /// To be documented. + /// + public int LabelOffset; + + /// + /// To be documented. + /// + public uint ColorMaj; + + /// + /// To be documented. + /// + public uint ColorMin; + + /// + /// To be documented. + /// + public uint ColorTick; + + /// + /// To be documented. + /// + public uint ColorTxt; + + /// + /// To be documented. + /// + public uint ColorBg; + + /// + /// To be documented. + /// + public uint ColorHov; + + /// + /// To be documented. + /// + public uint ColorAct; + + /// + /// To be documented. + /// + public uint ColorHiLi; + + /// + /// To be documented. + /// + public byte Enabled; + + /// + /// To be documented. + /// + public byte Vertical; + + /// + /// To be documented. + /// + public byte FitThisFrame; + + /// + /// To be documented. + /// + public byte HasRange; + + /// + /// To be documented. + /// + public byte HasFormatSpec; + + /// + /// To be documented. + /// + public byte ShowDefaultTicks; + + /// + /// To be documented. + /// + public byte Hovered; + + /// + /// To be documented. + /// + public byte Held; + + + /// + /// To be documented. + /// + public unsafe ImPlotAxis(uint id = default, ImPlotAxisFlags flags = default, ImPlotAxisFlags previousFlags = default, ImPlotRange range = default, ImPlotCond rangeCond = default, ImPlotScale scale = default, ImPlotRange fitExtents = default, ImPlotAxis* orthoAxis = default, ImPlotRange constraintRange = default, ImPlotRange constraintZoom = default, ImPlotTicker ticker = default, ImPlotFormatter formatter = default, void* formatterData = default, byte* formatSpec = default, ImPlotLocator locator = default, double* linkedMin = default, double* linkedMax = default, int pickerLevel = default, ImPlotTime pickerTimeMin = default, ImPlotTime pickerTimeMax = default, ImPlotTransform transformForward = default, ImPlotTransform transformInverse = default, void* transformData = default, float pixelMin = default, float pixelMax = default, double scaleMin = default, double scaleMax = default, double scaleToPixel = default, float datum1 = default, float datum2 = default, ImRect hoverRect = default, int labelOffset = default, uint colorMaj = default, uint colorMin = default, uint colorTick = default, uint colorTxt = default, uint colorBg = default, uint colorHov = default, uint colorAct = default, uint colorHiLi = default, bool enabled = default, bool vertical = default, bool fitThisFrame = default, bool hasRange = default, bool hasFormatSpec = default, bool showDefaultTicks = default, bool hovered = default, bool held = default) + { + ID = id; + Flags = flags; + PreviousFlags = previousFlags; + Range = range; + RangeCond = rangeCond; + Scale = scale; + FitExtents = fitExtents; + OrthoAxis = orthoAxis; + ConstraintRange = constraintRange; + ConstraintZoom = constraintZoom; + Ticker = ticker; + Formatter = (void*)Marshal.GetFunctionPointerForDelegate(formatter); + FormatterData = formatterData; + if (formatSpec != default(byte*)) + { + FormatSpec_0 = formatSpec[0]; + FormatSpec_1 = formatSpec[1]; + FormatSpec_2 = formatSpec[2]; + FormatSpec_3 = formatSpec[3]; + FormatSpec_4 = formatSpec[4]; + FormatSpec_5 = formatSpec[5]; + FormatSpec_6 = formatSpec[6]; + FormatSpec_7 = formatSpec[7]; + FormatSpec_8 = formatSpec[8]; + FormatSpec_9 = formatSpec[9]; + FormatSpec_10 = formatSpec[10]; + FormatSpec_11 = formatSpec[11]; + FormatSpec_12 = formatSpec[12]; + FormatSpec_13 = formatSpec[13]; + FormatSpec_14 = formatSpec[14]; + FormatSpec_15 = formatSpec[15]; + } + Locator = (void*)Marshal.GetFunctionPointerForDelegate(locator); + LinkedMin = linkedMin; + LinkedMax = linkedMax; + PickerLevel = pickerLevel; + PickerTimeMin = pickerTimeMin; + PickerTimeMax = pickerTimeMax; + TransformForward = (void*)Marshal.GetFunctionPointerForDelegate(transformForward); + TransformInverse = (void*)Marshal.GetFunctionPointerForDelegate(transformInverse); + TransformData = transformData; + PixelMin = pixelMin; + PixelMax = pixelMax; + ScaleMin = scaleMin; + ScaleMax = scaleMax; + ScaleToPixel = scaleToPixel; + Datum1 = datum1; + Datum2 = datum2; + HoverRect = hoverRect; + LabelOffset = labelOffset; + ColorMaj = colorMaj; + ColorMin = colorMin; + ColorTick = colorTick; + ColorTxt = colorTxt; + ColorBg = colorBg; + ColorHov = colorHov; + ColorAct = colorAct; + ColorHiLi = colorHiLi; + Enabled = enabled ? (byte)1 : (byte)0; + Vertical = vertical ? (byte)1 : (byte)0; + FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; + HasRange = hasRange ? (byte)1 : (byte)0; + HasFormatSpec = hasFormatSpec ? (byte)1 : (byte)0; + ShowDefaultTicks = showDefaultTicks ? (byte)1 : (byte)0; + Hovered = hovered ? (byte)1 : (byte)0; + Held = held ? (byte)1 : (byte)0; + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis(uint id = default, ImPlotAxisFlags flags = default, ImPlotAxisFlags previousFlags = default, ImPlotRange range = default, ImPlotCond rangeCond = default, ImPlotScale scale = default, ImPlotRange fitExtents = default, ImPlotAxis* orthoAxis = default, ImPlotRange constraintRange = default, ImPlotRange constraintZoom = default, ImPlotTicker ticker = default, ImPlotFormatter formatter = default, void* formatterData = default, Span formatSpec = default, ImPlotLocator locator = default, double* linkedMin = default, double* linkedMax = default, int pickerLevel = default, ImPlotTime pickerTimeMin = default, ImPlotTime pickerTimeMax = default, ImPlotTransform transformForward = default, ImPlotTransform transformInverse = default, void* transformData = default, float pixelMin = default, float pixelMax = default, double scaleMin = default, double scaleMax = default, double scaleToPixel = default, float datum1 = default, float datum2 = default, ImRect hoverRect = default, int labelOffset = default, uint colorMaj = default, uint colorMin = default, uint colorTick = default, uint colorTxt = default, uint colorBg = default, uint colorHov = default, uint colorAct = default, uint colorHiLi = default, bool enabled = default, bool vertical = default, bool fitThisFrame = default, bool hasRange = default, bool hasFormatSpec = default, bool showDefaultTicks = default, bool hovered = default, bool held = default) + { + ID = id; + Flags = flags; + PreviousFlags = previousFlags; + Range = range; + RangeCond = rangeCond; + Scale = scale; + FitExtents = fitExtents; + OrthoAxis = orthoAxis; + ConstraintRange = constraintRange; + ConstraintZoom = constraintZoom; + Ticker = ticker; + Formatter = (void*)Marshal.GetFunctionPointerForDelegate(formatter); + FormatterData = formatterData; + if (formatSpec != default(Span)) + { + FormatSpec_0 = formatSpec[0]; + FormatSpec_1 = formatSpec[1]; + FormatSpec_2 = formatSpec[2]; + FormatSpec_3 = formatSpec[3]; + FormatSpec_4 = formatSpec[4]; + FormatSpec_5 = formatSpec[5]; + FormatSpec_6 = formatSpec[6]; + FormatSpec_7 = formatSpec[7]; + FormatSpec_8 = formatSpec[8]; + FormatSpec_9 = formatSpec[9]; + FormatSpec_10 = formatSpec[10]; + FormatSpec_11 = formatSpec[11]; + FormatSpec_12 = formatSpec[12]; + FormatSpec_13 = formatSpec[13]; + FormatSpec_14 = formatSpec[14]; + FormatSpec_15 = formatSpec[15]; + } + Locator = (void*)Marshal.GetFunctionPointerForDelegate(locator); + LinkedMin = linkedMin; + LinkedMax = linkedMax; + PickerLevel = pickerLevel; + PickerTimeMin = pickerTimeMin; + PickerTimeMax = pickerTimeMax; + TransformForward = (void*)Marshal.GetFunctionPointerForDelegate(transformForward); + TransformInverse = (void*)Marshal.GetFunctionPointerForDelegate(transformInverse); + TransformData = transformData; + PixelMin = pixelMin; + PixelMax = pixelMax; + ScaleMin = scaleMin; + ScaleMax = scaleMax; + ScaleToPixel = scaleToPixel; + Datum1 = datum1; + Datum2 = datum2; + HoverRect = hoverRect; + LabelOffset = labelOffset; + ColorMaj = colorMaj; + ColorMin = colorMin; + ColorTick = colorTick; + ColorTxt = colorTxt; + ColorBg = colorBg; + ColorHov = colorHov; + ColorAct = colorAct; + ColorHiLi = colorHiLi; + Enabled = enabled ? (byte)1 : (byte)0; + Vertical = vertical ? (byte)1 : (byte)0; + FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; + HasRange = hasRange ? (byte)1 : (byte)0; + HasFormatSpec = hasFormatSpec ? (byte)1 : (byte)0; + ShowDefaultTicks = showDefaultTicks ? (byte)1 : (byte)0; + Hovered = hovered ? (byte)1 : (byte)0; + Held = held ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void ApplyFit(float padding) + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.ApplyFitNative(@this, padding); + } + } + + /// + /// To be documented. + /// + public unsafe bool CanInitFit() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.CanInitFitNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void Constrain() + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.ConstrainNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void ExtendFit(double v) + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.ExtendFitNative(@this, v); + } + } + + /// + /// To be documented. + /// + public unsafe void ExtendFitWith(ImPlotAxis* alt, double v, double vAlt) + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.ExtendFitWithNative(@this, alt, v, vAlt); + } + } + + /// + /// To be documented. + /// + public unsafe void ExtendFitWith(ref ImPlotAxis alt, double v, double vAlt) + { + fixed (ImPlotAxis* @this = &this) + { + fixed (ImPlotAxis* palt = &alt) + { + ImPlot.ExtendFitWithNative(@this, (ImPlotAxis*)palt, v, vAlt); + } + } + } + + /// + /// To be documented. + /// + public unsafe double GetAspect() + { + fixed (ImPlotAxis* @this = &this) + { + double ret = ImPlot.GetAspectNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool HasGridLines() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.HasGridLinesNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool HasLabel() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.HasLabelNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool HasMenus() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.HasMenusNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool HasTickLabels() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.HasTickLabelsNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool HasTickMarks() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.HasTickMarksNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsAutoFitting() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsAutoFittingNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsForeground() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsForegroundNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLocked() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsInputLockedNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLockedMax() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsInputLockedMaxNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLockedMin() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsInputLockedMinNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsInverted() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsInvertedNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsLocked() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsLockedNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsLockedMax() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsLockedMaxNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsLockedMin() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsLockedMinNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsOpposite() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsOppositeNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsPanLocked(bool increasing) + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsPanLockedNative(@this, increasing ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsRangeLocked() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.IsRangeLockedNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe float PixelSize() + { + fixed (ImPlotAxis* @this = &this) + { + float ret = ImPlot.PixelSizeNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe double PixelsToPlot(float pix) + { + fixed (ImPlotAxis* @this = &this) + { + double ret = ImPlot.PixelsToPlotNative(@this, pix); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe float PlotToPixels(double plt) + { + fixed (ImPlotAxis* @this = &this) + { + float ret = ImPlot.PlotToPixelsNative(@this, plt); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void PullLinks() + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.PullLinksNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void PushLinks() + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.PushLinksNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void SetAspect(double unitPerPix) + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.SetAspectNative(@this, unitPerPix); + } + } + + /// + /// To be documented. + /// + public unsafe bool SetMax(double max, bool force) + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.SetMaxNative(@this, max, force ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool SetMax(double max) + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.SetMaxNative(@this, max, (byte)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool SetMin(double min, bool force) + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.SetMinNative(@this, min, force ? (byte)1 : (byte)0); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool SetMin(double min) + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.SetMinNative(@this, min, (byte)(0)); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void SetRange(double v1, double v2) + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.SetRangeNative(@this, v1, v2); + } + } + + /// + /// To be documented. + /// + public unsafe void SetRange(ImPlotRange range) + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.SetRangeNative(@this, range); + } + } + + /// + /// To be documented. + /// + public unsafe void UpdateTransformCache() + { + fixed (ImPlotAxis* @this = &this) + { + ImPlot.UpdateTransformCacheNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe bool WillRender() + { + fixed (ImPlotAxis* @this = &this) + { + byte ret = ImPlot.WillRenderNative(@this); + return ret != 0; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotAxisPtr : IEquatable + { + public ImPlotAxisPtr(ImPlotAxis* handle) { Handle = handle; } + + public ImPlotAxis* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotAxisPtr Null => new ImPlotAxisPtr(null); + + public ImPlotAxis this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotAxisPtr(ImPlotAxis* handle) => new ImPlotAxisPtr(handle); + + public static implicit operator ImPlotAxis*(ImPlotAxisPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotAxisPtr left, ImPlotAxisPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotAxisPtr left, ImPlotAxisPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotAxisPtr left, ImPlotAxis* right) => left.Handle == right; + + public static bool operator !=(ImPlotAxisPtr left, ImPlotAxis* right) => left.Handle != right; + + public bool Equals(ImPlotAxisPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotAxisPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotAxisPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImPlotAxisFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImPlotAxisFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); + /// + /// To be documented. + /// + public ref ImPlotRange Range => ref Unsafe.AsRef(&Handle->Range); + /// + /// To be documented. + /// + public ref ImPlotCond RangeCond => ref Unsafe.AsRef(&Handle->RangeCond); + /// + /// To be documented. + /// + public ref ImPlotScale Scale => ref Unsafe.AsRef(&Handle->Scale); + /// + /// To be documented. + /// + public ref ImPlotRange FitExtents => ref Unsafe.AsRef(&Handle->FitExtents); + /// + /// To be documented. + /// + public ref ImPlotAxisPtr OrthoAxis => ref Unsafe.AsRef(&Handle->OrthoAxis); + /// + /// To be documented. + /// + public ref ImPlotRange ConstraintRange => ref Unsafe.AsRef(&Handle->ConstraintRange); + /// + /// To be documented. + /// + public ref ImPlotRange ConstraintZoom => ref Unsafe.AsRef(&Handle->ConstraintZoom); + /// + /// To be documented. + /// + public ref ImPlotTicker Ticker => ref Unsafe.AsRef(&Handle->Ticker); + /// + /// To be documented. + /// + public void* Formatter { get => Handle->Formatter; set => Handle->Formatter = value; } + /// + /// To be documented. + /// + public void* FormatterData { get => Handle->FormatterData; set => Handle->FormatterData = value; } + /// + /// To be documented. + /// + public unsafe Span FormatSpec + + { + get + { + return new Span(&Handle->FormatSpec_0, 16); + } + } + /// + /// To be documented. + /// + public void* Locator { get => Handle->Locator; set => Handle->Locator = value; } + /// + /// To be documented. + /// + public double* LinkedMin { get => Handle->LinkedMin; set => Handle->LinkedMin = value; } + /// + /// To be documented. + /// + public double* LinkedMax { get => Handle->LinkedMax; set => Handle->LinkedMax = value; } + /// + /// To be documented. + /// + public ref int PickerLevel => ref Unsafe.AsRef(&Handle->PickerLevel); + /// + /// To be documented. + /// + public ref ImPlotTime PickerTimeMin => ref Unsafe.AsRef(&Handle->PickerTimeMin); + /// + /// To be documented. + /// + public ref ImPlotTime PickerTimeMax => ref Unsafe.AsRef(&Handle->PickerTimeMax); + /// + /// To be documented. + /// + public void* TransformForward { get => Handle->TransformForward; set => Handle->TransformForward = value; } + /// + /// To be documented. + /// + public void* TransformInverse { get => Handle->TransformInverse; set => Handle->TransformInverse = value; } + /// + /// To be documented. + /// + public void* TransformData { get => Handle->TransformData; set => Handle->TransformData = value; } + /// + /// To be documented. + /// + public ref float PixelMin => ref Unsafe.AsRef(&Handle->PixelMin); + /// + /// To be documented. + /// + public ref float PixelMax => ref Unsafe.AsRef(&Handle->PixelMax); + /// + /// To be documented. + /// + public ref double ScaleMin => ref Unsafe.AsRef(&Handle->ScaleMin); + /// + /// To be documented. + /// + public ref double ScaleMax => ref Unsafe.AsRef(&Handle->ScaleMax); + /// + /// To be documented. + /// + public ref double ScaleToPixel => ref Unsafe.AsRef(&Handle->ScaleToPixel); + /// + /// To be documented. + /// + public ref float Datum1 => ref Unsafe.AsRef(&Handle->Datum1); + /// + /// To be documented. + /// + public ref float Datum2 => ref Unsafe.AsRef(&Handle->Datum2); + /// + /// To be documented. + /// + public ref ImRect HoverRect => ref Unsafe.AsRef(&Handle->HoverRect); + /// + /// To be documented. + /// + public ref int LabelOffset => ref Unsafe.AsRef(&Handle->LabelOffset); + /// + /// To be documented. + /// + public ref uint ColorMaj => ref Unsafe.AsRef(&Handle->ColorMaj); + /// + /// To be documented. + /// + public ref uint ColorMin => ref Unsafe.AsRef(&Handle->ColorMin); + /// + /// To be documented. + /// + public ref uint ColorTick => ref Unsafe.AsRef(&Handle->ColorTick); + /// + /// To be documented. + /// + public ref uint ColorTxt => ref Unsafe.AsRef(&Handle->ColorTxt); + /// + /// To be documented. + /// + public ref uint ColorBg => ref Unsafe.AsRef(&Handle->ColorBg); + /// + /// To be documented. + /// + public ref uint ColorHov => ref Unsafe.AsRef(&Handle->ColorHov); + /// + /// To be documented. + /// + public ref uint ColorAct => ref Unsafe.AsRef(&Handle->ColorAct); + /// + /// To be documented. + /// + public ref uint ColorHiLi => ref Unsafe.AsRef(&Handle->ColorHiLi); + /// + /// To be documented. + /// + public ref bool Enabled => ref Unsafe.AsRef(&Handle->Enabled); + /// + /// To be documented. + /// + public ref bool Vertical => ref Unsafe.AsRef(&Handle->Vertical); + /// + /// To be documented. + /// + public ref bool FitThisFrame => ref Unsafe.AsRef(&Handle->FitThisFrame); + /// + /// To be documented. + /// + public ref bool HasRange => ref Unsafe.AsRef(&Handle->HasRange); + /// + /// To be documented. + /// + public ref bool HasFormatSpec => ref Unsafe.AsRef(&Handle->HasFormatSpec); + /// + /// To be documented. + /// + public ref bool ShowDefaultTicks => ref Unsafe.AsRef(&Handle->ShowDefaultTicks); + /// + /// To be documented. + /// + public ref bool Hovered => ref Unsafe.AsRef(&Handle->Hovered); + /// + /// To be documented. + /// + public ref bool Held => ref Unsafe.AsRef(&Handle->Held); + /// + /// To be documented. + /// + public unsafe void ApplyFit(float padding) + { + ImPlot.ApplyFitNative(Handle, padding); + } + + /// + /// To be documented. + /// + public unsafe bool CanInitFit() + { + byte ret = ImPlot.CanInitFitNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void Constrain() + { + ImPlot.ConstrainNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void ExtendFit(double v) + { + ImPlot.ExtendFitNative(Handle, v); + } + + /// + /// To be documented. + /// + public unsafe void ExtendFitWith(ImPlotAxis* alt, double v, double vAlt) + { + ImPlot.ExtendFitWithNative(Handle, alt, v, vAlt); + } + + /// + /// To be documented. + /// + public unsafe void ExtendFitWith(ref ImPlotAxis alt, double v, double vAlt) + { + fixed (ImPlotAxis* palt = &alt) + { + ImPlot.ExtendFitWithNative(Handle, (ImPlotAxis*)palt, v, vAlt); + } + } + + /// + /// To be documented. + /// + public unsafe double GetAspect() + { + double ret = ImPlot.GetAspectNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool HasGridLines() + { + byte ret = ImPlot.HasGridLinesNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool HasLabel() + { + byte ret = ImPlot.HasLabelNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool HasMenus() + { + byte ret = ImPlot.HasMenusNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool HasTickLabels() + { + byte ret = ImPlot.HasTickLabelsNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool HasTickMarks() + { + byte ret = ImPlot.HasTickMarksNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsAutoFitting() + { + byte ret = ImPlot.IsAutoFittingNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsForeground() + { + byte ret = ImPlot.IsForegroundNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLocked() + { + byte ret = ImPlot.IsInputLockedNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLockedMax() + { + byte ret = ImPlot.IsInputLockedMaxNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLockedMin() + { + byte ret = ImPlot.IsInputLockedMinNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsInverted() + { + byte ret = ImPlot.IsInvertedNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsLocked() + { + byte ret = ImPlot.IsLockedNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsLockedMax() + { + byte ret = ImPlot.IsLockedMaxNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsLockedMin() + { + byte ret = ImPlot.IsLockedMinNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsOpposite() + { + byte ret = ImPlot.IsOppositeNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsPanLocked(bool increasing) + { + byte ret = ImPlot.IsPanLockedNative(Handle, increasing ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsRangeLocked() + { + byte ret = ImPlot.IsRangeLockedNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe float PixelSize() + { + float ret = ImPlot.PixelSizeNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe double PixelsToPlot(float pix) + { + double ret = ImPlot.PixelsToPlotNative(Handle, pix); + return ret; + } + + /// + /// To be documented. + /// + public unsafe float PlotToPixels(double plt) + { + float ret = ImPlot.PlotToPixelsNative(Handle, plt); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void PullLinks() + { + ImPlot.PullLinksNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void PushLinks() + { + ImPlot.PushLinksNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void SetAspect(double unitPerPix) + { + ImPlot.SetAspectNative(Handle, unitPerPix); + } + + /// + /// To be documented. + /// + public unsafe bool SetMax(double max, bool force) + { + byte ret = ImPlot.SetMaxNative(Handle, max, force ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool SetMax(double max) + { + byte ret = ImPlot.SetMaxNative(Handle, max, (byte)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool SetMin(double min, bool force) + { + byte ret = ImPlot.SetMinNative(Handle, min, force ? (byte)1 : (byte)0); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool SetMin(double min) + { + byte ret = ImPlot.SetMinNative(Handle, min, (byte)(0)); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void SetRange(double v1, double v2) + { + ImPlot.SetRangeNative(Handle, v1, v2); + } + + /// + /// To be documented. + /// + public unsafe void SetRange(ImPlotRange range) + { + ImPlot.SetRangeNative(Handle, range); + } + + /// + /// To be documented. + /// + public unsafe void UpdateTransformCache() + { + ImPlot.UpdateTransformCacheNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe bool WillRender() + { + byte ret = ImPlot.WillRenderNative(Handle); + return ret != 0; + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAxisColor.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAxisColor.cs new file mode 100644 index 000000000..182a908a2 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotAxisColor.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotAxisColor + { + + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotColormapData.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotColormapData.cs new file mode 100644 index 000000000..3a88cc0ae --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotColormapData.cs @@ -0,0 +1,914 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotColormapData + { + /// + /// To be documented. + /// + public ImVector Keys; + + /// + /// To be documented. + /// + public ImVector KeyCounts; + + /// + /// To be documented. + /// + public ImVector KeyOffsets; + + /// + /// To be documented. + /// + public ImVector Tables; + + /// + /// To be documented. + /// + public ImVector TableSizes; + + /// + /// To be documented. + /// + public ImVector TableOffsets; + + /// + /// To be documented. + /// + public ImGuiTextBuffer Text; + + /// + /// To be documented. + /// + public ImVector TextOffsets; + + /// + /// To be documented. + /// + public ImVector Quals; + + /// + /// To be documented. + /// + public ImGuiStorage Map; + + /// + /// To be documented. + /// + public int Count; + + + /// + /// To be documented. + /// + public unsafe ImPlotColormapData(ImVector keys = default, ImVector keyCounts = default, ImVector keyOffsets = default, ImVector tables = default, ImVector tableSizes = default, ImVector tableOffsets = default, ImGuiTextBuffer text = default, ImVector textOffsets = default, ImVector quals = default, ImGuiStorage map = default, int count = default) + { + Keys = keys; + KeyCounts = keyCounts; + KeyOffsets = keyOffsets; + Tables = tables; + TableSizes = tableSizes; + TableOffsets = tableOffsets; + Text = text; + TextOffsets = textOffsets; + Quals = quals; + Map = map; + Count = count; + } + + + /// + /// To be documented. + /// + public unsafe void _AppendTable(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + ImPlot._AppendTableNative(@this, cmap); + } + } + + /// + /// To be documented. + /// + public unsafe int Append(byte* name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + int ret = ImPlot.AppendNative(@this, name, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int Append(ref byte name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + fixed (byte* pname = &name) + { + int ret = ImPlot.AppendNative(@this, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int Append(ReadOnlySpan name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + fixed (byte* pname = name) + { + int ret = ImPlot.AppendNative(@this, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int Append(string name, uint* keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + int ret = ImPlot.AppendNative(@this, pStr0, keys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int Append(byte* name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(@this, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int Append(ref byte name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + fixed (byte* pname = &name) + { + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(@this, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe int Append(ReadOnlySpan name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + fixed (byte* pname = name) + { + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(@this, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + } + + /// + /// To be documented. + /// + public unsafe int Append(string name, ref uint keys, int count, bool qual) + { + fixed (ImPlotColormapData* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(@this, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotColormapData* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(byte* name) + { + fixed (ImPlotColormapData* @this = &this) + { + ImPlotColormap ret = ImPlot.GetIndexNative(@this, name); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(ref byte name) + { + fixed (ImPlotColormapData* @this = &this) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = ImPlot.GetIndexNative(@this, (byte*)pname); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(ReadOnlySpan name) + { + fixed (ImPlotColormapData* @this = &this) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = ImPlot.GetIndexNative(@this, (byte*)pname); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(string name) + { + fixed (ImPlotColormapData* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = ImPlot.GetIndexNative(@this, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint GetKeyColor(ImPlotColormap cmap, int idx) + { + fixed (ImPlotColormapData* @this = &this) + { + uint ret = ImPlot.GetKeyColorNative(@this, cmap, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetKeyCount(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + int ret = ImPlot.GetKeyCountNative(@this, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint* GetKeys(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + uint* ret = ImPlot.GetKeysNative(@this, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetName(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + byte* ret = ImPlot.GetNameNative(@this, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetNameS(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetNameNative(@this, cmap)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint* GetTable(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + uint* ret = ImPlot.GetTableNative(@this, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint GetTableColor(ImPlotColormap cmap, int idx) + { + fixed (ImPlotColormapData* @this = &this) + { + uint ret = ImPlot.GetTableColorNative(@this, cmap, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetTableSize(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + int ret = ImPlot.GetTableSizeNative(@this, cmap); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsQual(ImPlotColormap cmap) + { + fixed (ImPlotColormapData* @this = &this) + { + byte ret = ImPlot.IsQualNative(@this, cmap); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe uint LerpTable(ImPlotColormap cmap, float t) + { + fixed (ImPlotColormapData* @this = &this) + { + uint ret = ImPlot.LerpTableNative(@this, cmap, t); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void RebuildTables() + { + fixed (ImPlotColormapData* @this = &this) + { + ImPlot.RebuildTablesNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void SetKeyColor(ImPlotColormap cmap, int idx, uint value) + { + fixed (ImPlotColormapData* @this = &this) + { + ImPlot.SetKeyColorNative(@this, cmap, idx, value); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotColormapDataPtr : IEquatable + { + public ImPlotColormapDataPtr(ImPlotColormapData* handle) { Handle = handle; } + + public ImPlotColormapData* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotColormapDataPtr Null => new ImPlotColormapDataPtr(null); + + public ImPlotColormapData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotColormapDataPtr(ImPlotColormapData* handle) => new ImPlotColormapDataPtr(handle); + + public static implicit operator ImPlotColormapData*(ImPlotColormapDataPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotColormapDataPtr left, ImPlotColormapDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotColormapDataPtr left, ImPlotColormapDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotColormapDataPtr left, ImPlotColormapData* right) => left.Handle == right; + + public static bool operator !=(ImPlotColormapDataPtr left, ImPlotColormapData* right) => left.Handle != right; + + public bool Equals(ImPlotColormapDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotColormapDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotColormapDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Keys => ref Unsafe.AsRef>(&Handle->Keys); + /// + /// To be documented. + /// + public ref ImVector KeyCounts => ref Unsafe.AsRef>(&Handle->KeyCounts); + /// + /// To be documented. + /// + public ref ImVector KeyOffsets => ref Unsafe.AsRef>(&Handle->KeyOffsets); + /// + /// To be documented. + /// + public ref ImVector Tables => ref Unsafe.AsRef>(&Handle->Tables); + /// + /// To be documented. + /// + public ref ImVector TableSizes => ref Unsafe.AsRef>(&Handle->TableSizes); + /// + /// To be documented. + /// + public ref ImVector TableOffsets => ref Unsafe.AsRef>(&Handle->TableOffsets); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer Text => ref Unsafe.AsRef(&Handle->Text); + /// + /// To be documented. + /// + public ref ImVector TextOffsets => ref Unsafe.AsRef>(&Handle->TextOffsets); + /// + /// To be documented. + /// + public ref ImVector Quals => ref Unsafe.AsRef>(&Handle->Quals); + /// + /// To be documented. + /// + public ref ImGuiStorage Map => ref Unsafe.AsRef(&Handle->Map); + /// + /// To be documented. + /// + public ref int Count => ref Unsafe.AsRef(&Handle->Count); + /// + /// To be documented. + /// + public unsafe void _AppendTable(ImPlotColormap cmap) + { + ImPlot._AppendTableNative(Handle, cmap); + } + + /// + /// To be documented. + /// + public unsafe int Append(byte* name, uint* keys, int count, bool qual) + { + int ret = ImPlot.AppendNative(Handle, name, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int Append(ref byte name, uint* keys, int count, bool qual) + { + fixed (byte* pname = &name) + { + int ret = ImPlot.AppendNative(Handle, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int Append(ReadOnlySpan name, uint* keys, int count, bool qual) + { + fixed (byte* pname = name) + { + int ret = ImPlot.AppendNative(Handle, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int Append(string name, uint* keys, int count, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + int ret = ImPlot.AppendNative(Handle, pStr0, keys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe int Append(byte* name, ref uint keys, int count, bool qual) + { + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(Handle, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int Append(ref byte name, ref uint keys, int count, bool qual) + { + fixed (byte* pname = &name) + { + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(Handle, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int Append(ReadOnlySpan name, ref uint keys, int count, bool qual) + { + fixed (byte* pname = name) + { + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(Handle, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int Append(string name, ref uint keys, int count, bool qual) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + fixed (uint* pkeys = &keys) + { + int ret = ImPlot.AppendNative(Handle, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(byte* name) + { + ImPlotColormap ret = ImPlot.GetIndexNative(Handle, name); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(ref byte name) + { + fixed (byte* pname = &name) + { + ImPlotColormap ret = ImPlot.GetIndexNative(Handle, (byte*)pname); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(ReadOnlySpan name) + { + fixed (byte* pname = name) + { + ImPlotColormap ret = ImPlot.GetIndexNative(Handle, (byte*)pname); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotColormap GetIndex(string name) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (name != null) + { + pStrSize0 = Utils.GetByteCountUTF8(name); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotColormap ret = ImPlot.GetIndexNative(Handle, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe uint GetKeyColor(ImPlotColormap cmap, int idx) + { + uint ret = ImPlot.GetKeyColorNative(Handle, cmap, idx); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int GetKeyCount(ImPlotColormap cmap) + { + int ret = ImPlot.GetKeyCountNative(Handle, cmap); + return ret; + } + + /// + /// To be documented. + /// + public unsafe uint* GetKeys(ImPlotColormap cmap) + { + uint* ret = ImPlot.GetKeysNative(Handle, cmap); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* GetName(ImPlotColormap cmap) + { + byte* ret = ImPlot.GetNameNative(Handle, cmap); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetNameS(ImPlotColormap cmap) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetNameNative(Handle, cmap)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe uint* GetTable(ImPlotColormap cmap) + { + uint* ret = ImPlot.GetTableNative(Handle, cmap); + return ret; + } + + /// + /// To be documented. + /// + public unsafe uint GetTableColor(ImPlotColormap cmap, int idx) + { + uint ret = ImPlot.GetTableColorNative(Handle, cmap, idx); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int GetTableSize(ImPlotColormap cmap) + { + int ret = ImPlot.GetTableSizeNative(Handle, cmap); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool IsQual(ImPlotColormap cmap) + { + byte ret = ImPlot.IsQualNative(Handle, cmap); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe uint LerpTable(ImPlotColormap cmap, float t) + { + uint ret = ImPlot.LerpTableNative(Handle, cmap, t); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void RebuildTables() + { + ImPlot.RebuildTablesNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void SetKeyColor(ImPlotColormap cmap, int idx, uint value) + { + ImPlot.SetKeyColorNative(Handle, cmap, idx, value); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotContext.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotContext.cs new file mode 100644 index 000000000..57327f126 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotContext.cs @@ -0,0 +1,380 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotContext + { + /// + /// To be documented. + /// + public ImPoolImPlotPlot Plots; + + /// + /// To be documented. + /// + public ImPoolImPlotSubplot Subplots; + + /// + /// To be documented. + /// + public unsafe ImPlotPlot* CurrentPlot; + + /// + /// To be documented. + /// + public unsafe ImPlotSubplot* CurrentSubplot; + + /// + /// To be documented. + /// + public unsafe ImPlotItemGroup* CurrentItems; + + /// + /// To be documented. + /// + public unsafe ImPlotItem* CurrentItem; + + /// + /// To be documented. + /// + public unsafe ImPlotItem* PreviousItem; + + /// + /// To be documented. + /// + public ImPlotTicker CTicker; + + /// + /// To be documented. + /// + public ImPlotAnnotationCollection Annotations; + + /// + /// To be documented. + /// + public ImPlotTagCollection Tags; + + /// + /// To be documented. + /// + public byte ChildWindowMade; + + /// + /// To be documented. + /// + public ImPlotStyle Style; + + /// + /// To be documented. + /// + public ImVector ColorModifiers; + + /// + /// To be documented. + /// + public ImVector StyleModifiers; + + /// + /// To be documented. + /// + public ImPlotColormapData ColormapData; + + /// + /// To be documented. + /// + public ImVector ColormapModifiers; + + /// + /// To be documented. + /// + public Tm Tm; + + /// + /// To be documented. + /// + public ImVector TempDouble1; + + /// + /// To be documented. + /// + public ImVector TempDouble2; + + /// + /// To be documented. + /// + public ImVector TempInt1; + + /// + /// To be documented. + /// + public int DigitalPlotItemCnt; + + /// + /// To be documented. + /// + public int DigitalPlotOffset; + + /// + /// To be documented. + /// + public ImPlotNextPlotData NextPlotData; + + /// + /// To be documented. + /// + public ImPlotNextItemData NextItemData; + + /// + /// To be documented. + /// + public ImPlotInputMap InputMap; + + /// + /// To be documented. + /// + public byte OpenContextThisFrame; + + /// + /// To be documented. + /// + public ImGuiTextBuffer MousePosStringBuilder; + + /// + /// To be documented. + /// + public ImPoolImPlotAlignmentData AlignmentData; + + /// + /// To be documented. + /// + public unsafe ImPlotAlignmentData* CurrentAlignmentH; + + /// + /// To be documented. + /// + public unsafe ImPlotAlignmentData* CurrentAlignmentV; + + + /// + /// To be documented. + /// + public unsafe ImPlotContext(ImPoolImPlotPlot plots = default, ImPoolImPlotSubplot subplots = default, ImPlotPlot* currentPlot = default, ImPlotSubplot* currentSubplot = default, ImPlotItemGroup* currentItems = default, ImPlotItem* currentItem = default, ImPlotItem* previousItem = default, ImPlotTicker cTicker = default, ImPlotAnnotationCollection annotations = default, ImPlotTagCollection tags = default, bool childWindowMade = default, ImPlotStyle style = default, ImVector colorModifiers = default, ImVector styleModifiers = default, ImPlotColormapData colormapData = default, ImVector colormapModifiers = default, Tm tm = default, ImVector tempDouble1 = default, ImVector tempDouble2 = default, ImVector tempInt1 = default, int digitalPlotItemCnt = default, int digitalPlotOffset = default, ImPlotNextPlotData nextPlotData = default, ImPlotNextItemData nextItemData = default, ImPlotInputMap inputMap = default, bool openContextThisFrame = default, ImGuiTextBuffer mousePosStringBuilder = default, ImPoolImPlotAlignmentData alignmentData = default, ImPlotAlignmentData* currentAlignmentH = default, ImPlotAlignmentData* currentAlignmentV = default) + { + Plots = plots; + Subplots = subplots; + CurrentPlot = currentPlot; + CurrentSubplot = currentSubplot; + CurrentItems = currentItems; + CurrentItem = currentItem; + PreviousItem = previousItem; + CTicker = cTicker; + Annotations = annotations; + Tags = tags; + ChildWindowMade = childWindowMade ? (byte)1 : (byte)0; + Style = style; + ColorModifiers = colorModifiers; + StyleModifiers = styleModifiers; + ColormapData = colormapData; + ColormapModifiers = colormapModifiers; + Tm = tm; + TempDouble1 = tempDouble1; + TempDouble2 = tempDouble2; + TempInt1 = tempInt1; + DigitalPlotItemCnt = digitalPlotItemCnt; + DigitalPlotOffset = digitalPlotOffset; + NextPlotData = nextPlotData; + NextItemData = nextItemData; + InputMap = inputMap; + OpenContextThisFrame = openContextThisFrame ? (byte)1 : (byte)0; + MousePosStringBuilder = mousePosStringBuilder; + AlignmentData = alignmentData; + CurrentAlignmentH = currentAlignmentH; + CurrentAlignmentV = currentAlignmentV; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotContextPtr : IEquatable + { + public ImPlotContextPtr(ImPlotContext* handle) { Handle = handle; } + + public ImPlotContext* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotContextPtr Null => new ImPlotContextPtr(null); + + public ImPlotContext this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotContextPtr(ImPlotContext* handle) => new ImPlotContextPtr(handle); + + public static implicit operator ImPlotContext*(ImPlotContextPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotContextPtr left, ImPlotContextPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotContextPtr left, ImPlotContextPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotContextPtr left, ImPlotContext* right) => left.Handle == right; + + public static bool operator !=(ImPlotContextPtr left, ImPlotContext* right) => left.Handle != right; + + public bool Equals(ImPlotContextPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotContextPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImPoolImPlotPlot Plots => ref Unsafe.AsRef(&Handle->Plots); + /// + /// To be documented. + /// + public ref ImPoolImPlotSubplot Subplots => ref Unsafe.AsRef(&Handle->Subplots); + /// + /// To be documented. + /// + public ref ImPlotPlotPtr CurrentPlot => ref Unsafe.AsRef(&Handle->CurrentPlot); + /// + /// To be documented. + /// + public ref ImPlotSubplotPtr CurrentSubplot => ref Unsafe.AsRef(&Handle->CurrentSubplot); + /// + /// To be documented. + /// + public ref ImPlotItemGroupPtr CurrentItems => ref Unsafe.AsRef(&Handle->CurrentItems); + /// + /// To be documented. + /// + public ref ImPlotItemPtr CurrentItem => ref Unsafe.AsRef(&Handle->CurrentItem); + /// + /// To be documented. + /// + public ref ImPlotItemPtr PreviousItem => ref Unsafe.AsRef(&Handle->PreviousItem); + /// + /// To be documented. + /// + public ref ImPlotTicker CTicker => ref Unsafe.AsRef(&Handle->CTicker); + /// + /// To be documented. + /// + public ref ImPlotAnnotationCollection Annotations => ref Unsafe.AsRef(&Handle->Annotations); + /// + /// To be documented. + /// + public ref ImPlotTagCollection Tags => ref Unsafe.AsRef(&Handle->Tags); + /// + /// To be documented. + /// + public ref bool ChildWindowMade => ref Unsafe.AsRef(&Handle->ChildWindowMade); + /// + /// To be documented. + /// + public ref ImPlotStyle Style => ref Unsafe.AsRef(&Handle->Style); + /// + /// To be documented. + /// + public ref ImVector ColorModifiers => ref Unsafe.AsRef>(&Handle->ColorModifiers); + /// + /// To be documented. + /// + public ref ImVector StyleModifiers => ref Unsafe.AsRef>(&Handle->StyleModifiers); + /// + /// To be documented. + /// + public ref ImPlotColormapData ColormapData => ref Unsafe.AsRef(&Handle->ColormapData); + /// + /// To be documented. + /// + public ref ImVector ColormapModifiers => ref Unsafe.AsRef>(&Handle->ColormapModifiers); + /// + /// To be documented. + /// + public ref Tm Tm => ref Unsafe.AsRef(&Handle->Tm); + /// + /// To be documented. + /// + public ref ImVector TempDouble1 => ref Unsafe.AsRef>(&Handle->TempDouble1); + /// + /// To be documented. + /// + public ref ImVector TempDouble2 => ref Unsafe.AsRef>(&Handle->TempDouble2); + /// + /// To be documented. + /// + public ref ImVector TempInt1 => ref Unsafe.AsRef>(&Handle->TempInt1); + /// + /// To be documented. + /// + public ref int DigitalPlotItemCnt => ref Unsafe.AsRef(&Handle->DigitalPlotItemCnt); + /// + /// To be documented. + /// + public ref int DigitalPlotOffset => ref Unsafe.AsRef(&Handle->DigitalPlotOffset); + /// + /// To be documented. + /// + public ref ImPlotNextPlotData NextPlotData => ref Unsafe.AsRef(&Handle->NextPlotData); + /// + /// To be documented. + /// + public ref ImPlotNextItemData NextItemData => ref Unsafe.AsRef(&Handle->NextItemData); + /// + /// To be documented. + /// + public ref ImPlotInputMap InputMap => ref Unsafe.AsRef(&Handle->InputMap); + /// + /// To be documented. + /// + public ref bool OpenContextThisFrame => ref Unsafe.AsRef(&Handle->OpenContextThisFrame); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer MousePosStringBuilder => ref Unsafe.AsRef(&Handle->MousePosStringBuilder); + /// + /// To be documented. + /// + public ref ImPoolImPlotAlignmentData AlignmentData => ref Unsafe.AsRef(&Handle->AlignmentData); + /// + /// To be documented. + /// + public ref ImPlotAlignmentDataPtr CurrentAlignmentH => ref Unsafe.AsRef(&Handle->CurrentAlignmentH); + /// + /// To be documented. + /// + public ref ImPlotAlignmentDataPtr CurrentAlignmentV => ref Unsafe.AsRef(&Handle->CurrentAlignmentV); + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotDateTimeSpec.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotDateTimeSpec.cs new file mode 100644 index 000000000..a46916cb4 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotDateTimeSpec.cs @@ -0,0 +1,139 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotDateTimeSpec + { + /// + /// To be documented. + /// + public ImPlotDateFmt Date; + + /// + /// To be documented. + /// + public ImPlotTimeFmt Time; + + /// + /// To be documented. + /// + public byte UseISO8601; + + /// + /// To be documented. + /// + public byte Use24HourClock; + + + /// + /// To be documented. + /// + public unsafe ImPlotDateTimeSpec(ImPlotDateFmt date = default, ImPlotTimeFmt time = default, bool useIso8601 = default, bool use24HourClock = default) + { + Date = date; + Time = time; + UseISO8601 = useIso8601 ? (byte)1 : (byte)0; + Use24HourClock = use24HourClock ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotDateTimeSpec* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotDateTimeSpecPtr : IEquatable + { + public ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* handle) { Handle = handle; } + + public ImPlotDateTimeSpec* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotDateTimeSpecPtr Null => new ImPlotDateTimeSpecPtr(null); + + public ImPlotDateTimeSpec this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* handle) => new ImPlotDateTimeSpecPtr(handle); + + public static implicit operator ImPlotDateTimeSpec*(ImPlotDateTimeSpecPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpecPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpecPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpec* right) => left.Handle == right; + + public static bool operator !=(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpec* right) => left.Handle != right; + + public bool Equals(ImPlotDateTimeSpecPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotDateTimeSpecPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotDateTimeSpecPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImPlotDateFmt Date => ref Unsafe.AsRef(&Handle->Date); + /// + /// To be documented. + /// + public ref ImPlotTimeFmt Time => ref Unsafe.AsRef(&Handle->Time); + /// + /// To be documented. + /// + public ref bool UseISO8601 => ref Unsafe.AsRef(&Handle->UseISO8601); + /// + /// To be documented. + /// + public ref bool Use24HourClock => ref Unsafe.AsRef(&Handle->Use24HourClock); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotInputMap.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotInputMap.cs new file mode 100644 index 000000000..661b8fe19 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotInputMap.cs @@ -0,0 +1,219 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotInputMap + { + /// + /// To be documented. + /// + public ImGuiMouseButton Pan; + + /// + /// To be documented. + /// + public ImGuiModFlags PanMod; + + /// + /// To be documented. + /// + public ImGuiMouseButton Fit; + + /// + /// To be documented. + /// + public ImGuiMouseButton Select; + + /// + /// To be documented. + /// + public ImGuiMouseButton SelectCancel; + + /// + /// To be documented. + /// + public ImGuiModFlags SelectMod; + + /// + /// To be documented. + /// + public ImGuiModFlags SelectHorzMod; + + /// + /// To be documented. + /// + public ImGuiModFlags SelectVertMod; + + /// + /// To be documented. + /// + public ImGuiMouseButton Menu; + + /// + /// To be documented. + /// + public ImGuiModFlags OverrideMod; + + /// + /// To be documented. + /// + public ImGuiModFlags ZoomMod; + + /// + /// To be documented. + /// + public float ZoomRate; + + + /// + /// To be documented. + /// + public unsafe ImPlotInputMap(ImGuiMouseButton pan = default, ImGuiModFlags panMod = default, ImGuiMouseButton fit = default, ImGuiMouseButton select = default, ImGuiMouseButton selectCancel = default, ImGuiModFlags selectMod = default, ImGuiModFlags selectHorzMod = default, ImGuiModFlags selectVertMod = default, ImGuiMouseButton menu = default, ImGuiModFlags overrideMod = default, ImGuiModFlags zoomMod = default, float zoomRate = default) + { + Pan = pan; + PanMod = panMod; + Fit = fit; + Select = select; + SelectCancel = selectCancel; + SelectMod = selectMod; + SelectHorzMod = selectHorzMod; + SelectVertMod = selectVertMod; + Menu = menu; + OverrideMod = overrideMod; + ZoomMod = zoomMod; + ZoomRate = zoomRate; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotInputMap* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotInputMapPtr : IEquatable + { + public ImPlotInputMapPtr(ImPlotInputMap* handle) { Handle = handle; } + + public ImPlotInputMap* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotInputMapPtr Null => new ImPlotInputMapPtr(null); + + public ImPlotInputMap this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotInputMapPtr(ImPlotInputMap* handle) => new ImPlotInputMapPtr(handle); + + public static implicit operator ImPlotInputMap*(ImPlotInputMapPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotInputMapPtr left, ImPlotInputMapPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotInputMapPtr left, ImPlotInputMapPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotInputMapPtr left, ImPlotInputMap* right) => left.Handle == right; + + public static bool operator !=(ImPlotInputMapPtr left, ImPlotInputMap* right) => left.Handle != right; + + public bool Equals(ImPlotInputMapPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotInputMapPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotInputMapPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImGuiMouseButton Pan => ref Unsafe.AsRef(&Handle->Pan); + /// + /// To be documented. + /// + public ref ImGuiModFlags PanMod => ref Unsafe.AsRef(&Handle->PanMod); + /// + /// To be documented. + /// + public ref ImGuiMouseButton Fit => ref Unsafe.AsRef(&Handle->Fit); + /// + /// To be documented. + /// + public ref ImGuiMouseButton Select => ref Unsafe.AsRef(&Handle->Select); + /// + /// To be documented. + /// + public ref ImGuiMouseButton SelectCancel => ref Unsafe.AsRef(&Handle->SelectCancel); + /// + /// To be documented. + /// + public ref ImGuiModFlags SelectMod => ref Unsafe.AsRef(&Handle->SelectMod); + /// + /// To be documented. + /// + public ref ImGuiModFlags SelectHorzMod => ref Unsafe.AsRef(&Handle->SelectHorzMod); + /// + /// To be documented. + /// + public ref ImGuiModFlags SelectVertMod => ref Unsafe.AsRef(&Handle->SelectVertMod); + /// + /// To be documented. + /// + public ref ImGuiMouseButton Menu => ref Unsafe.AsRef(&Handle->Menu); + /// + /// To be documented. + /// + public ref ImGuiModFlags OverrideMod => ref Unsafe.AsRef(&Handle->OverrideMod); + /// + /// To be documented. + /// + public ref ImGuiModFlags ZoomMod => ref Unsafe.AsRef(&Handle->ZoomMod); + /// + /// To be documented. + /// + public ref float ZoomRate => ref Unsafe.AsRef(&Handle->ZoomRate); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotItem.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotItem.cs new file mode 100644 index 000000000..c653a62a6 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotItem.cs @@ -0,0 +1,169 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotItem + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public uint Color; + + /// + /// To be documented. + /// + public ImRect LegendHoverRect; + + /// + /// To be documented. + /// + public int NameOffset; + + /// + /// To be documented. + /// + public byte Show; + + /// + /// To be documented. + /// + public byte LegendHovered; + + /// + /// To be documented. + /// + public byte SeenThisFrame; + + + /// + /// To be documented. + /// + public unsafe ImPlotItem(uint id = default, uint color = default, ImRect legendHoverRect = default, int nameOffset = default, bool show = default, bool legendHovered = default, bool seenThisFrame = default) + { + ID = id; + Color = color; + LegendHoverRect = legendHoverRect; + NameOffset = nameOffset; + Show = show ? (byte)1 : (byte)0; + LegendHovered = legendHovered ? (byte)1 : (byte)0; + SeenThisFrame = seenThisFrame ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotItem* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotItemPtr : IEquatable + { + public ImPlotItemPtr(ImPlotItem* handle) { Handle = handle; } + + public ImPlotItem* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotItemPtr Null => new ImPlotItemPtr(null); + + public ImPlotItem this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotItemPtr(ImPlotItem* handle) => new ImPlotItemPtr(handle); + + public static implicit operator ImPlotItem*(ImPlotItemPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotItemPtr left, ImPlotItemPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotItemPtr left, ImPlotItemPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotItemPtr left, ImPlotItem* right) => left.Handle == right; + + public static bool operator !=(ImPlotItemPtr left, ImPlotItem* right) => left.Handle != right; + + public bool Equals(ImPlotItemPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotItemPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref uint Color => ref Unsafe.AsRef(&Handle->Color); + /// + /// To be documented. + /// + public ref ImRect LegendHoverRect => ref Unsafe.AsRef(&Handle->LegendHoverRect); + /// + /// To be documented. + /// + public ref int NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); + /// + /// To be documented. + /// + public ref bool Show => ref Unsafe.AsRef(&Handle->Show); + /// + /// To be documented. + /// + public ref bool LegendHovered => ref Unsafe.AsRef(&Handle->LegendHovered); + /// + /// To be documented. + /// + public ref bool SeenThisFrame => ref Unsafe.AsRef(&Handle->SeenThisFrame); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotItemGroup.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotItemGroup.cs new file mode 100644 index 000000000..32109fcc5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotItemGroup.cs @@ -0,0 +1,650 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotItemGroup + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImPlotLegend Legend; + + /// + /// To be documented. + /// + public ImPoolImPlotItem ItemPool; + + /// + /// To be documented. + /// + public int ColormapIdx; + + + /// + /// To be documented. + /// + public unsafe ImPlotItemGroup(uint id = default, ImPlotLegend legend = default, ImPoolImPlotItem itemPool = default, int colormapIdx = default) + { + ID = id; + Legend = legend; + ItemPool = itemPool; + ColormapIdx = colormapIdx; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotItemGroup* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(uint id) + { + fixed (ImPlotItemGroup* @this = &this) + { + ImPlotItem* ret = ImPlot.GetItemNative(@this, id); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(byte* labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + ImPlotItem* ret = ImPlot.GetItemNative(@this, labelId); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(ref byte labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + fixed (byte* plabelId = &labelId) + { + ImPlotItem* ret = ImPlot.GetItemNative(@this, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(ReadOnlySpan labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + fixed (byte* plabelId = labelId) + { + ImPlotItem* ret = ImPlot.GetItemNative(@this, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(string labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotItem* ret = ImPlot.GetItemNative(@this, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItemByIndex(int i) + { + fixed (ImPlotItemGroup* @this = &this) + { + ImPlotItem* ret = ImPlot.GetItemByIndexNative(@this, i); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetItemCount() + { + fixed (ImPlotItemGroup* @this = &this) + { + int ret = ImPlot.GetItemCountNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(byte* labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + uint ret = ImPlot.GetItemIDNative(@this, labelId); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(ref byte labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + fixed (byte* plabelId = &labelId) + { + uint ret = ImPlot.GetItemIDNative(@this, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(ReadOnlySpan labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + fixed (byte* plabelId = labelId) + { + uint ret = ImPlot.GetItemIDNative(@this, (byte*)plabelId); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(string labelId) + { + fixed (ImPlotItemGroup* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = ImPlot.GetItemIDNative(@this, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetItemIndex(ImPlotItem* item) + { + fixed (ImPlotItemGroup* @this = &this) + { + int ret = ImPlot.GetItemIndexNative(@this, item); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetItemIndex(ref ImPlotItem item) + { + fixed (ImPlotItemGroup* @this = &this) + { + fixed (ImPlotItem* pitem = &item) + { + int ret = ImPlot.GetItemIndexNative(@this, (ImPlotItem*)pitem); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe int GetLegendCount() + { + fixed (ImPlotItemGroup* @this = &this) + { + int ret = ImPlot.GetLegendCountNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetLegendItem(int i) + { + fixed (ImPlotItemGroup* @this = &this) + { + ImPlotItem* ret = ImPlot.GetLegendItemNative(@this, i); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetLegendLabel(int i) + { + fixed (ImPlotItemGroup* @this = &this) + { + byte* ret = ImPlot.GetLegendLabelNative(@this, i); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetLegendLabelS(int i) + { + fixed (ImPlotItemGroup* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetLegendLabelNative(@this, i)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetOrAddItem(uint id) + { + fixed (ImPlotItemGroup* @this = &this) + { + ImPlotItem* ret = ImPlot.GetOrAddItemNative(@this, id); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotItemGroup* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotItemGroupPtr : IEquatable + { + public ImPlotItemGroupPtr(ImPlotItemGroup* handle) { Handle = handle; } + + public ImPlotItemGroup* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotItemGroupPtr Null => new ImPlotItemGroupPtr(null); + + public ImPlotItemGroup this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotItemGroupPtr(ImPlotItemGroup* handle) => new ImPlotItemGroupPtr(handle); + + public static implicit operator ImPlotItemGroup*(ImPlotItemGroupPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotItemGroupPtr left, ImPlotItemGroupPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotItemGroupPtr left, ImPlotItemGroupPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotItemGroupPtr left, ImPlotItemGroup* right) => left.Handle == right; + + public static bool operator !=(ImPlotItemGroupPtr left, ImPlotItemGroup* right) => left.Handle != right; + + public bool Equals(ImPlotItemGroupPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotItemGroupPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotItemGroupPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImPlotLegend Legend => ref Unsafe.AsRef(&Handle->Legend); + /// + /// To be documented. + /// + public ref ImPoolImPlotItem ItemPool => ref Unsafe.AsRef(&Handle->ItemPool); + /// + /// To be documented. + /// + public ref int ColormapIdx => ref Unsafe.AsRef(&Handle->ColormapIdx); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(uint id) + { + ImPlotItem* ret = ImPlot.GetItemNative(Handle, id); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(byte* labelId) + { + ImPlotItem* ret = ImPlot.GetItemNative(Handle, labelId); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + ImPlotItem* ret = ImPlot.GetItemNative(Handle, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + ImPlotItem* ret = ImPlot.GetItemNative(Handle, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItem(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotItem* ret = ImPlot.GetItemNative(Handle, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetItemByIndex(int i) + { + ImPlotItem* ret = ImPlot.GetItemByIndexNative(Handle, i); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int GetItemCount() + { + int ret = ImPlot.GetItemCountNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(byte* labelId) + { + uint ret = ImPlot.GetItemIDNative(Handle, labelId); + return ret; + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(ref byte labelId) + { + fixed (byte* plabelId = &labelId) + { + uint ret = ImPlot.GetItemIDNative(Handle, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(ReadOnlySpan labelId) + { + fixed (byte* plabelId = labelId) + { + uint ret = ImPlot.GetItemIDNative(Handle, (byte*)plabelId); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe uint GetItemID(string labelId) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (labelId != null) + { + pStrSize0 = Utils.GetByteCountUTF8(labelId); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + uint ret = ImPlot.GetItemIDNative(Handle, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe int GetItemIndex(ImPlotItem* item) + { + int ret = ImPlot.GetItemIndexNative(Handle, item); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int GetItemIndex(ref ImPlotItem item) + { + fixed (ImPlotItem* pitem = &item) + { + int ret = ImPlot.GetItemIndexNative(Handle, (ImPlotItem*)pitem); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int GetLegendCount() + { + int ret = ImPlot.GetLegendCountNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetLegendItem(int i) + { + ImPlotItem* ret = ImPlot.GetLegendItemNative(Handle, i); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* GetLegendLabel(int i) + { + byte* ret = ImPlot.GetLegendLabelNative(Handle, i); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetLegendLabelS(int i) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetLegendLabelNative(Handle, i)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotItem* GetOrAddItem(uint id) + { + ImPlotItem* ret = ImPlot.GetOrAddItemNative(Handle, id); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotLegend.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotLegend.cs new file mode 100644 index 000000000..7906118e2 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotLegend.cs @@ -0,0 +1,218 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotLegend + { + /// + /// To be documented. + /// + public ImPlotLegendFlags Flags; + + /// + /// To be documented. + /// + public ImPlotLegendFlags PreviousFlags; + + /// + /// To be documented. + /// + public ImPlotLocation Location; + + /// + /// To be documented. + /// + public ImPlotLocation PreviousLocation; + + /// + /// To be documented. + /// + public ImVector Indices; + + /// + /// To be documented. + /// + public ImGuiTextBuffer Labels; + + /// + /// To be documented. + /// + public ImRect Rect; + + /// + /// To be documented. + /// + public byte Hovered; + + /// + /// To be documented. + /// + public byte Held; + + /// + /// To be documented. + /// + public byte CanGoInside; + + + /// + /// To be documented. + /// + public unsafe ImPlotLegend(ImPlotLegendFlags flags = default, ImPlotLegendFlags previousFlags = default, ImPlotLocation location = default, ImPlotLocation previousLocation = default, ImVector indices = default, ImGuiTextBuffer labels = default, ImRect rect = default, bool hovered = default, bool held = default, bool canGoInside = default) + { + Flags = flags; + PreviousFlags = previousFlags; + Location = location; + PreviousLocation = previousLocation; + Indices = indices; + Labels = labels; + Rect = rect; + Hovered = hovered ? (byte)1 : (byte)0; + Held = held ? (byte)1 : (byte)0; + CanGoInside = canGoInside ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotLegend* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotLegend* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotLegendPtr : IEquatable + { + public ImPlotLegendPtr(ImPlotLegend* handle) { Handle = handle; } + + public ImPlotLegend* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotLegendPtr Null => new ImPlotLegendPtr(null); + + public ImPlotLegend this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotLegendPtr(ImPlotLegend* handle) => new ImPlotLegendPtr(handle); + + public static implicit operator ImPlotLegend*(ImPlotLegendPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotLegendPtr left, ImPlotLegendPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotLegendPtr left, ImPlotLegendPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotLegendPtr left, ImPlotLegend* right) => left.Handle == right; + + public static bool operator !=(ImPlotLegendPtr left, ImPlotLegend* right) => left.Handle != right; + + public bool Equals(ImPlotLegendPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotLegendPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotLegendPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImPlotLegendFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImPlotLegendFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); + /// + /// To be documented. + /// + public ref ImPlotLocation Location => ref Unsafe.AsRef(&Handle->Location); + /// + /// To be documented. + /// + public ref ImPlotLocation PreviousLocation => ref Unsafe.AsRef(&Handle->PreviousLocation); + /// + /// To be documented. + /// + public ref ImVector Indices => ref Unsafe.AsRef>(&Handle->Indices); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer Labels => ref Unsafe.AsRef(&Handle->Labels); + /// + /// To be documented. + /// + public ref ImRect Rect => ref Unsafe.AsRef(&Handle->Rect); + /// + /// To be documented. + /// + public ref bool Hovered => ref Unsafe.AsRef(&Handle->Hovered); + /// + /// To be documented. + /// + public ref bool Held => ref Unsafe.AsRef(&Handle->Held); + /// + /// To be documented. + /// + public ref bool CanGoInside => ref Unsafe.AsRef(&Handle->CanGoInside); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotNextItemData.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotNextItemData.cs new file mode 100644 index 000000000..5b014bd01 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotNextItemData.cs @@ -0,0 +1,351 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotNextItemData + { + /// + /// To be documented. + /// + public Vector4 Colors_0; + public Vector4 Colors_1; + public Vector4 Colors_2; + public Vector4 Colors_3; + public Vector4 Colors_4; + + /// + /// To be documented. + /// + public float LineWeight; + + /// + /// To be documented. + /// + public ImPlotMarker Marker; + + /// + /// To be documented. + /// + public float MarkerSize; + + /// + /// To be documented. + /// + public float MarkerWeight; + + /// + /// To be documented. + /// + public float FillAlpha; + + /// + /// To be documented. + /// + public float ErrorBarSize; + + /// + /// To be documented. + /// + public float ErrorBarWeight; + + /// + /// To be documented. + /// + public float DigitalBitHeight; + + /// + /// To be documented. + /// + public float DigitalBitGap; + + /// + /// To be documented. + /// + public byte RenderLine; + + /// + /// To be documented. + /// + public byte RenderFill; + + /// + /// To be documented. + /// + public byte RenderMarkerLine; + + /// + /// To be documented. + /// + public byte RenderMarkerFill; + + /// + /// To be documented. + /// + public byte HasHidden; + + /// + /// To be documented. + /// + public byte Hidden; + + /// + /// To be documented. + /// + public ImPlotCond HiddenCond; + + + /// + /// To be documented. + /// + public unsafe ImPlotNextItemData(Vector4* colors = default, float lineWeight = default, ImPlotMarker marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, bool renderLine = default, bool renderFill = default, bool renderMarkerLine = default, bool renderMarkerFill = default, bool hasHidden = default, bool hidden = default, ImPlotCond hiddenCond = default) + { + if (colors != default(Vector4*)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + } + LineWeight = lineWeight; + Marker = marker; + MarkerSize = markerSize; + MarkerWeight = markerWeight; + FillAlpha = fillAlpha; + ErrorBarSize = errorBarSize; + ErrorBarWeight = errorBarWeight; + DigitalBitHeight = digitalBitHeight; + DigitalBitGap = digitalBitGap; + RenderLine = renderLine ? (byte)1 : (byte)0; + RenderFill = renderFill ? (byte)1 : (byte)0; + RenderMarkerLine = renderMarkerLine ? (byte)1 : (byte)0; + RenderMarkerFill = renderMarkerFill ? (byte)1 : (byte)0; + HasHidden = hasHidden ? (byte)1 : (byte)0; + Hidden = hidden ? (byte)1 : (byte)0; + HiddenCond = hiddenCond; + } + + /// + /// To be documented. + /// + public unsafe ImPlotNextItemData(Span colors = default, float lineWeight = default, ImPlotMarker marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, bool renderLine = default, bool renderFill = default, bool renderMarkerLine = default, bool renderMarkerFill = default, bool hasHidden = default, bool hidden = default, ImPlotCond hiddenCond = default) + { + if (colors != default(Span)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + } + LineWeight = lineWeight; + Marker = marker; + MarkerSize = markerSize; + MarkerWeight = markerWeight; + FillAlpha = fillAlpha; + ErrorBarSize = errorBarSize; + ErrorBarWeight = errorBarWeight; + DigitalBitHeight = digitalBitHeight; + DigitalBitGap = digitalBitGap; + RenderLine = renderLine ? (byte)1 : (byte)0; + RenderFill = renderFill ? (byte)1 : (byte)0; + RenderMarkerLine = renderMarkerLine ? (byte)1 : (byte)0; + RenderMarkerFill = renderMarkerFill ? (byte)1 : (byte)0; + HasHidden = hasHidden ? (byte)1 : (byte)0; + Hidden = hidden ? (byte)1 : (byte)0; + HiddenCond = hiddenCond; + } + + + /// + /// To be documented. + /// + public unsafe Span Colors + + { + get + { + fixed (Vector4* p = &this.Colors_0) + { + return new Span(p, 5); + } + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotNextItemData* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotNextItemData* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotNextItemDataPtr : IEquatable + { + public ImPlotNextItemDataPtr(ImPlotNextItemData* handle) { Handle = handle; } + + public ImPlotNextItemData* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotNextItemDataPtr Null => new ImPlotNextItemDataPtr(null); + + public ImPlotNextItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotNextItemDataPtr(ImPlotNextItemData* handle) => new ImPlotNextItemDataPtr(handle); + + public static implicit operator ImPlotNextItemData*(ImPlotNextItemDataPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotNextItemDataPtr left, ImPlotNextItemDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotNextItemDataPtr left, ImPlotNextItemDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotNextItemDataPtr left, ImPlotNextItemData* right) => left.Handle == right; + + public static bool operator !=(ImPlotNextItemDataPtr left, ImPlotNextItemData* right) => left.Handle != right; + + public bool Equals(ImPlotNextItemDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotNextItemDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotNextItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public unsafe Span Colors + + { + get + { + return new Span(&Handle->Colors_0, 5); + } + } + /// + /// To be documented. + /// + public ref float LineWeight => ref Unsafe.AsRef(&Handle->LineWeight); + /// + /// To be documented. + /// + public ref ImPlotMarker Marker => ref Unsafe.AsRef(&Handle->Marker); + /// + /// To be documented. + /// + public ref float MarkerSize => ref Unsafe.AsRef(&Handle->MarkerSize); + /// + /// To be documented. + /// + public ref float MarkerWeight => ref Unsafe.AsRef(&Handle->MarkerWeight); + /// + /// To be documented. + /// + public ref float FillAlpha => ref Unsafe.AsRef(&Handle->FillAlpha); + /// + /// To be documented. + /// + public ref float ErrorBarSize => ref Unsafe.AsRef(&Handle->ErrorBarSize); + /// + /// To be documented. + /// + public ref float ErrorBarWeight => ref Unsafe.AsRef(&Handle->ErrorBarWeight); + /// + /// To be documented. + /// + public ref float DigitalBitHeight => ref Unsafe.AsRef(&Handle->DigitalBitHeight); + /// + /// To be documented. + /// + public ref float DigitalBitGap => ref Unsafe.AsRef(&Handle->DigitalBitGap); + /// + /// To be documented. + /// + public ref bool RenderLine => ref Unsafe.AsRef(&Handle->RenderLine); + /// + /// To be documented. + /// + public ref bool RenderFill => ref Unsafe.AsRef(&Handle->RenderFill); + /// + /// To be documented. + /// + public ref bool RenderMarkerLine => ref Unsafe.AsRef(&Handle->RenderMarkerLine); + /// + /// To be documented. + /// + public ref bool RenderMarkerFill => ref Unsafe.AsRef(&Handle->RenderMarkerFill); + /// + /// To be documented. + /// + public ref bool HasHidden => ref Unsafe.AsRef(&Handle->HasHidden); + /// + /// To be documented. + /// + public ref bool Hidden => ref Unsafe.AsRef(&Handle->Hidden); + /// + /// To be documented. + /// + public ref ImPlotCond HiddenCond => ref Unsafe.AsRef(&Handle->HiddenCond); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotNextPlotData.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotNextPlotData.cs new file mode 100644 index 000000000..e36f126c2 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotNextPlotData.cs @@ -0,0 +1,385 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotNextPlotData + { + /// + /// To be documented. + /// + public ImPlotCond RangeCond_0; + public ImPlotCond RangeCond_1; + public ImPlotCond RangeCond_2; + public ImPlotCond RangeCond_3; + public ImPlotCond RangeCond_4; + public ImPlotCond RangeCond_5; + + /// + /// To be documented. + /// + public ImPlotRange Range_0; + public ImPlotRange Range_1; + public ImPlotRange Range_2; + public ImPlotRange Range_3; + public ImPlotRange Range_4; + public ImPlotRange Range_5; + + /// + /// To be documented. + /// + public bool HasRange_0; + public bool HasRange_1; + public bool HasRange_2; + public bool HasRange_3; + public bool HasRange_4; + public bool HasRange_5; + + /// + /// To be documented. + /// + public bool Fit_0; + public bool Fit_1; + public bool Fit_2; + public bool Fit_3; + public bool Fit_4; + public bool Fit_5; + + /// + /// To be documented. + /// + public unsafe double* LinkedMin_0; + public unsafe double* LinkedMin_1; + public unsafe double* LinkedMin_2; + public unsafe double* LinkedMin_3; + public unsafe double* LinkedMin_4; + public unsafe double* LinkedMin_5; + + /// + /// To be documented. + /// + public unsafe double* LinkedMax_0; + public unsafe double* LinkedMax_1; + public unsafe double* LinkedMax_2; + public unsafe double* LinkedMax_3; + public unsafe double* LinkedMax_4; + public unsafe double* LinkedMax_5; + + + /// + /// To be documented. + /// + public unsafe ImPlotNextPlotData(ImPlotCond* rangeCond = default, ImPlotRangePtr range = default, bool* hasRange = default, bool* fit = default, double** linkedMin = default, double** linkedMax = default) + { + if (rangeCond != default(ImPlotCond*)) + { + RangeCond_0 = rangeCond[0]; + RangeCond_1 = rangeCond[1]; + RangeCond_2 = rangeCond[2]; + RangeCond_3 = rangeCond[3]; + RangeCond_4 = rangeCond[4]; + RangeCond_5 = rangeCond[5]; + } + if (range != default(ImPlotRangePtr)) + { + Range_0 = range[0]; + Range_1 = range[1]; + Range_2 = range[2]; + Range_3 = range[3]; + Range_4 = range[4]; + Range_5 = range[5]; + } + if (hasRange != default(bool*)) + { + HasRange_0 = hasRange[0]; + HasRange_1 = hasRange[1]; + HasRange_2 = hasRange[2]; + HasRange_3 = hasRange[3]; + HasRange_4 = hasRange[4]; + HasRange_5 = hasRange[5]; + } + if (fit != default(bool*)) + { + Fit_0 = fit[0]; + Fit_1 = fit[1]; + Fit_2 = fit[2]; + Fit_3 = fit[3]; + Fit_4 = fit[4]; + Fit_5 = fit[5]; + } + if (linkedMin != default(double**)) + { + LinkedMin_0 = linkedMin[0]; + LinkedMin_1 = linkedMin[1]; + LinkedMin_2 = linkedMin[2]; + LinkedMin_3 = linkedMin[3]; + LinkedMin_4 = linkedMin[4]; + LinkedMin_5 = linkedMin[5]; + } + if (linkedMax != default(double**)) + { + LinkedMax_0 = linkedMax[0]; + LinkedMax_1 = linkedMax[1]; + LinkedMax_2 = linkedMax[2]; + LinkedMax_3 = linkedMax[3]; + LinkedMax_4 = linkedMax[4]; + LinkedMax_5 = linkedMax[5]; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotNextPlotData(Span rangeCond = default, Span range = default, Span hasRange = default, Span fit = default, Span> linkedMin = default, Span> linkedMax = default) + { + if (rangeCond != default(Span)) + { + RangeCond_0 = rangeCond[0]; + RangeCond_1 = rangeCond[1]; + RangeCond_2 = rangeCond[2]; + RangeCond_3 = rangeCond[3]; + RangeCond_4 = rangeCond[4]; + RangeCond_5 = rangeCond[5]; + } + if (range != default(Span)) + { + Range_0 = range[0]; + Range_1 = range[1]; + Range_2 = range[2]; + Range_3 = range[3]; + Range_4 = range[4]; + Range_5 = range[5]; + } + if (hasRange != default(Span)) + { + HasRange_0 = hasRange[0]; + HasRange_1 = hasRange[1]; + HasRange_2 = hasRange[2]; + HasRange_3 = hasRange[3]; + HasRange_4 = hasRange[4]; + HasRange_5 = hasRange[5]; + } + if (fit != default(Span)) + { + Fit_0 = fit[0]; + Fit_1 = fit[1]; + Fit_2 = fit[2]; + Fit_3 = fit[3]; + Fit_4 = fit[4]; + Fit_5 = fit[5]; + } + if (linkedMin != default(Span>)) + { + LinkedMin_0 = linkedMin[0]; + LinkedMin_1 = linkedMin[1]; + LinkedMin_2 = linkedMin[2]; + LinkedMin_3 = linkedMin[3]; + LinkedMin_4 = linkedMin[4]; + LinkedMin_5 = linkedMin[5]; + } + if (linkedMax != default(Span>)) + { + LinkedMax_0 = linkedMax[0]; + LinkedMax_1 = linkedMax[1]; + LinkedMax_2 = linkedMax[2]; + LinkedMax_3 = linkedMax[3]; + LinkedMax_4 = linkedMax[4]; + LinkedMax_5 = linkedMax[5]; + } + } + + + /// + /// To be documented. + /// + public unsafe Span Range + + { + get + { + fixed (ImPlotRange* p = &this.Range_0) + { + return new Span(p, 6); + } + } + } + /// + /// To be documented. + /// + public unsafe Span> LinkedMin + + { + get + { + fixed (double** p = &this.LinkedMin_0) + { + return new Span>(p, 6); + } + } + } + /// + /// To be documented. + /// + public unsafe Span> LinkedMax + + { + get + { + fixed (double** p = &this.LinkedMax_0) + { + return new Span>(p, 6); + } + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotNextPlotData* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotNextPlotData* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotNextPlotDataPtr : IEquatable + { + public ImPlotNextPlotDataPtr(ImPlotNextPlotData* handle) { Handle = handle; } + + public ImPlotNextPlotData* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotNextPlotDataPtr Null => new ImPlotNextPlotDataPtr(null); + + public ImPlotNextPlotData this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotNextPlotDataPtr(ImPlotNextPlotData* handle) => new ImPlotNextPlotDataPtr(handle); + + public static implicit operator ImPlotNextPlotData*(ImPlotNextPlotDataPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotNextPlotDataPtr left, ImPlotNextPlotDataPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotNextPlotDataPtr left, ImPlotNextPlotDataPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotNextPlotDataPtr left, ImPlotNextPlotData* right) => left.Handle == right; + + public static bool operator !=(ImPlotNextPlotDataPtr left, ImPlotNextPlotData* right) => left.Handle != right; + + public bool Equals(ImPlotNextPlotDataPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotNextPlotDataPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotNextPlotDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public unsafe Span RangeCond + + { + get + { + return new Span(&Handle->RangeCond_0, 6); + } + } + /// + /// To be documented. + /// + public unsafe Span Range + + { + get + { + return new Span(&Handle->Range_0, 6); + } + } + /// + /// To be documented. + /// + public unsafe Span HasRange + + { + get + { + return new Span(&Handle->HasRange_0, 6); + } + } + /// + /// To be documented. + /// + public unsafe Span Fit + + { + get + { + return new Span(&Handle->Fit_0, 6); + } + } + /// + /// To be documented. + /// + /// + /// To be documented. + /// + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPlot.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPlot.cs new file mode 100644 index 000000000..ff9da7ba8 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPlot.cs @@ -0,0 +1,1119 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotPlot + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImPlotFlags Flags; + + /// + /// To be documented. + /// + public ImPlotFlags PreviousFlags; + + /// + /// To be documented. + /// + public ImPlotLocation MouseTextLocation; + + /// + /// To be documented. + /// + public ImPlotMouseTextFlags MouseTextFlags; + + /// + /// To be documented. + /// + public ImPlotAxis Axes_0; + public ImPlotAxis Axes_1; + public ImPlotAxis Axes_2; + public ImPlotAxis Axes_3; + public ImPlotAxis Axes_4; + public ImPlotAxis Axes_5; + + /// + /// To be documented. + /// + public ImGuiTextBuffer TextBuffer; + + /// + /// To be documented. + /// + public ImPlotItemGroup Items; + + /// + /// To be documented. + /// + public ImAxis CurrentX; + + /// + /// To be documented. + /// + public ImAxis CurrentY; + + /// + /// To be documented. + /// + public ImRect FrameRect; + + /// + /// To be documented. + /// + public ImRect CanvasRect; + + /// + /// To be documented. + /// + public ImRect PlotRect; + + /// + /// To be documented. + /// + public ImRect AxesRect; + + /// + /// To be documented. + /// + public ImRect SelectRect; + + /// + /// To be documented. + /// + public Vector2 SelectStart; + + /// + /// To be documented. + /// + public int TitleOffset; + + /// + /// To be documented. + /// + public byte JustCreated; + + /// + /// To be documented. + /// + public byte Initialized; + + /// + /// To be documented. + /// + public byte SetupLocked; + + /// + /// To be documented. + /// + public byte FitThisFrame; + + /// + /// To be documented. + /// + public byte Hovered; + + /// + /// To be documented. + /// + public byte Held; + + /// + /// To be documented. + /// + public byte Selecting; + + /// + /// To be documented. + /// + public byte Selected; + + /// + /// To be documented. + /// + public byte ContextLocked; + + + /// + /// To be documented. + /// + public unsafe ImPlotPlot(uint id = default, ImPlotFlags flags = default, ImPlotFlags previousFlags = default, ImPlotLocation mouseTextLocation = default, ImPlotMouseTextFlags mouseTextFlags = default, ImPlotAxis* axes = default, ImGuiTextBuffer textBuffer = default, ImPlotItemGroup items = default, ImAxis currentX = default, ImAxis currentY = default, ImRect frameRect = default, ImRect canvasRect = default, ImRect plotRect = default, ImRect axesRect = default, ImRect selectRect = default, Vector2 selectStart = default, int titleOffset = default, bool justCreated = default, bool initialized = default, bool setupLocked = default, bool fitThisFrame = default, bool hovered = default, bool held = default, bool selecting = default, bool selected = default, bool contextLocked = default) + { + ID = id; + Flags = flags; + PreviousFlags = previousFlags; + MouseTextLocation = mouseTextLocation; + MouseTextFlags = mouseTextFlags; + if (axes != default(ImPlotAxis*)) + { + Axes_0 = axes[0]; + Axes_1 = axes[1]; + Axes_2 = axes[2]; + Axes_3 = axes[3]; + Axes_4 = axes[4]; + Axes_5 = axes[5]; + } + TextBuffer = textBuffer; + Items = items; + CurrentX = currentX; + CurrentY = currentY; + FrameRect = frameRect; + CanvasRect = canvasRect; + PlotRect = plotRect; + AxesRect = axesRect; + SelectRect = selectRect; + SelectStart = selectStart; + TitleOffset = titleOffset; + JustCreated = justCreated ? (byte)1 : (byte)0; + Initialized = initialized ? (byte)1 : (byte)0; + SetupLocked = setupLocked ? (byte)1 : (byte)0; + FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; + Hovered = hovered ? (byte)1 : (byte)0; + Held = held ? (byte)1 : (byte)0; + Selecting = selecting ? (byte)1 : (byte)0; + Selected = selected ? (byte)1 : (byte)0; + ContextLocked = contextLocked ? (byte)1 : (byte)0; + } + + /// + /// To be documented. + /// + public unsafe ImPlotPlot(uint id = default, ImPlotFlags flags = default, ImPlotFlags previousFlags = default, ImPlotLocation mouseTextLocation = default, ImPlotMouseTextFlags mouseTextFlags = default, Span axes = default, ImGuiTextBuffer textBuffer = default, ImPlotItemGroup items = default, ImAxis currentX = default, ImAxis currentY = default, ImRect frameRect = default, ImRect canvasRect = default, ImRect plotRect = default, ImRect axesRect = default, ImRect selectRect = default, Vector2 selectStart = default, int titleOffset = default, bool justCreated = default, bool initialized = default, bool setupLocked = default, bool fitThisFrame = default, bool hovered = default, bool held = default, bool selecting = default, bool selected = default, bool contextLocked = default) + { + ID = id; + Flags = flags; + PreviousFlags = previousFlags; + MouseTextLocation = mouseTextLocation; + MouseTextFlags = mouseTextFlags; + if (axes != default(Span)) + { + Axes_0 = axes[0]; + Axes_1 = axes[1]; + Axes_2 = axes[2]; + Axes_3 = axes[3]; + Axes_4 = axes[4]; + Axes_5 = axes[5]; + } + TextBuffer = textBuffer; + Items = items; + CurrentX = currentX; + CurrentY = currentY; + FrameRect = frameRect; + CanvasRect = canvasRect; + PlotRect = plotRect; + AxesRect = axesRect; + SelectRect = selectRect; + SelectStart = selectStart; + TitleOffset = titleOffset; + JustCreated = justCreated ? (byte)1 : (byte)0; + Initialized = initialized ? (byte)1 : (byte)0; + SetupLocked = setupLocked ? (byte)1 : (byte)0; + FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; + Hovered = hovered ? (byte)1 : (byte)0; + Held = held ? (byte)1 : (byte)0; + Selecting = selecting ? (byte)1 : (byte)0; + Selected = selected ? (byte)1 : (byte)0; + ContextLocked = contextLocked ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe Span Axes + + { + get + { + fixed (ImPlotAxis* p = &this.Axes_0) + { + return new Span(p, 6); + } + } + } + /// + /// To be documented. + /// + public unsafe void ClearTextBuffer() + { + fixed (ImPlotPlot* @this = &this) + { + ImPlot.ClearTextBufferNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotPlot* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe int EnabledAxesX() + { + fixed (ImPlotPlot* @this = &this) + { + int ret = ImPlot.EnabledAxesXNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe int EnabledAxesY() + { + fixed (ImPlotPlot* @this = &this) + { + int ret = ImPlot.EnabledAxesYNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetAxisLabel(ImPlotAxis axis) + { + fixed (ImPlotPlot* @this = &this) + { + byte* ret = ImPlot.GetAxisLabelNative(@this, axis); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetAxisLabelS(ImPlotAxis axis) + { + fixed (ImPlotPlot* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetAxisLabelNative(@this, axis)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetTitle() + { + fixed (ImPlotPlot* @this = &this) + { + byte* ret = ImPlot.GetTitleNative(@this); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetTitleS() + { + fixed (ImPlotPlot* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTitleNative(@this)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool HasTitle() + { + fixed (ImPlotPlot* @this = &this) + { + byte ret = ImPlot.HasTitleNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLocked() + { + fixed (ImPlotPlot* @this = &this) + { + byte ret = ImPlot.IsInputLockedNative(@this); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, byte* label) + { + fixed (ImPlotPlot* @this = &this) + { + ImPlot.SetAxisLabelNative(@this, axis, label); + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, byte* label) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (ImPlotAxis* paxis = &axis) + { + ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, label); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, ref byte label) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (byte* plabel = &label) + { + ImPlot.SetAxisLabelNative(@this, axis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, ReadOnlySpan label) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (byte* plabel = label) + { + ImPlot.SetAxisLabelNative(@this, axis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, string label) + { + fixed (ImPlotPlot* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.SetAxisLabelNative(@this, axis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, ref byte label) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = &label) + { + ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, ReadOnlySpan label) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = label) + { + ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, string label) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (ImPlotAxis* paxis = &axis) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(byte* title) + { + fixed (ImPlotPlot* @this = &this) + { + ImPlot.SetTitleNative(@this, title); + } + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(ref byte title) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (byte* ptitle = &title) + { + ImPlot.SetTitleNative(@this, (byte*)ptitle); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(ReadOnlySpan title) + { + fixed (ImPlotPlot* @this = &this) + { + fixed (byte* ptitle = title) + { + ImPlot.SetTitleNative(@this, (byte*)ptitle); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(string title) + { + fixed (ImPlotPlot* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (title != null) + { + pStrSize0 = Utils.GetByteCountUTF8(title); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.SetTitleNative(@this, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* XAxis(int i) + { + fixed (ImPlotPlot* @this = &this) + { + ImPlotAxis* ret = ImPlot.XAxisNative(@this, i); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* ImPlotPlotXAxisConst(int i) + { + fixed (ImPlotPlot* @this = &this) + { + ImPlotAxis* ret = ImPlot.ImPlotPlotXAxisConstNative(@this, i); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* YAxis(int i) + { + fixed (ImPlotPlot* @this = &this) + { + ImPlotAxis* ret = ImPlot.YAxisNative(@this, i); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* ImPlotPlotYAxisConst(int i) + { + fixed (ImPlotPlot* @this = &this) + { + ImPlotAxis* ret = ImPlot.ImPlotPlotYAxisConstNative(@this, i); + return ret; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotPlotPtr : IEquatable + { + public ImPlotPlotPtr(ImPlotPlot* handle) { Handle = handle; } + + public ImPlotPlot* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotPlotPtr Null => new ImPlotPlotPtr(null); + + public ImPlotPlot this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotPlotPtr(ImPlotPlot* handle) => new ImPlotPlotPtr(handle); + + public static implicit operator ImPlotPlot*(ImPlotPlotPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotPlotPtr left, ImPlotPlotPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotPlotPtr left, ImPlotPlotPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotPlotPtr left, ImPlotPlot* right) => left.Handle == right; + + public static bool operator !=(ImPlotPlotPtr left, ImPlotPlot* right) => left.Handle != right; + + public bool Equals(ImPlotPlotPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotPlotPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotPlotPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImPlotFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImPlotFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); + /// + /// To be documented. + /// + public ref ImPlotLocation MouseTextLocation => ref Unsafe.AsRef(&Handle->MouseTextLocation); + /// + /// To be documented. + /// + public ref ImPlotMouseTextFlags MouseTextFlags => ref Unsafe.AsRef(&Handle->MouseTextFlags); + /// + /// To be documented. + /// + public unsafe Span Axes + + { + get + { + return new Span(&Handle->Axes_0, 6); + } + } + /// + /// To be documented. + /// + public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); + /// + /// To be documented. + /// + public ref ImPlotItemGroup Items => ref Unsafe.AsRef(&Handle->Items); + /// + /// To be documented. + /// + public ref ImAxis CurrentX => ref Unsafe.AsRef(&Handle->CurrentX); + /// + /// To be documented. + /// + public ref ImAxis CurrentY => ref Unsafe.AsRef(&Handle->CurrentY); + /// + /// To be documented. + /// + public ref ImRect FrameRect => ref Unsafe.AsRef(&Handle->FrameRect); + /// + /// To be documented. + /// + public ref ImRect CanvasRect => ref Unsafe.AsRef(&Handle->CanvasRect); + /// + /// To be documented. + /// + public ref ImRect PlotRect => ref Unsafe.AsRef(&Handle->PlotRect); + /// + /// To be documented. + /// + public ref ImRect AxesRect => ref Unsafe.AsRef(&Handle->AxesRect); + /// + /// To be documented. + /// + public ref ImRect SelectRect => ref Unsafe.AsRef(&Handle->SelectRect); + /// + /// To be documented. + /// + public ref Vector2 SelectStart => ref Unsafe.AsRef(&Handle->SelectStart); + /// + /// To be documented. + /// + public ref int TitleOffset => ref Unsafe.AsRef(&Handle->TitleOffset); + /// + /// To be documented. + /// + public ref bool JustCreated => ref Unsafe.AsRef(&Handle->JustCreated); + /// + /// To be documented. + /// + public ref bool Initialized => ref Unsafe.AsRef(&Handle->Initialized); + /// + /// To be documented. + /// + public ref bool SetupLocked => ref Unsafe.AsRef(&Handle->SetupLocked); + /// + /// To be documented. + /// + public ref bool FitThisFrame => ref Unsafe.AsRef(&Handle->FitThisFrame); + /// + /// To be documented. + /// + public ref bool Hovered => ref Unsafe.AsRef(&Handle->Hovered); + /// + /// To be documented. + /// + public ref bool Held => ref Unsafe.AsRef(&Handle->Held); + /// + /// To be documented. + /// + public ref bool Selecting => ref Unsafe.AsRef(&Handle->Selecting); + /// + /// To be documented. + /// + public ref bool Selected => ref Unsafe.AsRef(&Handle->Selected); + /// + /// To be documented. + /// + public ref bool ContextLocked => ref Unsafe.AsRef(&Handle->ContextLocked); + /// + /// To be documented. + /// + public unsafe void ClearTextBuffer() + { + ImPlot.ClearTextBufferNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe int EnabledAxesX() + { + int ret = ImPlot.EnabledAxesXNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe int EnabledAxesY() + { + int ret = ImPlot.EnabledAxesYNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* GetAxisLabel(ImPlotAxis axis) + { + byte* ret = ImPlot.GetAxisLabelNative(Handle, axis); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetAxisLabelS(ImPlotAxis axis) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetAxisLabelNative(Handle, axis)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* GetTitle() + { + byte* ret = ImPlot.GetTitleNative(Handle); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetTitleS() + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTitleNative(Handle)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool HasTitle() + { + byte ret = ImPlot.HasTitleNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool IsInputLocked() + { + byte ret = ImPlot.IsInputLockedNative(Handle); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, byte* label) + { + ImPlot.SetAxisLabelNative(Handle, axis, label); + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, byte* label) + { + fixed (ImPlotAxis* paxis = &axis) + { + ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, label); + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, ref byte label) + { + fixed (byte* plabel = &label) + { + ImPlot.SetAxisLabelNative(Handle, axis, (byte*)plabel); + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + ImPlot.SetAxisLabelNative(Handle, axis, (byte*)plabel); + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ImPlotAxis* axis, string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.SetAxisLabelNative(Handle, axis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, ref byte label) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = &label) + { + ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, ReadOnlySpan label) + { + fixed (ImPlotAxis* paxis = &axis) + { + fixed (byte* plabel = label) + { + ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, (byte*)plabel); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetAxisLabel(ref ImPlotAxis axis, string label) + { + fixed (ImPlotAxis* paxis = &axis) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(byte* title) + { + ImPlot.SetTitleNative(Handle, title); + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(ref byte title) + { + fixed (byte* ptitle = &title) + { + ImPlot.SetTitleNative(Handle, (byte*)ptitle); + } + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(ReadOnlySpan title) + { + fixed (byte* ptitle = title) + { + ImPlot.SetTitleNative(Handle, (byte*)ptitle); + } + } + + /// + /// To be documented. + /// + public unsafe void SetTitle(string title) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (title != null) + { + pStrSize0 = Utils.GetByteCountUTF8(title); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.SetTitleNative(Handle, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* XAxis(int i) + { + ImPlotAxis* ret = ImPlot.XAxisNative(Handle, i); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* ImPlotPlotXAxisConst(int i) + { + ImPlotAxis* ret = ImPlot.ImPlotPlotXAxisConstNative(Handle, i); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* YAxis(int i) + { + ImPlotAxis* ret = ImPlot.YAxisNative(Handle, i); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotAxis* ImPlotPlotYAxisConst(int i) + { + ImPlotAxis* ret = ImPlot.ImPlotPlotYAxisConstNative(Handle, i); + return ret; + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPoint.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPoint.cs new file mode 100644 index 000000000..d845401f5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPoint.cs @@ -0,0 +1,119 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotPoint + { + /// + /// To be documented. + /// + public double X; + + /// + /// To be documented. + /// + public double Y; + + + /// + /// To be documented. + /// + public unsafe ImPlotPoint(double x = default, double y = default) + { + X = x; + Y = y; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotPoint* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotPointPtr : IEquatable + { + public ImPlotPointPtr(ImPlotPoint* handle) { Handle = handle; } + + public ImPlotPoint* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotPointPtr Null => new ImPlotPointPtr(null); + + public ImPlotPoint this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotPointPtr(ImPlotPoint* handle) => new ImPlotPointPtr(handle); + + public static implicit operator ImPlotPoint*(ImPlotPointPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotPointPtr left, ImPlotPointPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotPointPtr left, ImPlotPointPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotPointPtr left, ImPlotPoint* right) => left.Handle == right; + + public static bool operator !=(ImPlotPointPtr left, ImPlotPoint* right) => left.Handle != right; + + public bool Equals(ImPlotPointPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotPointPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotPointPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref double X => ref Unsafe.AsRef(&Handle->X); + /// + /// To be documented. + /// + public ref double Y => ref Unsafe.AsRef(&Handle->Y); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPointError.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPointError.cs new file mode 100644 index 000000000..348a27da5 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotPointError.cs @@ -0,0 +1,139 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotPointError + { + /// + /// To be documented. + /// + public double X; + + /// + /// To be documented. + /// + public double Y; + + /// + /// To be documented. + /// + public double Neg; + + /// + /// To be documented. + /// + public double Pos; + + + /// + /// To be documented. + /// + public unsafe ImPlotPointError(double x = default, double y = default, double neg = default, double pos = default) + { + X = x; + Y = y; + Neg = neg; + Pos = pos; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotPointError* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotPointErrorPtr : IEquatable + { + public ImPlotPointErrorPtr(ImPlotPointError* handle) { Handle = handle; } + + public ImPlotPointError* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotPointErrorPtr Null => new ImPlotPointErrorPtr(null); + + public ImPlotPointError this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotPointErrorPtr(ImPlotPointError* handle) => new ImPlotPointErrorPtr(handle); + + public static implicit operator ImPlotPointError*(ImPlotPointErrorPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotPointErrorPtr left, ImPlotPointErrorPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotPointErrorPtr left, ImPlotPointErrorPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotPointErrorPtr left, ImPlotPointError* right) => left.Handle == right; + + public static bool operator !=(ImPlotPointErrorPtr left, ImPlotPointError* right) => left.Handle != right; + + public bool Equals(ImPlotPointErrorPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotPointErrorPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotPointErrorPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref double X => ref Unsafe.AsRef(&Handle->X); + /// + /// To be documented. + /// + public ref double Y => ref Unsafe.AsRef(&Handle->Y); + /// + /// To be documented. + /// + public ref double Neg => ref Unsafe.AsRef(&Handle->Neg); + /// + /// To be documented. + /// + public ref double Pos => ref Unsafe.AsRef(&Handle->Pos); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotRange.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotRange.cs new file mode 100644 index 000000000..46f59f84a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotRange.cs @@ -0,0 +1,182 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotRange + { + /// + /// To be documented. + /// + public double Min; + + /// + /// To be documented. + /// + public double Max; + + + /// + /// To be documented. + /// + public unsafe ImPlotRange(double min = default, double max = default) + { + Min = min; + Max = max; + } + + + /// + /// To be documented. + /// + public unsafe double Clamp(double value) + { + fixed (ImPlotRange* @this = &this) + { + double ret = ImPlot.ClampNative(@this, value); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe bool Contains(double value) + { + fixed (ImPlotRange* @this = &this) + { + byte ret = ImPlot.ContainsNative(@this, value); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotRange* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe double Size() + { + fixed (ImPlotRange* @this = &this) + { + double ret = ImPlot.SizeNative(@this); + return ret; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotRangePtr : IEquatable + { + public ImPlotRangePtr(ImPlotRange* handle) { Handle = handle; } + + public ImPlotRange* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotRangePtr Null => new ImPlotRangePtr(null); + + public ImPlotRange this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotRangePtr(ImPlotRange* handle) => new ImPlotRangePtr(handle); + + public static implicit operator ImPlotRange*(ImPlotRangePtr handle) => handle.Handle; + + public static bool operator ==(ImPlotRangePtr left, ImPlotRangePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotRangePtr left, ImPlotRangePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotRangePtr left, ImPlotRange* right) => left.Handle == right; + + public static bool operator !=(ImPlotRangePtr left, ImPlotRange* right) => left.Handle != right; + + public bool Equals(ImPlotRangePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotRangePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref double Min => ref Unsafe.AsRef(&Handle->Min); + /// + /// To be documented. + /// + public ref double Max => ref Unsafe.AsRef(&Handle->Max); + /// + /// To be documented. + /// + public unsafe double Clamp(double value) + { + double ret = ImPlot.ClampNative(Handle, value); + return ret; + } + + /// + /// To be documented. + /// + public unsafe bool Contains(double value) + { + byte ret = ImPlot.ContainsNative(Handle, value); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe double Size() + { + double ret = ImPlot.SizeNative(Handle); + return ret; + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotRect.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotRect.cs new file mode 100644 index 000000000..3997c6cd6 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotRect.cs @@ -0,0 +1,161 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotRect + { + /// + /// To be documented. + /// + public ImPlotRange X; + + /// + /// To be documented. + /// + public ImPlotRange Y; + + + /// + /// To be documented. + /// + public unsafe ImPlotRect(ImPlotRange x = default, ImPlotRange y = default) + { + X = x; + Y = y; + } + + + /// + /// To be documented. + /// + public unsafe bool Contains(ImPlotPoint p) + { + fixed (ImPlotRect* @this = &this) + { + byte ret = ImPlot.ContainsNative(@this, p); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe bool Contains(double x, double y) + { + fixed (ImPlotRect* @this = &this) + { + byte ret = ImPlot.ContainsNative(@this, x, y); + return ret != 0; + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotRect* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotRectPtr : IEquatable + { + public ImPlotRectPtr(ImPlotRect* handle) { Handle = handle; } + + public ImPlotRect* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotRectPtr Null => new ImPlotRectPtr(null); + + public ImPlotRect this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotRectPtr(ImPlotRect* handle) => new ImPlotRectPtr(handle); + + public static implicit operator ImPlotRect*(ImPlotRectPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotRectPtr left, ImPlotRectPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotRectPtr left, ImPlotRectPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotRectPtr left, ImPlotRect* right) => left.Handle == right; + + public static bool operator !=(ImPlotRectPtr left, ImPlotRect* right) => left.Handle != right; + + public bool Equals(ImPlotRectPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotRectPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImPlotRange X => ref Unsafe.AsRef(&Handle->X); + /// + /// To be documented. + /// + public ref ImPlotRange Y => ref Unsafe.AsRef(&Handle->Y); + /// + /// To be documented. + /// + public unsafe bool Contains(ImPlotPoint p) + { + byte ret = ImPlot.ContainsNative(Handle, p); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe bool Contains(double x, double y) + { + byte ret = ImPlot.ContainsNative(Handle, x, y); + return ret != 0; + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotStyle.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotStyle.cs new file mode 100644 index 000000000..bd6d4a4da --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotStyle.cs @@ -0,0 +1,545 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotStyle + { + /// + /// To be documented. + /// + public float LineWeight; + + /// + /// To be documented. + /// + public int Marker; + + /// + /// To be documented. + /// + public float MarkerSize; + + /// + /// To be documented. + /// + public float MarkerWeight; + + /// + /// To be documented. + /// + public float FillAlpha; + + /// + /// To be documented. + /// + public float ErrorBarSize; + + /// + /// To be documented. + /// + public float ErrorBarWeight; + + /// + /// To be documented. + /// + public float DigitalBitHeight; + + /// + /// To be documented. + /// + public float DigitalBitGap; + + /// + /// To be documented. + /// + public float PlotBorderSize; + + /// + /// To be documented. + /// + public float MinorAlpha; + + /// + /// To be documented. + /// + public Vector2 MajorTickLen; + + /// + /// To be documented. + /// + public Vector2 MinorTickLen; + + /// + /// To be documented. + /// + public Vector2 MajorTickSize; + + /// + /// To be documented. + /// + public Vector2 MinorTickSize; + + /// + /// To be documented. + /// + public Vector2 MajorGridSize; + + /// + /// To be documented. + /// + public Vector2 MinorGridSize; + + /// + /// To be documented. + /// + public Vector2 PlotPadding; + + /// + /// To be documented. + /// + public Vector2 LabelPadding; + + /// + /// To be documented. + /// + public Vector2 LegendPadding; + + /// + /// To be documented. + /// + public Vector2 LegendInnerPadding; + + /// + /// To be documented. + /// + public Vector2 LegendSpacing; + + /// + /// To be documented. + /// + public Vector2 MousePosPadding; + + /// + /// To be documented. + /// + public Vector2 AnnotationPadding; + + /// + /// To be documented. + /// + public Vector2 FitPadding; + + /// + /// To be documented. + /// + public Vector2 PlotDefaultSize; + + /// + /// To be documented. + /// + public Vector2 PlotMinSize; + + /// + /// To be documented. + /// + public Vector4 Colors_0; + public Vector4 Colors_1; + public Vector4 Colors_2; + public Vector4 Colors_3; + public Vector4 Colors_4; + public Vector4 Colors_5; + public Vector4 Colors_6; + public Vector4 Colors_7; + public Vector4 Colors_8; + public Vector4 Colors_9; + public Vector4 Colors_10; + public Vector4 Colors_11; + public Vector4 Colors_12; + public Vector4 Colors_13; + public Vector4 Colors_14; + public Vector4 Colors_15; + public Vector4 Colors_16; + public Vector4 Colors_17; + public Vector4 Colors_18; + public Vector4 Colors_19; + public Vector4 Colors_20; + + /// + /// To be documented. + /// + public ImPlotColormap Colormap; + + /// + /// To be documented. + /// + public byte UseLocalTime; + + /// + /// To be documented. + /// + public byte UseISO8601; + + /// + /// To be documented. + /// + public byte Use24HourClock; + + + /// + /// To be documented. + /// + public unsafe ImPlotStyle(float lineWeight = default, int marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, float plotBorderSize = default, float minorAlpha = default, Vector2 majorTickLen = default, Vector2 minorTickLen = default, Vector2 majorTickSize = default, Vector2 minorTickSize = default, Vector2 majorGridSize = default, Vector2 minorGridSize = default, Vector2 plotPadding = default, Vector2 labelPadding = default, Vector2 legendPadding = default, Vector2 legendInnerPadding = default, Vector2 legendSpacing = default, Vector2 mousePosPadding = default, Vector2 annotationPadding = default, Vector2 fitPadding = default, Vector2 plotDefaultSize = default, Vector2 plotMinSize = default, Vector4* colors = default, ImPlotColormap colormap = default, bool useLocalTime = default, bool useIso8601 = default, bool use24HourClock = default) + { + LineWeight = lineWeight; + Marker = marker; + MarkerSize = markerSize; + MarkerWeight = markerWeight; + FillAlpha = fillAlpha; + ErrorBarSize = errorBarSize; + ErrorBarWeight = errorBarWeight; + DigitalBitHeight = digitalBitHeight; + DigitalBitGap = digitalBitGap; + PlotBorderSize = plotBorderSize; + MinorAlpha = minorAlpha; + MajorTickLen = majorTickLen; + MinorTickLen = minorTickLen; + MajorTickSize = majorTickSize; + MinorTickSize = minorTickSize; + MajorGridSize = majorGridSize; + MinorGridSize = minorGridSize; + PlotPadding = plotPadding; + LabelPadding = labelPadding; + LegendPadding = legendPadding; + LegendInnerPadding = legendInnerPadding; + LegendSpacing = legendSpacing; + MousePosPadding = mousePosPadding; + AnnotationPadding = annotationPadding; + FitPadding = fitPadding; + PlotDefaultSize = plotDefaultSize; + PlotMinSize = plotMinSize; + if (colors != default(Vector4*)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + Colors_6 = colors[6]; + Colors_7 = colors[7]; + Colors_8 = colors[8]; + Colors_9 = colors[9]; + Colors_10 = colors[10]; + Colors_11 = colors[11]; + Colors_12 = colors[12]; + Colors_13 = colors[13]; + Colors_14 = colors[14]; + Colors_15 = colors[15]; + Colors_16 = colors[16]; + Colors_17 = colors[17]; + Colors_18 = colors[18]; + Colors_19 = colors[19]; + Colors_20 = colors[20]; + } + Colormap = colormap; + UseLocalTime = useLocalTime ? (byte)1 : (byte)0; + UseISO8601 = useIso8601 ? (byte)1 : (byte)0; + Use24HourClock = use24HourClock ? (byte)1 : (byte)0; + } + + /// + /// To be documented. + /// + public unsafe ImPlotStyle(float lineWeight = default, int marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, float plotBorderSize = default, float minorAlpha = default, Vector2 majorTickLen = default, Vector2 minorTickLen = default, Vector2 majorTickSize = default, Vector2 minorTickSize = default, Vector2 majorGridSize = default, Vector2 minorGridSize = default, Vector2 plotPadding = default, Vector2 labelPadding = default, Vector2 legendPadding = default, Vector2 legendInnerPadding = default, Vector2 legendSpacing = default, Vector2 mousePosPadding = default, Vector2 annotationPadding = default, Vector2 fitPadding = default, Vector2 plotDefaultSize = default, Vector2 plotMinSize = default, Span colors = default, ImPlotColormap colormap = default, bool useLocalTime = default, bool useIso8601 = default, bool use24HourClock = default) + { + LineWeight = lineWeight; + Marker = marker; + MarkerSize = markerSize; + MarkerWeight = markerWeight; + FillAlpha = fillAlpha; + ErrorBarSize = errorBarSize; + ErrorBarWeight = errorBarWeight; + DigitalBitHeight = digitalBitHeight; + DigitalBitGap = digitalBitGap; + PlotBorderSize = plotBorderSize; + MinorAlpha = minorAlpha; + MajorTickLen = majorTickLen; + MinorTickLen = minorTickLen; + MajorTickSize = majorTickSize; + MinorTickSize = minorTickSize; + MajorGridSize = majorGridSize; + MinorGridSize = minorGridSize; + PlotPadding = plotPadding; + LabelPadding = labelPadding; + LegendPadding = legendPadding; + LegendInnerPadding = legendInnerPadding; + LegendSpacing = legendSpacing; + MousePosPadding = mousePosPadding; + AnnotationPadding = annotationPadding; + FitPadding = fitPadding; + PlotDefaultSize = plotDefaultSize; + PlotMinSize = plotMinSize; + if (colors != default(Span)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + Colors_6 = colors[6]; + Colors_7 = colors[7]; + Colors_8 = colors[8]; + Colors_9 = colors[9]; + Colors_10 = colors[10]; + Colors_11 = colors[11]; + Colors_12 = colors[12]; + Colors_13 = colors[13]; + Colors_14 = colors[14]; + Colors_15 = colors[15]; + Colors_16 = colors[16]; + Colors_17 = colors[17]; + Colors_18 = colors[18]; + Colors_19 = colors[19]; + Colors_20 = colors[20]; + } + Colormap = colormap; + UseLocalTime = useLocalTime ? (byte)1 : (byte)0; + UseISO8601 = useIso8601 ? (byte)1 : (byte)0; + Use24HourClock = use24HourClock ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe Span Colors + + { + get + { + fixed (Vector4* p = &this.Colors_0) + { + return new Span(p, 21); + } + } + } + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotStyle* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotStylePtr : IEquatable + { + public ImPlotStylePtr(ImPlotStyle* handle) { Handle = handle; } + + public ImPlotStyle* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotStylePtr Null => new ImPlotStylePtr(null); + + public ImPlotStyle this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotStylePtr(ImPlotStyle* handle) => new ImPlotStylePtr(handle); + + public static implicit operator ImPlotStyle*(ImPlotStylePtr handle) => handle.Handle; + + public static bool operator ==(ImPlotStylePtr left, ImPlotStylePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotStylePtr left, ImPlotStylePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotStylePtr left, ImPlotStyle* right) => left.Handle == right; + + public static bool operator !=(ImPlotStylePtr left, ImPlotStyle* right) => left.Handle != right; + + public bool Equals(ImPlotStylePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotStylePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotStylePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref float LineWeight => ref Unsafe.AsRef(&Handle->LineWeight); + /// + /// To be documented. + /// + public ref int Marker => ref Unsafe.AsRef(&Handle->Marker); + /// + /// To be documented. + /// + public ref float MarkerSize => ref Unsafe.AsRef(&Handle->MarkerSize); + /// + /// To be documented. + /// + public ref float MarkerWeight => ref Unsafe.AsRef(&Handle->MarkerWeight); + /// + /// To be documented. + /// + public ref float FillAlpha => ref Unsafe.AsRef(&Handle->FillAlpha); + /// + /// To be documented. + /// + public ref float ErrorBarSize => ref Unsafe.AsRef(&Handle->ErrorBarSize); + /// + /// To be documented. + /// + public ref float ErrorBarWeight => ref Unsafe.AsRef(&Handle->ErrorBarWeight); + /// + /// To be documented. + /// + public ref float DigitalBitHeight => ref Unsafe.AsRef(&Handle->DigitalBitHeight); + /// + /// To be documented. + /// + public ref float DigitalBitGap => ref Unsafe.AsRef(&Handle->DigitalBitGap); + /// + /// To be documented. + /// + public ref float PlotBorderSize => ref Unsafe.AsRef(&Handle->PlotBorderSize); + /// + /// To be documented. + /// + public ref float MinorAlpha => ref Unsafe.AsRef(&Handle->MinorAlpha); + /// + /// To be documented. + /// + public ref Vector2 MajorTickLen => ref Unsafe.AsRef(&Handle->MajorTickLen); + /// + /// To be documented. + /// + public ref Vector2 MinorTickLen => ref Unsafe.AsRef(&Handle->MinorTickLen); + /// + /// To be documented. + /// + public ref Vector2 MajorTickSize => ref Unsafe.AsRef(&Handle->MajorTickSize); + /// + /// To be documented. + /// + public ref Vector2 MinorTickSize => ref Unsafe.AsRef(&Handle->MinorTickSize); + /// + /// To be documented. + /// + public ref Vector2 MajorGridSize => ref Unsafe.AsRef(&Handle->MajorGridSize); + /// + /// To be documented. + /// + public ref Vector2 MinorGridSize => ref Unsafe.AsRef(&Handle->MinorGridSize); + /// + /// To be documented. + /// + public ref Vector2 PlotPadding => ref Unsafe.AsRef(&Handle->PlotPadding); + /// + /// To be documented. + /// + public ref Vector2 LabelPadding => ref Unsafe.AsRef(&Handle->LabelPadding); + /// + /// To be documented. + /// + public ref Vector2 LegendPadding => ref Unsafe.AsRef(&Handle->LegendPadding); + /// + /// To be documented. + /// + public ref Vector2 LegendInnerPadding => ref Unsafe.AsRef(&Handle->LegendInnerPadding); + /// + /// To be documented. + /// + public ref Vector2 LegendSpacing => ref Unsafe.AsRef(&Handle->LegendSpacing); + /// + /// To be documented. + /// + public ref Vector2 MousePosPadding => ref Unsafe.AsRef(&Handle->MousePosPadding); + /// + /// To be documented. + /// + public ref Vector2 AnnotationPadding => ref Unsafe.AsRef(&Handle->AnnotationPadding); + /// + /// To be documented. + /// + public ref Vector2 FitPadding => ref Unsafe.AsRef(&Handle->FitPadding); + /// + /// To be documented. + /// + public ref Vector2 PlotDefaultSize => ref Unsafe.AsRef(&Handle->PlotDefaultSize); + /// + /// To be documented. + /// + public ref Vector2 PlotMinSize => ref Unsafe.AsRef(&Handle->PlotMinSize); + /// + /// To be documented. + /// + public unsafe Span Colors + + { + get + { + return new Span(&Handle->Colors_0, 21); + } + } + /// + /// To be documented. + /// + public ref ImPlotColormap Colormap => ref Unsafe.AsRef(&Handle->Colormap); + /// + /// To be documented. + /// + public ref bool UseLocalTime => ref Unsafe.AsRef(&Handle->UseLocalTime); + /// + /// To be documented. + /// + public ref bool UseISO8601 => ref Unsafe.AsRef(&Handle->UseISO8601); + /// + /// To be documented. + /// + public ref bool Use24HourClock => ref Unsafe.AsRef(&Handle->Use24HourClock); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotSubplot.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotSubplot.cs new file mode 100644 index 000000000..ca1f5f772 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotSubplot.cs @@ -0,0 +1,331 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotSubplot + { + /// + /// To be documented. + /// + public uint ID; + + /// + /// To be documented. + /// + public ImPlotSubplotFlags Flags; + + /// + /// To be documented. + /// + public ImPlotSubplotFlags PreviousFlags; + + /// + /// To be documented. + /// + public ImPlotItemGroup Items; + + /// + /// To be documented. + /// + public int Rows; + + /// + /// To be documented. + /// + public int Cols; + + /// + /// To be documented. + /// + public int CurrentIdx; + + /// + /// To be documented. + /// + public ImRect FrameRect; + + /// + /// To be documented. + /// + public ImRect GridRect; + + /// + /// To be documented. + /// + public Vector2 CellSize; + + /// + /// To be documented. + /// + public ImVector RowAlignmentData; + + /// + /// To be documented. + /// + public ImVector ColAlignmentData; + + /// + /// To be documented. + /// + public ImVector RowRatios; + + /// + /// To be documented. + /// + public ImVector ColRatios; + + /// + /// To be documented. + /// + public ImVector RowLinkData; + + /// + /// To be documented. + /// + public ImVector ColLinkData; + + /// + /// To be documented. + /// + public float TempSizes_0; + public float TempSizes_1; + + /// + /// To be documented. + /// + public byte FrameHovered; + + /// + /// To be documented. + /// + public byte HasTitle; + + + /// + /// To be documented. + /// + public unsafe ImPlotSubplot(uint id = default, ImPlotSubplotFlags flags = default, ImPlotSubplotFlags previousFlags = default, ImPlotItemGroup items = default, int rows = default, int cols = default, int currentIdx = default, ImRect frameRect = default, ImRect gridRect = default, Vector2 cellSize = default, ImVector rowAlignmentData = default, ImVector colAlignmentData = default, ImVector rowRatios = default, ImVector colRatios = default, ImVector rowLinkData = default, ImVector colLinkData = default, float* tempSizes = default, bool frameHovered = default, bool hasTitle = default) + { + ID = id; + Flags = flags; + PreviousFlags = previousFlags; + Items = items; + Rows = rows; + Cols = cols; + CurrentIdx = currentIdx; + FrameRect = frameRect; + GridRect = gridRect; + CellSize = cellSize; + RowAlignmentData = rowAlignmentData; + ColAlignmentData = colAlignmentData; + RowRatios = rowRatios; + ColRatios = colRatios; + RowLinkData = rowLinkData; + ColLinkData = colLinkData; + if (tempSizes != default(float*)) + { + TempSizes_0 = tempSizes[0]; + TempSizes_1 = tempSizes[1]; + } + FrameHovered = frameHovered ? (byte)1 : (byte)0; + HasTitle = hasTitle ? (byte)1 : (byte)0; + } + + /// + /// To be documented. + /// + public unsafe ImPlotSubplot(uint id = default, ImPlotSubplotFlags flags = default, ImPlotSubplotFlags previousFlags = default, ImPlotItemGroup items = default, int rows = default, int cols = default, int currentIdx = default, ImRect frameRect = default, ImRect gridRect = default, Vector2 cellSize = default, ImVector rowAlignmentData = default, ImVector colAlignmentData = default, ImVector rowRatios = default, ImVector colRatios = default, ImVector rowLinkData = default, ImVector colLinkData = default, Span tempSizes = default, bool frameHovered = default, bool hasTitle = default) + { + ID = id; + Flags = flags; + PreviousFlags = previousFlags; + Items = items; + Rows = rows; + Cols = cols; + CurrentIdx = currentIdx; + FrameRect = frameRect; + GridRect = gridRect; + CellSize = cellSize; + RowAlignmentData = rowAlignmentData; + ColAlignmentData = colAlignmentData; + RowRatios = rowRatios; + ColRatios = colRatios; + RowLinkData = rowLinkData; + ColLinkData = colLinkData; + if (tempSizes != default(Span)) + { + TempSizes_0 = tempSizes[0]; + TempSizes_1 = tempSizes[1]; + } + FrameHovered = frameHovered ? (byte)1 : (byte)0; + HasTitle = hasTitle ? (byte)1 : (byte)0; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotSubplot* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotSubplotPtr : IEquatable + { + public ImPlotSubplotPtr(ImPlotSubplot* handle) { Handle = handle; } + + public ImPlotSubplot* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotSubplotPtr Null => new ImPlotSubplotPtr(null); + + public ImPlotSubplot this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotSubplotPtr(ImPlotSubplot* handle) => new ImPlotSubplotPtr(handle); + + public static implicit operator ImPlotSubplot*(ImPlotSubplotPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotSubplotPtr left, ImPlotSubplotPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotSubplotPtr left, ImPlotSubplotPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotSubplotPtr left, ImPlotSubplot* right) => left.Handle == right; + + public static bool operator !=(ImPlotSubplotPtr left, ImPlotSubplot* right) => left.Handle != right; + + public bool Equals(ImPlotSubplotPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotSubplotPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotSubplotPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + /// + /// To be documented. + /// + public ref ImPlotSubplotFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + /// + /// To be documented. + /// + public ref ImPlotSubplotFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); + /// + /// To be documented. + /// + public ref ImPlotItemGroup Items => ref Unsafe.AsRef(&Handle->Items); + /// + /// To be documented. + /// + public ref int Rows => ref Unsafe.AsRef(&Handle->Rows); + /// + /// To be documented. + /// + public ref int Cols => ref Unsafe.AsRef(&Handle->Cols); + /// + /// To be documented. + /// + public ref int CurrentIdx => ref Unsafe.AsRef(&Handle->CurrentIdx); + /// + /// To be documented. + /// + public ref ImRect FrameRect => ref Unsafe.AsRef(&Handle->FrameRect); + /// + /// To be documented. + /// + public ref ImRect GridRect => ref Unsafe.AsRef(&Handle->GridRect); + /// + /// To be documented. + /// + public ref Vector2 CellSize => ref Unsafe.AsRef(&Handle->CellSize); + /// + /// To be documented. + /// + public ref ImVector RowAlignmentData => ref Unsafe.AsRef>(&Handle->RowAlignmentData); + /// + /// To be documented. + /// + public ref ImVector ColAlignmentData => ref Unsafe.AsRef>(&Handle->ColAlignmentData); + /// + /// To be documented. + /// + public ref ImVector RowRatios => ref Unsafe.AsRef>(&Handle->RowRatios); + /// + /// To be documented. + /// + public ref ImVector ColRatios => ref Unsafe.AsRef>(&Handle->ColRatios); + /// + /// To be documented. + /// + public ref ImVector RowLinkData => ref Unsafe.AsRef>(&Handle->RowLinkData); + /// + /// To be documented. + /// + public ref ImVector ColLinkData => ref Unsafe.AsRef>(&Handle->ColLinkData); + /// + /// To be documented. + /// + public unsafe Span TempSizes + + { + get + { + return new Span(&Handle->TempSizes_0, 2); + } + } + /// + /// To be documented. + /// + public ref bool FrameHovered => ref Unsafe.AsRef(&Handle->FrameHovered); + /// + /// To be documented. + /// + public ref bool HasTitle => ref Unsafe.AsRef(&Handle->HasTitle); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTag.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTag.cs new file mode 100644 index 000000000..054426a2e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTag.cs @@ -0,0 +1,130 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotTag + { + /// + /// To be documented. + /// + public ImAxis Axis; + + /// + /// To be documented. + /// + public double Value; + + /// + /// To be documented. + /// + public uint ColorBg; + + /// + /// To be documented. + /// + public uint ColorFg; + + /// + /// To be documented. + /// + public int TextOffset; + + + /// + /// To be documented. + /// + public unsafe ImPlotTag(ImAxis axis = default, double value = default, uint colorBg = default, uint colorFg = default, int textOffset = default) + { + Axis = axis; + Value = value; + ColorBg = colorBg; + ColorFg = colorFg; + TextOffset = textOffset; + } + + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotTagPtr : IEquatable + { + public ImPlotTagPtr(ImPlotTag* handle) { Handle = handle; } + + public ImPlotTag* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotTagPtr Null => new ImPlotTagPtr(null); + + public ImPlotTag this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotTagPtr(ImPlotTag* handle) => new ImPlotTagPtr(handle); + + public static implicit operator ImPlotTag*(ImPlotTagPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotTagPtr left, ImPlotTagPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotTagPtr left, ImPlotTagPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotTagPtr left, ImPlotTag* right) => left.Handle == right; + + public static bool operator !=(ImPlotTagPtr left, ImPlotTag* right) => left.Handle != right; + + public bool Equals(ImPlotTagPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotTagPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotTagPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImAxis Axis => ref Unsafe.AsRef(&Handle->Axis); + /// + /// To be documented. + /// + public ref double Value => ref Unsafe.AsRef(&Handle->Value); + /// + /// To be documented. + /// + public ref uint ColorBg => ref Unsafe.AsRef(&Handle->ColorBg); + /// + /// To be documented. + /// + public ref uint ColorFg => ref Unsafe.AsRef(&Handle->ColorFg); + /// + /// To be documented. + /// + public ref int TextOffset => ref Unsafe.AsRef(&Handle->TextOffset); + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTagCollection.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTagCollection.cs new file mode 100644 index 000000000..0549fb9aa --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTagCollection.cs @@ -0,0 +1,450 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotTagCollection + { + /// + /// To be documented. + /// + public ImVector Tags; + + /// + /// To be documented. + /// + public ImGuiTextBuffer TextBuffer; + + /// + /// To be documented. + /// + public int Size; + + + /// + /// To be documented. + /// + public unsafe ImPlotTagCollection(ImVector tags = default, ImGuiTextBuffer textBuffer = default, int size = default) + { + Tags = tags; + TextBuffer = textBuffer; + Size = size; + } + + + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, byte* fmt) + { + fixed (ImPlotTagCollection* @this = &this) + { + ImPlot.AppendNative(@this, axis, value, bg, fg, fmt); + } + } + + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ref byte fmt) + { + fixed (ImPlotTagCollection* @this = &this) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendNative(@this, axis, value, bg, fg, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) + { + fixed (ImPlotTagCollection* @this = &this) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendNative(@this, axis, value, bg, fg, (byte*)pfmt); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, string fmt) + { + fixed (ImPlotTagCollection* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendNative(@this, axis, value, bg, fg, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) + { + fixed (ImPlotTagCollection* @this = &this) + { + ImPlot.AppendVNative(@this, axis, value, bg, fg, fmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) + { + fixed (ImPlotTagCollection* @this = &this) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendVNative(@this, axis, value, bg, fg, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) + { + fixed (ImPlotTagCollection* @this = &this) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendVNative(@this, axis, value, bg, fg, (byte*)pfmt, args); + } + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) + { + fixed (ImPlotTagCollection* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendVNative(@this, axis, value, bg, fg, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotTagCollection* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(int idx) + { + fixed (ImPlotTagCollection* @this = &this) + { + byte* ret = ImPlot.GetTextNative(@this, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(int idx) + { + fixed (ImPlotTagCollection* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, idx)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotTagCollection* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotTagCollectionPtr : IEquatable + { + public ImPlotTagCollectionPtr(ImPlotTagCollection* handle) { Handle = handle; } + + public ImPlotTagCollection* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotTagCollectionPtr Null => new ImPlotTagCollectionPtr(null); + + public ImPlotTagCollection this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotTagCollectionPtr(ImPlotTagCollection* handle) => new ImPlotTagCollectionPtr(handle); + + public static implicit operator ImPlotTagCollection*(ImPlotTagCollectionPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotTagCollectionPtr left, ImPlotTagCollectionPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotTagCollectionPtr left, ImPlotTagCollectionPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotTagCollectionPtr left, ImPlotTagCollection* right) => left.Handle == right; + + public static bool operator !=(ImPlotTagCollectionPtr left, ImPlotTagCollection* right) => left.Handle != right; + + public bool Equals(ImPlotTagCollectionPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotTagCollectionPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotTagCollectionPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Tags => ref Unsafe.AsRef>(&Handle->Tags); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); + /// + /// To be documented. + /// + public ref int Size => ref Unsafe.AsRef(&Handle->Size); + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, byte* fmt) + { + ImPlot.AppendNative(Handle, axis, value, bg, fg, fmt); + } + + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ref byte fmt) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendNative(Handle, axis, value, bg, fg, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendNative(Handle, axis, value, bg, fg, (byte*)pfmt); + } + } + + /// + /// To be documented. + /// + public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, string fmt) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendNative(Handle, axis, value, bg, fg, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) + { + ImPlot.AppendVNative(Handle, axis, value, bg, fg, fmt, args); + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) + { + fixed (byte* pfmt = &fmt) + { + ImPlot.AppendVNative(Handle, axis, value, bg, fg, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) + { + fixed (byte* pfmt = fmt) + { + ImPlot.AppendVNative(Handle, axis, value, bg, fg, (byte*)pfmt, args); + } + } + + /// + /// To be documented. + /// + public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (fmt != null) + { + pStrSize0 = Utils.GetByteCountUTF8(fmt); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlot.AppendVNative(Handle, axis, value, bg, fg, pStr0, args); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(int idx) + { + byte* ret = ImPlot.GetTextNative(Handle, idx); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(int idx) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, idx)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTick.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTick.cs new file mode 100644 index 000000000..f3cd6e92a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTick.cs @@ -0,0 +1,179 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotTick + { + /// + /// To be documented. + /// + public double PlotPos; + + /// + /// To be documented. + /// + public float PixelPos; + + /// + /// To be documented. + /// + public Vector2 LabelSize; + + /// + /// To be documented. + /// + public int TextOffset; + + /// + /// To be documented. + /// + public byte Major; + + /// + /// To be documented. + /// + public byte ShowLabel; + + /// + /// To be documented. + /// + public int Level; + + /// + /// To be documented. + /// + public int Idx; + + + /// + /// To be documented. + /// + public unsafe ImPlotTick(double plotPos = default, float pixelPos = default, Vector2 labelSize = default, int textOffset = default, bool major = default, bool showLabel = default, int level = default, int idx = default) + { + PlotPos = plotPos; + PixelPos = pixelPos; + LabelSize = labelSize; + TextOffset = textOffset; + Major = major ? (byte)1 : (byte)0; + ShowLabel = showLabel ? (byte)1 : (byte)0; + Level = level; + Idx = idx; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotTick* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotTickPtr : IEquatable + { + public ImPlotTickPtr(ImPlotTick* handle) { Handle = handle; } + + public ImPlotTick* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotTickPtr Null => new ImPlotTickPtr(null); + + public ImPlotTick this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotTickPtr(ImPlotTick* handle) => new ImPlotTickPtr(handle); + + public static implicit operator ImPlotTick*(ImPlotTickPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotTickPtr left, ImPlotTickPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotTickPtr left, ImPlotTickPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotTickPtr left, ImPlotTick* right) => left.Handle == right; + + public static bool operator !=(ImPlotTickPtr left, ImPlotTick* right) => left.Handle != right; + + public bool Equals(ImPlotTickPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotTickPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotTickPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref double PlotPos => ref Unsafe.AsRef(&Handle->PlotPos); + /// + /// To be documented. + /// + public ref float PixelPos => ref Unsafe.AsRef(&Handle->PixelPos); + /// + /// To be documented. + /// + public ref Vector2 LabelSize => ref Unsafe.AsRef(&Handle->LabelSize); + /// + /// To be documented. + /// + public ref int TextOffset => ref Unsafe.AsRef(&Handle->TextOffset); + /// + /// To be documented. + /// + public ref bool Major => ref Unsafe.AsRef(&Handle->Major); + /// + /// To be documented. + /// + public ref bool ShowLabel => ref Unsafe.AsRef(&Handle->ShowLabel); + /// + /// To be documented. + /// + public ref int Level => ref Unsafe.AsRef(&Handle->Level); + /// + /// To be documented. + /// + public ref int Idx => ref Unsafe.AsRef(&Handle->Idx); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTicker.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTicker.cs new file mode 100644 index 000000000..b213a57a7 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTicker.cs @@ -0,0 +1,472 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotTicker + { + /// + /// To be documented. + /// + public ImVector Ticks; + + /// + /// To be documented. + /// + public ImGuiTextBuffer TextBuffer; + + /// + /// To be documented. + /// + public Vector2 MaxSize; + + /// + /// To be documented. + /// + public Vector2 LateSize; + + /// + /// To be documented. + /// + public int Levels; + + + /// + /// To be documented. + /// + public unsafe ImPlotTicker(ImVector ticks = default, ImGuiTextBuffer textBuffer = default, Vector2 maxSize = default, Vector2 lateSize = default, int levels = default) + { + Ticks = ticks; + TextBuffer = textBuffer; + MaxSize = maxSize; + LateSize = lateSize; + Levels = levels; + } + + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, byte* label) + { + fixed (ImPlotTicker* @this = &this) + { + ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ref byte label) + { + fixed (ImPlotTicker* @this = &this) + { + fixed (byte* plabel = &label) + { + ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ReadOnlySpan label) + { + fixed (ImPlotTicker* @this = &this) + { + fixed (byte* plabel = label) + { + ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, string label) + { + fixed (ImPlotTicker* @this = &this) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) + { + fixed (ImPlotTicker* @this = &this) + { + ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(ImPlotTick tick) + { + fixed (ImPlotTicker* @this = &this) + { + ImPlotTick* ret = ImPlot.AddTickNative(@this, tick); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotTicker* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(int idx) + { + fixed (ImPlotTicker* @this = &this) + { + byte* ret = ImPlot.GetTextNative(@this, idx); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(int idx) + { + fixed (ImPlotTicker* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, idx)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(ImPlotTick tick) + { + fixed (ImPlotTicker* @this = &this) + { + byte* ret = ImPlot.GetTextNative(@this, tick); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(ImPlotTick tick) + { + fixed (ImPlotTicker* @this = &this) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, tick)); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe void OverrideSizeLate(Vector2 size) + { + fixed (ImPlotTicker* @this = &this) + { + ImPlot.OverrideSizeLateNative(@this, size); + } + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + fixed (ImPlotTicker* @this = &this) + { + ImPlot.ResetNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe int TickCount() + { + fixed (ImPlotTicker* @this = &this) + { + int ret = ImPlot.TickCountNative(@this); + return ret; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotTickerPtr : IEquatable + { + public ImPlotTickerPtr(ImPlotTicker* handle) { Handle = handle; } + + public ImPlotTicker* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotTickerPtr Null => new ImPlotTickerPtr(null); + + public ImPlotTicker this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotTickerPtr(ImPlotTicker* handle) => new ImPlotTickerPtr(handle); + + public static implicit operator ImPlotTicker*(ImPlotTickerPtr handle) => handle.Handle; + + public static bool operator ==(ImPlotTickerPtr left, ImPlotTickerPtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotTickerPtr left, ImPlotTickerPtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotTickerPtr left, ImPlotTicker* right) => left.Handle == right; + + public static bool operator !=(ImPlotTickerPtr left, ImPlotTicker* right) => left.Handle != right; + + public bool Equals(ImPlotTickerPtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotTickerPtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotTickerPtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref ImVector Ticks => ref Unsafe.AsRef>(&Handle->Ticks); + /// + /// To be documented. + /// + public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); + /// + /// To be documented. + /// + public ref Vector2 MaxSize => ref Unsafe.AsRef(&Handle->MaxSize); + /// + /// To be documented. + /// + public ref Vector2 LateSize => ref Unsafe.AsRef(&Handle->LateSize); + /// + /// To be documented. + /// + public ref int Levels => ref Unsafe.AsRef(&Handle->Levels); + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, byte* label) + { + ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ref byte label) + { + fixed (byte* plabel = &label) + { + ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ReadOnlySpan label) + { + fixed (byte* plabel = label) + { + ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); + return ret; + } + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, string label) + { + byte* pStr0 = null; + int pStrSize0 = 0; + if (label != null) + { + pStrSize0 = Utils.GetByteCountUTF8(label); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + pStr0 = Utils.Alloc(pStrSize0 + 1); + } + else + { + byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; + pStr0 = pStrStack0; + } + int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); + pStr0[pStrOffset0] = 0; + } + ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); + if (pStrSize0 >= Utils.MaxStackallocSize) + { + Utils.Free(pStr0); + } + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) + { + ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); + return ret; + } + + /// + /// To be documented. + /// + public unsafe ImPlotTick* AddTick(ImPlotTick tick) + { + ImPlotTick* ret = ImPlot.AddTickNative(Handle, tick); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(int idx) + { + byte* ret = ImPlot.GetTextNative(Handle, idx); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(int idx) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, idx)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe byte* GetText(ImPlotTick tick) + { + byte* ret = ImPlot.GetTextNative(Handle, tick); + return ret; + } + + /// + /// To be documented. + /// + public unsafe string GetTextS(ImPlotTick tick) + { + string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, tick)); + return ret; + } + + /// + /// To be documented. + /// + public unsafe void OverrideSizeLate(Vector2 size) + { + ImPlot.OverrideSizeLateNative(Handle, size); + } + + /// + /// To be documented. + /// + public unsafe void Reset() + { + ImPlot.ResetNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe int TickCount() + { + int ret = ImPlot.TickCountNative(Handle); + return ret; + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTime.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTime.cs new file mode 100644 index 000000000..a9881cfaf --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPlotTime.cs @@ -0,0 +1,178 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPlotTime + { + /// + /// To be documented. + /// + public long S; + + /// + /// To be documented. + /// + public int Us; + + + /// + /// To be documented. + /// + public unsafe ImPlotTime(long s = default, int us = default) + { + S = s; + Us = us; + } + + + /// + /// To be documented. + /// + public unsafe void Destroy() + { + fixed (ImPlotTime* @this = &this) + { + ImPlot.DestroyNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe void FromDouble(double t) + { + fixed (ImPlotTime* @this = &this) + { + ImPlot.FromDoubleNative(@this, t); + } + } + + /// + /// To be documented. + /// + public unsafe void RollOver() + { + fixed (ImPlotTime* @this = &this) + { + ImPlot.RollOverNative(@this); + } + } + + /// + /// To be documented. + /// + public unsafe double ToDouble() + { + fixed (ImPlotTime* @this = &this) + { + double ret = ImPlot.ToDoubleNative(@this); + return ret; + } + } + + } + + /// + /// To be documented. + /// + #if NET5_0_OR_GREATER + [DebuggerDisplay("{DebuggerDisplay,nq}")] + #endif + public unsafe struct ImPlotTimePtr : IEquatable + { + public ImPlotTimePtr(ImPlotTime* handle) { Handle = handle; } + + public ImPlotTime* Handle; + + public bool IsNull => Handle == null; + + public static ImPlotTimePtr Null => new ImPlotTimePtr(null); + + public ImPlotTime this[int index] { get => Handle[index]; set => Handle[index] = value; } + + public static implicit operator ImPlotTimePtr(ImPlotTime* handle) => new ImPlotTimePtr(handle); + + public static implicit operator ImPlotTime*(ImPlotTimePtr handle) => handle.Handle; + + public static bool operator ==(ImPlotTimePtr left, ImPlotTimePtr right) => left.Handle == right.Handle; + + public static bool operator !=(ImPlotTimePtr left, ImPlotTimePtr right) => left.Handle != right.Handle; + + public static bool operator ==(ImPlotTimePtr left, ImPlotTime* right) => left.Handle == right; + + public static bool operator !=(ImPlotTimePtr left, ImPlotTime* right) => left.Handle != right; + + public bool Equals(ImPlotTimePtr other) => Handle == other.Handle; + + /// + public override bool Equals(object obj) => obj is ImPlotTimePtr handle && Equals(handle); + + /// + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + #if NET5_0_OR_GREATER + private string DebuggerDisplay => string.Format("ImPlotTimePtr [0x{0}]", ((nuint)Handle).ToString("X")); + #endif + /// + /// To be documented. + /// + public ref long S => ref Unsafe.AsRef(&Handle->S); + /// + /// To be documented. + /// + public ref int Us => ref Unsafe.AsRef(&Handle->Us); + /// + /// To be documented. + /// + public unsafe void Destroy() + { + ImPlot.DestroyNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe void FromDouble(double t) + { + ImPlot.FromDoubleNative(Handle, t); + } + + /// + /// To be documented. + /// + public unsafe void RollOver() + { + ImPlot.RollOverNative(Handle); + } + + /// + /// To be documented. + /// + public unsafe double ToDouble() + { + double ret = ImPlot.ToDoubleNative(Handle); + return ret; + } + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotAlignmentData.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotAlignmentData.cs new file mode 100644 index 000000000..5e09b179a --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotAlignmentData.cs @@ -0,0 +1,61 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImPlotAlignmentData + { + /// + /// To be documented. + /// + public ImVector Buf; + + /// + /// To be documented. + /// + public ImGuiStorage Map; + + /// + /// To be documented. + /// + public int FreeIdx; + + /// + /// To be documented. + /// + public int AliveCount; + + + /// + /// To be documented. + /// + public unsafe ImPoolImPlotAlignmentData(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotItem.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotItem.cs new file mode 100644 index 000000000..a48825a0e --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotItem.cs @@ -0,0 +1,61 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImPlotItem + { + /// + /// To be documented. + /// + public ImVector Buf; + + /// + /// To be documented. + /// + public ImGuiStorage Map; + + /// + /// To be documented. + /// + public int FreeIdx; + + /// + /// To be documented. + /// + public int AliveCount; + + + /// + /// To be documented. + /// + public unsafe ImPoolImPlotItem(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotPlot.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotPlot.cs new file mode 100644 index 000000000..417266e20 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotPlot.cs @@ -0,0 +1,61 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImPlotPlot + { + /// + /// To be documented. + /// + public ImVector Buf; + + /// + /// To be documented. + /// + public ImGuiStorage Map; + + /// + /// To be documented. + /// + public int FreeIdx; + + /// + /// To be documented. + /// + public int AliveCount; + + + /// + /// To be documented. + /// + public unsafe ImPoolImPlotPlot(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + + + } + +} diff --git a/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotSubplot.cs b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotSubplot.cs new file mode 100644 index 000000000..5fecfa8a7 --- /dev/null +++ b/imgui/Dalamud.ImPlot/Generated/Structs/ImPoolImPlotSubplot.cs @@ -0,0 +1,61 @@ +// ------------------------------------------------------------------------------ +// +// 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.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using HexaGen.Runtime; +using System.Numerics; +using Dalamud.Bindings.ImGui; + +namespace Dalamud.Bindings.ImPlot +{ + /// + /// To be documented. + /// + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImPlotSubplot + { + /// + /// To be documented. + /// + public ImVector Buf; + + /// + /// To be documented. + /// + public ImGuiStorage Map; + + /// + /// To be documented. + /// + public int FreeIdx; + + /// + /// To be documented. + /// + public int AliveCount; + + + /// + /// To be documented. + /// + public unsafe ImPoolImPlotSubplot(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + + + } + +}